CalumJEadie
Posts: 15
Joined: Thu Oct 18, 2012 10:51 pm
Contact: Website

Updated documentation for YouTube clients

Sun Mar 17, 2013 11:18 am

I've updated the documentation for yt and raspytube to make it easier for people to install and run them. Check out the updated documentation at:

yt documentation - https://github.com/CalumJEadie/yt/blob/ ... README.rst

raspytube documentation - https://github.com/CalumJEadie/raspytub ... /README.md

The changes are currently in pull requests but hopefully we'll see those updates in the respective repositories soon.

In general I'd suggest directing anyone on the forum with problems to the documentation of the original repositories. Keeping the advice centralised should help keep it up to date and make it easier for people new to the software to find help. I'm sure the developers would be very happy for others to contribute documentation!

raspytube - https://github.com/bbond007/raspytube

yt - https://github.com/rjw57/yt

krstn
Posts: 2
Joined: Mon Mar 18, 2013 2:42 pm

Re: Updated documentation for YouTube clients

Mon Mar 18, 2013 2:46 pm

Hello!

im really looking forward to test this on my raspberry.

does anyone know if it would be possible to make a youtube "radio" out of this, for do playlist.
and maybe with a function like the spotify radio, which plays songs that are similiar to them you like and doesnt play songs which are similiar to them you dont like.

greets

CalumJEadie
Posts: 15
Joined: Thu Oct 18, 2012 10:51 pm
Contact: Website

Re: Updated documentation for YouTube clients

Tue Mar 19, 2013 1:51 pm

You could definitely do something like that. I'm working on an educational programming language for the Pi that allows you to write scripts to mash up youtube videos and a smart music player is one of my motivating applications. The language I've created is visual and translates into Python code that calls out to API's for OMXPlayer and YouTube.

Here's an excerpt from one of my unit tests that shows how you might do that: https://gist.github.com/CalumJEadie/5196269.

I'm very keen to open source the whole project when I've written up. However, if you think the API's for YouTube and OMXPlayer that I've created would be useful for you I could release those earlier.

krstn
Posts: 2
Joined: Mon Mar 18, 2013 2:42 pm

Re: Updated documentation for YouTube clients

Sat Mar 23, 2013 7:33 pm

im pretty stunned, how good this acutally works!

i already made a test unit on my own playing random songs (sent from my android phone via shazam) or off of playlists, which are genereated by a user search function. :)

as soon as i i'm comfortable with my coding i will release my gist to public.

thank you so much for your work, it helped me so much!

User avatar
nommo
Posts: 40
Joined: Sun Jun 10, 2012 10:17 am
Location: UK

Re: Updated documentation for YouTube clients

Sun Mar 24, 2013 11:45 am

I originally followed these instructions for installing YT but haven't used it for a while and when I tried to run it today I got the blank screen issue - thanks to the link to the updated documentation provided by CalumJEadie I discovered that typing

Code: Select all

sudo youtube-dl -U
Fixed it...

Thanks!
I ate all the Pi

CalumJEadie
Posts: 15
Joined: Thu Oct 18, 2012 10:51 pm
Contact: Website

Re: Updated documentation for YouTube clients

Mon Mar 25, 2013 3:19 pm

krstn wrote:im pretty stunned, how good this acutally works!

i already made a test unit on my own playing random songs (sent from my android phone via shazam) or off of playlists, which are genereated by a user search function. :)

as soon as i i'm comfortable with my coding i will release my gist to public.

thank you so much for your work, it helped me so much!

You're very welcome krstn!

Return to “General discussion”