dbrgn / orochi

Orochi is an interactive command line client for 8tracks.com.
GNU General Public License v3.0
86 stars 17 forks source link

Some time mplayer fails #44

Closed agherzan closed 2 years ago

agherzan commented 10 years ago

Using Fedora 18 with master orochi.

Here is the log:

Skipping track... Traceback (most recent call last): File "/bin/orochi", line 9, in load_entry_point('orochi==0.0.1', 'console_scripts', 'orochi')() File "/usr/lib/python2.7/site-packages/orochi-0.0.1-py2.7.egg/orochi/client.py", line 733, in main client.cmdloop() File "/usr/lib/python2.7/site-packages/orochi-0.0.1-py2.7.egg/orochi/client.py", line 168, in cmdloop super(Client, self).cmdloop() File "/usr/lib64/python2.7/cmd.py", line 142, in cmdloop stop = self.onecmd(line) File "/usr/lib64/python2.7/cmd.py", line 221, in onecmd return func(arg) File "/usr/lib/python2.7/site-packages/orochi-0.0.1-py2.7.egg/orochi/client.py", line 363, in do_play i.cmdloop() File "/usr/lib/python2.7/site-packages/orochi-0.0.1-py2.7.egg/orochi/client.py", line 494, in cmdloop super(PlayCommand, self).cmdloop() File "/usr/lib64/python2.7/cmd.py", line 142, in cmdloop stop = self.onecmd(line) File "/usr/lib64/python2.7/cmd.py", line 221, in onecmd return func(arg) File "/usr/lib/python2.7/site-packages/orochi-0.0.1-py2.7.egg/orochi/client.py", line 683, in do_n self.do_next_song(_args, _kwargs) File "/usr/lib/python2.7/site-packages/orochi-0.0.1-py2.7.egg/orochi/client.py", line 569, in do_next_song self.p.load(self.status['track']['url']) File "/usr/lib/python2.7/site-packages/orochi-0.0.1-py2.7.egg/orochi/player.py", line 139, in load self._send_command('loadfile {}', path) File "/usr/lib/python2.7/site-packages/orochi-0.0.1-py2.7.egg/orochi/player.py", line 113, in _send_command self.p.write(command.format(safe_args) + '\n') File "/usr/lib/python2.7/site-packages/orochi-0.0.1-py2.7.egg/orochi/player.py", line 27, in getattr raise TerminatedError('MPlayer has been terminated and cannot be used anymore.') orochi.errors.TerminatedError: MPlayer has been terminated and cannot be used anymore.

dbrgn commented 10 years ago

Hi, thanks for the report. Does this occur often?

Maybe we should have some debug log for mplayer.

agherzan commented 10 years ago

Yes. It occurs annoyingly often - about 10-15 minutes of running 8track client and after crash 8track is not usable anymore - so I have to switch to web interface until the next day... (cause I can't reboot).

Where can I see mplayer log?

dbrgn commented 10 years ago

That sucks. What mplayer version are you using?

Where can I see mplayer log?

Right now there is none, as far as I know. I'd have to add some logging mechanism in the Orochi code.

In any case, I plan to replace mplayer with mpd in the future anyways. That'll probably work better.

agherzan commented 10 years ago

MPlayer SVN-r35234-4.7.2 (C) 2000-2012 MPlayer Team +1 for mpd

dbrgn commented 10 years ago

I'm on MPlayer SVN-r36498-snapshot-4.8.2. It shouldn't be a big difference though.

Right now I don't have much time for a rewrite, but maybe in 2-3 weeks.

agherzan commented 10 years ago

Ok. Have fun! Thanks for feedback.

agherzan commented 2 years ago

It looks like an old issue - most probably outdated. Closing for now.