Active Topics

 



Notices


Reply
Thread Tools
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#751
Well that sucks.. I don't see the python gstreamer libraries.

Guess we'll have to do mplayer.. gimme a second to re-upload it.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#752
ok it's up. Same URL as before.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#753
Okay, the new one installs and runs. Trying to bring up a stream now...
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#754
Still no audio. Terminal shows:

$ /opt/pyRadio/pyRadio.py
Using the meego graphics system
loaded the Generic plugin
loaded the grue plugin
Loaded the MeeGo sensor plugin
Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"
?
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
could not autorotate on PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out"
hijackWindow() context created for Panda(0x624798, name = "pyRadio") 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x743298)
Radio Started.
Warsaw (Renaissance Edit) by Hernan Cattaneo
Faster Kill *****cat by Paul Oakenfold
Seven Cities by Solar Stone
Chateau by Rob Dougan
Getting next song..
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 272, in <lambda>
self.stimer.singleShot(100, lambda: self.player.play(self.song[0], self.song))
File "/opt/pyRadio/radioplayer.py", line 93, in play
self.player.load_audio(url)
File "/opt/pyRadio/libpiano/AbstractBackend.py", line 278, in load_audio
return self.__load(uri)
File "/opt/pyRadio/libpiano/AbstractBackend.py", line 308, in __load
self._ensure_backend()
File "/opt/pyRadio/libpiano/MPlayerBackend.py", line 161, in _ensure_backend
if (self._get_mode() != self.__current_mode):
AttributeError: 'MPlayerBackend' object has no attribute '_get_mode'
hijackWindow() context created for QComboBoxPrivateContainer(0x67cb28) 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x8334f8)
QNetworkReplyImpl::_q_startOperation was called more than once
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#755
Is this the poison pill?

"AttributeError: 'MPlayerBackend' object has no attribute '_get_mode'"
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#756
ok please tell me output of

which mplayer
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#757
~ $ which mplayer
/usr/bin/mplayer
~ $
~ $
~ $ mplayer
Creating config file: /home/user/.mplayer/config
MPlayer UNKNOWN-4.4.1 (C) 2000-2011 MPlayer Team
Usage: mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo <drv> select video output driver ('-vo help' for a list)
-ao <drv> select audio output driver ('-ao help' for a list)
-alang/-slang select DVD audio/subtitle language (by 2-char country code)
-ss <position> seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y> set display resolution (for use with -vm or -zoom)
-sub <file> specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp <quality> enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
down or up seek backward/forward 1 minute
pgdown or pgup seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program
+ or - adjust audio delay by +/- 0.1 second
o cycle OSD mode: none / seekbar / seekbar + timer
* or / increase or decrease PCM volume
x or z adjust subtitle delay by +/- 0.1 second
r or t adjust subtitle position up/down, also see -vf expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#758
Just played a sample .avi and .mp3 set of files from the command line with mplayer and they played fine.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#759
well that sucks. For some reason the mplayer backend doesnt work with your mplayer for some reason. so the problem with the gstreamer backend is theres no python/gstreamer bindings and I dont know the problem with mplayer.

our best bet then is to find the gst bindings. if you search the fremantle packages there is a python-gst0.10 package that you could try installing and using the gstreamer package. I will go through the code rsv had in 3.6 and see if I can use his backend for this.

Thanks for ur help so far. Using rsv's will take be a bit.. Im not home right now. Do you still have the gstreamer package to try and get the python-gst package from maemo?
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#760
Originally Posted by fatalsaint View Post
well that sucks. Do you still have the gstreamer package to try and get the python-gst package from maemo?
Yep. I'll replace the Mplayer .deb with the Gstreamer one and try and hunt down that fremantle python-gst0.10 package.
 
Reply

Tags
bad tags, good tags, pyradio


 
Forum Jump


All times are GMT. The time now is 23:21.