README.md in tubedl-0.1.8 vs README.md in tubedl-0.1.9

- old
+ new

@@ -22,11 +22,11 @@ ## Usage ```ruby require 'tubedl' -metallica = Tubedl.Playlist.new 'https://www.youtube.com/playlist?list=PLJvQXRgtxlumAHceNRk3cx3P7MZVUCdBl' +metallica = Tubedl::Playlist.new 'https://www.youtube.com/playlist?list=PLJvQXRgtxlumAHceNRk3cx3P7MZVUCdBl' first_song = metallica.video0001 object_instances = metallica.instance_variables first_song_link = first_song.values.first first_songID = Tubedl.get_videoID(first_song_link) @@ -35,13 +35,16 @@ whole_page_data = Tubedl.get_page_data(first_song_link) specific_resulation = Tubedl.set_quality(first_song_link, 'hd1080') metallica.save_playlist metallica.save_smplayer_playlist # That will create a smplayer playlist # Also can pass path as argument -metallica.save_smplayer_playlist '/home/gcaglar/Music' -metallica.save_playlist '/home/gcaglar/Music' +metallica.save_smplayer_playlist '/home/[USERNAME]/Music' +metallica.save_playlist '/home/[USERNAME]/Music' # Tubedl.load_playlist(path) Tubedl.save_object(metallica) + +# Also can save a yaml playlist as a smplayer playlist +Tubedl.yaml_to_smplayer('/home/[USERNAME]/Music/Playlist-19-8-2017.yml', '/home/[USERNAME]/Music') # Rusults puts first_song puts first_songID puts first_song_link