Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running pi-yt fails #32

Open
valkiril opened this issue Dec 28, 2013 · 5 comments
Open

Running pi-yt fails #32

valkiril opened this issue Dec 28, 2013 · 5 comments
Assignees

Comments

@valkiril
Copy link

@valkiril valkiril commented Dec 28, 2013

I installed yt on my raspberry pi. When I try to run pi-yt I get:

pi@raspberrypi ~ $ pi-yt
Traceback (most recent call last):
File "/usr/local/bin/pi-yt", line 9, in
load_entry_point('whitey==0.4', 'console_scripts', 'pi-yt')()
File "/usr/local/lib/python2.7/dist-packages/whitey-0.4-py2.7.egg/yt/init.py", line 46, in main_with_omxplayer
ui = Ui(OMXPLAYER_MODE)
File "/usr/local/lib/python2.7/dist-packages/whitey-0.4-py2.7.egg/yt/init.py", line 83, in init
self._player = args.player
AttributeError: 'str' object has no attribute 'player'

Current version of youtube-dl:

pi@raspberrypi ~ $ youtube-dl -U
youtube-dl is up-to-date (2013.12.26)

Python is:

pi@raspberrypi ~ $ python --version
Python 2.7.3

Omxplayer is:

pi@raspberrypi ~ $ omxplayer --version
omxplayer - Commandline multimedia player for the Raspberry Pi
Build date: Mon, 16 Dec 2013 22:06:42 +0100
Version : b34143c [master]
Repository: https://github.com/popcornmix/omxplayer.git

@picketta
Copy link

@picketta picketta commented Jan 2, 2014

Same issue on Raspbian Jessie. Downgrading to 0.3 resolved.

@hyperreal-info
Copy link

@hyperreal-info hyperreal-info commented Feb 15, 2014

0.3.3git20131216b34 on wheezy of raspbian also does not work with the same error

@rjw57 rjw57 self-assigned this Feb 17, 2014
@mvmn
Copy link

@mvmn mvmn commented Jun 26, 2014

Any progress?

@rjw57
Copy link
Owner

@rjw57 rjw57 commented Jun 27, 2014

I'm afraid I'm snowed under with work to have time to get the Pi out to debug this. I'm happy to accept pull requests though.

@mvmn
Copy link

@mvmn mvmn commented Jun 27, 2014

Ok. BTW, I can suggest a workaround that worked for me on Raspberry Pi: don't run pi-yt, run yt instead but specify --player parameter with value "omxplayer" (be sure to install omxplayer first).
I.e. "yt --player omxplayer" makes it work ok on Pi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.