draw a progress bar while playing a song#45
Conversation
|
Thanks! Pretty neat! I can't get this branch to play nicely with mpv. I realise the regex's need to be different for capturing the mpv output, but the issue is that when mpv is called it doesn't receive the keyboard input ( Another issue is that it doesn't work in Python3. When playing an item I get: I tried messing with str and encode/decode but couldn't get it to work. Having said that, I really appreciate these changes and want to include them in the main branch but at the moment they only work with Python 2 and mplayer. Not sure it works on Windows, I haven't tested it, I assume it does since you submitted it! Neither of the problems mentioned above are specific to this pull request. |
see #46 |
|
Cool that works, thank you 👍 |
I can't get mpv working on my Windows system, nor can I succeed to compile or install it on my Ubuntu Quantal vm. Could give me an example of output from mpv so I can rework a regex ? |
|
Sure: and for video: |
|
It looks like mpv is sending the progress time data to stderr, that could be the reason I was having the issues I mentioned earlier. |
|
See #47 for mpv support |
example output: