danloveg / Download-YouTube-Album

Download m4a or mp3s from YouTube and compile them into an album with proper metadata
0 stars 0 forks source link

Folder gets deleted after downloading #1

Open ghost opened 3 years ago

ghost commented 3 years ago

Hello, Today I attempted to use this and no files were created. The album folder is created at the beginning, but it gets deleted at the end. Here are the last lines the module outputs :

[download] Finished downloading playlist: Album - SPD GAR 002

Attempting to automatically fix music tags.

No files imported from /home/kyesu/music/test/Various Artists/SPD GAR 002
Restoring your beet config.

I ran Get-YoutubeAlbum -AlbumManifest ./album, here is the file I used :

Artist: Various Artists
Album: SPD GAR 002
https://music.youtube.com/playlist?list=OLAK5uy_mM8EfyV20cZEhVZiLdSZNbI763Jg0KK0s

Could you please help me find where I messed up ?

danloveg commented 3 years ago

Hi,

I guess it's not 100% clear, but you have to use a youtube.com link, not a music.youtube.com link to download an album. That's my bad! If you want it to work, you would use this album manifest instead:

Artist: Various Artists Album: SPD GAR 002 https://www.youtube.com/watch?v=_2XVuSaPxEE&list=PLN5nnHVeLDiP3vzuOQbQXwHZ25r6-g3dN

On Thu, Mar 25, 2021 at 7:33 AM kyesu @.***> wrote:

Hello, Today I attempted to use this and no files were created. The album folder is created at the beginning, but it gets deleted at the end. Here are the last lines the module outputs :

[download] Finished downloading playlist: Album - SPD GAR 002

Attempting to automatically fix music tags.

No files imported from /home/kyesu/music/test/Various Artists/SPD GAR 002 Restoring your beet config.

I ran Get-YoutubeAlbum -AlbumManifest ./album, here is the file I used :

Artist: Various Artists Album: SPD GAR 002https://music.youtube.com/playlist?list=OLAK5uy_mM8EfyV20cZEhVZiLdSZNbI763Jg0KK0s

Could you please help me find where I messed up ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/danloveg/Download-YouTube-Album/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2IMJT3OHWF5DABVPZ6K43TFMUQVANCNFSM4ZZIOHWQ .

ghost commented 3 years ago

Sorry about using the wrong link, I replaced it but it still doesn't work, even with -NoPlaylist. I probably messed up something, but I don't really know what. I noticed the output shows .\ instead of ./ even though I'm using Debian, but I don't know much about file paths so I'm not sure if it makes a difference.

danloveg commented 3 years ago

Ah, the fact that you're using Debian might be the issue. I haven't done any testing with respect to running PowerShell on a Unix-based OS. I'll do some testing and try to figure out what's up.