Release YouTube Navigator: Juhutube


devzero

Still Fresh
Joined
Dec 9, 2011
Messages
12
This is the first release of Juhutube for the Open Pandora. This is a YouTube navigator which allows to play videos.

It is intended that you login with  your YouTube account. The search function will also work without login. You can enter text in the search field, but no space (use + instead). + means AND. : means OR. - means NOT.

The select button will add the current playlist to the main menu.

The following video and picture are taken from the release for the PS2. The pandora is much faster than the PS2. The buttons have the same function, but have a different name on the pandora.

https://www.youtube.com/embed/H1AZRsIZvtM?feature=oembed

0e13e3f6-2f67-11e4-86d5-c396299a192e.png


https://github.com/jur/juhutube/releases/v4
 
Last edited by a moderator:
This Software look realy nice for me ^_^

Unfortunaly i did not get it to work here:

1 GHZ Pandora ,used a Wlan Dongle,tried it with activated TV Out,without TV Out,with my Dev SD Card and on the Pandora OS from Nand too.

Same Errors:

Video seem to start and break because it get no Data:

https://www.youtube.com/embed/io7o3tzJBB4?feature=oembed

Have you a Hint for it?

Login with my Youtube Account did not work too :huh:

Edit :

Maybe an Idea ist to set the Tempfile not to /tmp/ (which is here in the NAND)

Best is the Appdata Directory from the SD Card.
 
Last edited by a moderator:
Yeah, it's writing things to /home/[user] you've got to watch for. A 'mount' command will confirm whether tmp is tmpfs or not, but from my recollection I think it is. It usually is.
 
Unfortunaly i did not get it to work here:

Have you a Hint for it?

Login with my Youtube Account did not work too :huh:

Edit :

Maybe an Idea ist to set the Tempfile not to /tmp/ (which is here in the NAND)

Best is the Appdata Directory from the SD Card.
When you select login, it displays a code which needs to be entered in a webbrowser at http://www.google.com/device. You must not terminate Juhutube. It polls a website and will automatically continue when you entered the code in the webbrowser and enabled access. Basically it was designed for systems which don't have full featured webbrowser. So normally you would use your PC to enter the code and not the pandora.

The error happens for some videos. On PS2 I had the problems with curl until I replaced it by wget. In the past I also had this problem when the server used IPv6.

If you want to try something else you can change the script to use curl. You need to copy the file https://github.com/jur/juhutube/blob/master/samples/navigator/youtubeplayer.shat /pandora/appdata/juhutube/bin/youtubeplayer.sh (on the SD card) and set the executable flag. EDIT: It is important that you replace ash by bash in the first line. This is needed for the pandora.

You can change line 31 to:

USE_WGET=0

You can also add the following line at the start of the file to see what is really happening:

set -x

I didn't thought about the /tmp NAND problem. This can also be changed in this script. I will check whether /tmp is tmpfs.
 
Last edited by a moderator:
Curl is not easy to use on Pandora. I think you have to compile and package your own libcurl (or the one from codeblocks pnd) as the one on the nand is not working well. I had same problems with some other apps.
 
I updated the program:

https://github.com/jur/juhutube/releases/tag/v5

I updated the script youtube-dl. The program has now a menu entry for updating the script. The script is responsible for getting the URL which is needed for playing the video. It is maintained by someone else. When you have problems loading a video, you should try updating the script.

The new version uses now mp4 640x360 as default instead of flv 400x240. This has a higher quality, but there can be problems with the bandwidth (depending on your WLAN connection). You can change it back to by setting VIDEOFORMAT back to 5 in /pandora/appdata/juhutube/juhutube-cfg.txt on your SD card.
 
Back
Top