rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.39k stars 600 forks source link

Windows download folder not found during Post Processing #2798

Open hubdows opened 7 years ago

hubdows commented 7 years ago

I have headphones installed on a Windows 8 machine in the C:\Headphones folder. Sabnzbd downloads music to the X:\music folder. I setup the proper download folder in the downloads tab, but receive this message during post processing? I can browse to the folder normally and there are full read/write permissions on it. What else could be going on?

09-Dec-2016 11:09:29 - INFO :: Thread-12 : Force checking download folder for completed downloads 09-Dec-2016 11:09:29 - WARNING :: Thread-12 : Directory X:\music does not exist. Skipping 09-Dec-2016 11:09:29 - INFO :: Thread-12 : Found no folders to process. Aborting.

hubdows commented 7 years ago

I needed to you use a folder context that python could understand. I changed the download folder location to: //servername/foldername/music

haxcop commented 7 years ago

needed to you use a folder context that python could understand. I changed the download folder location to: //servername/foldername/music

HI Could you pexplain a liltle bit more your issue and solution? I have my files in a network location Z:\Music How this would be>

hubdows commented 7 years ago

@haxcop

Yes it's a little confusing. Natively, Python can't see mapped drives in Windows without loading a library, but it universally recognizes UNC mapping (Linux style with a forward slash "/" ).

So the easiest way to do this is to open File Explorer and look at the drive mapping. For example, my music folder is:

 >MP3 (\\fileserver\Music) (X:)

Or in Windows UNC:

 \\fileserver\Music\MP3

Or in Universal UNC (which is the path you will enter in Headphones):

 //fileserver/Music/MP3

This may be a result of the developers trying to keep Headphones source code as universal as possible. It's just not well documented.

haxcop commented 7 years ago

@hubdows ThankS!, After many failed intents works //Airport-Time-Ca/Data/Music

hubdows commented 7 years ago

Hey, that's awesome! Glad I could help.

haxcop commented 7 years ago

@hubdows Thanks a lot. anything you need a hand with or share just let me know too 🎱