kylejginavan / youtube_it

An object-oriented Ruby wrapper for the YouTube GData API
http://groups.google.com/group/ruby-youtube-library
595 stars 223 forks source link

How do you change the privacy of a playlist to "unlisted"? #241

Closed nonato closed 9 years ago

nonato commented 9 years ago

How do you change the privacy of a playlist to "unlisted"?

I tried using <cliente.update_playlist (playlist_id, {: list => "denied",: title => title})

But this way, only the title is updated. The playlist remains public

thank you very much

nonato commented 9 years ago

How do you change the privacy of a playlist to "unlisted"?

I tried using: client.update_playlist(playlist_id, {:list => "denied", :title => title}

But this way, only the title is updated. The playlist remains public

thank you very much

nonato commented 9 years ago

response:

pass the param :public => true or :private => true

in update_playlist method

thanks!