maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   MediaBox Media Center 0.96 with UPnP and more (https://talk.maemo.org/showthread.php?t=25862)

pycage 2010-06-14 15:00

Re: MediaBox Media Center 0.96 with UPnP and more
 
Quote:

Originally Posted by VulcanRidr (Post 714251)
One question. Can you still star media like you could in the previous version? I haven't run across it yet, and it was pretty handy in my case, because I listen on my commute, and generally would get to work or home in the middle of a track.

Not yet. But it's all slowly coming back. :)

pycage 2010-06-14 15:04

Re: MediaBox Media Center 0.96 with UPnP and more
 
Quote:

Originally Posted by slickyv (Post 714301)
Where do I download the newest version?

It's not released yet. I just uploaded an intermediate version to Diablo extras-devel for N800 and N810 this weekend to see if the packaging was accepted. But it will come soon.

Tigerite 2010-06-14 15:11

Re: MediaBox Media Center 0.96 with UPnP and more
 
I tried to compile the latest version myself on device and install it to my N900 - unfortunately all I get is a blank screen and then it crashes back to the desktop. I uninstalled it again and went back to the extras-devel version 2010-05-08, but that's now doing the same. Help?

I can go into /opt/mediabox and run the app via python MediaBox.py directly, which works and does not crash, but only as user, not root - the latter results in dbus errors as below:

Code:

Traceback (most recent call last):
  File "MediaBox.py", line 4, in <module>
    from com import Container
  File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 15, in <module>

  File "/home/builder1/maemo-fremantle-armel-extras-devel/work/mediabox-2010.05.08/debian/mediabox/opt/mediabox/com/Configurator.py", line 5, in <module>
  File "/usr/lib/python2.5/lib-tk/Dialog.py", line 7, in <module>
    DIALOG_ICON = 'warning'
  File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 2, in <module>
    # The Python Imaging Library.
  File "/home/builder1/maemo-fremantle-armel-extras-devel/work/mediabox-2010.05.08/debian/mediabox/opt/mediabox/ui/Window.py", line 4, in <module>
  File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 47, in <module>

  File "/home/builder1/maemo-fremantle-armel-extras-devel/work/mediabox-2010.05.08/debian/mediabox/opt/mediabox/platforms/maemo5.py", line 1, in <module>
  File "/home/builder1/maemo-fremantle-armel-extras-devel/work/mediabox-2010.05.08/debian/mediabox/opt/mediabox/platforms/maemo4.py", line 150, in <module>
  File "/usr/lib/pymodules/python2.5/dbus/_dbus.py", line 219, in __new__
    mainloop=mainloop)
  File "/usr/lib/pymodules/python2.5/dbus/_dbus.py", line 108, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/pymodules/python2.5/dbus/bus.py", line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException


pycage 2010-06-14 19:32

Re: MediaBox Media Center 0.96 with UPnP and more
 
You shouldn't run it as root.
Can you give some more details about what went wrong?

nax3000 2010-06-15 04:08

Re: MediaBox Media Center 0.96 with UPnP and more
 
Quote:

Originally Posted by pycage (Post 714619)
It's not released yet. I just uploaded an intermediate version to Diablo extras-devel for N800 and N810 this weekend to see if the packaging was accepted. But it will come soon.

Oh man, with my N900 OC'd to 850mhz and the new version of mediabox my N900 EATS any other phone on the market right now!
________
C-Series

Tigerite 2010-06-15 08:15

Re: MediaBox Media Center 0.96 with UPnP and more
 
Quote:

Originally Posted by pycage (Post 714988)
You shouldn't run it as root.
Can you give some more details about what went wrong?

I downloaded the latest source via SVN, uploaded it to my N900, chrooted to my SDK environment on it and attempted to build it. I couldn't get make-deb.sh to run all the way through, but was able to run dpkg-buildpackage -nc afterwards, which got me a .deb file. I tried to then install this outside of the SDK - that worked but there was nothing in the folders within /opt/mediabox and so it wouldn't run. So I then uninstalled mediabox and reinstalled the older version, which runs from the terminal via python MediaBox.py (as user but not as root), but not from the shortcut any more - is there any way to get the errors that it returns, as it just goes back to the desktop after "thinking" for a few seconds?

Tigerite 2010-06-15 09:23

Re: MediaBox Media Center 0.96 with UPnP and more
 
I managed to compile and install the latest version properly. I had to:

1) install rsync
2) run make-deb.sh (fakeroot seg faults on the last line, leading to...)
3) manually run dpkg-buildpackage -tc within /tmp/make-deb/mediabox

All of the above were done within the SDK environment, and gave me a .tar.gz, .dsc and .deb file. Finally, on the N900 proper..

1) use dpkg to install the .deb
2) untar the source package into /opt/mediabox

I'm sure there's a better way but at least it's working now ;-)

daperezg 2010-06-15 15:05

Re: MediaBox Media Center 0.96 with UPnP and more
 
In "Settings,Player backends" I only can select OSSO Mediaserver or Mplayer, i check both with mp3 files and the problem still the same.

is possible to install gstreamer or Mafw in OS2008?



Quote:

Originally Posted by pycage (Post 713621)
Which player backend (oms, mplayer, GStreamer, Mafw) and which file format produces this problem?
I have noticed that the mplayer backend on Diablo has this problem when playing FLAC. Ogg OTOH seems fine. FLAC position reading is broken in the Diablo version of mplayer, btw, and MediaBox computes and applies a correction factor.


pycage 2010-06-15 15:25

Re: MediaBox Media Center 0.96 with UPnP and more
 
Quote:

Originally Posted by Tigerite (Post 715863)
I managed to compile and install the latest version properly. I had to:

1) install rsync
2) run make-deb.sh (fakeroot seg faults on the last line, leading to...)
3) manually run dpkg-buildpackage -tc within /tmp/make-deb/mediabox

All of the above were done within the SDK environment, and gave me a .tar.gz, .dsc and .deb file. Finally, on the N900 proper..

1) use dpkg to install the .deb
2) untar the source package into /opt/mediabox

I'm sure there's a better way but at least it's working now ;-)

Actually running make-deb.sh in scratchbox armel target with rsync installed should be sufficient to build a complete deb. At least this is what I use to build the deb files for testing on the device.

Tigerite 2010-06-15 15:28

Re: MediaBox Media Center 0.96 with UPnP and more
 
I'm not using the scratchbox but instead an environment from the "developing on-device" thread - I know I should really use scratchbox but it's not always convenient :) I'm sure the py files should be packaged with the .deb but it just doesn't seem to be happening; I must be missing something. Very odd.


All times are GMT. The time now is 12:11.

vBulletin® Version 3.8.8