Video#unique_id is nil when browsing playlist #54

kfigiela opened this Issue Feb 10, 2012 · 0 comments


None yet
1 participant

kfigiela commented Feb 10, 2012

Video#unique_id is nil when browsing playlist. Problem occurs because #video_id doesn't carry information on #unique_id. On the other hand, #unique_id is present in XML returned by YouTube API in yt:id tag in media:groupt

> client =
> client.playlist("21C62A3473376C47").videos[0].video_id
 => ",2008:playlist:21C62A3473376C47:PLyiwTzVYoxrm7UlMB2jGbokLoGU0nnBox"  # no unique_id here
> client.playlist("21C62A3473376C47").videos[0].player_url
 => "" 
> client.playlist("21C62A3473376C47").videos[0].unique_id
 => nil # returned, expected: aWEghdiY9cs

@kfigiela kfigiela closed this Feb 10, 2012

thomsbg pushed a commit to thomsbg/youtube_it that referenced this issue Mar 1, 2012

Merge pull request #55 from kfigiela/master
Video#unique_id was nil when browsing playlist (fixes #54)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment