rembo10 / headphones

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

[windows] Headphones giving a nzb file with a to long path name for sabnzbd #950

Closed Magikarplvl4 closed 11 years ago

Magikarplvl4 commented 11 years ago

When i give headphones a command to download afrojack, its give a command to sabnzb ro make a path that is to long on windows.

Sabnzb gives me a error with a writing error:

2012-12-01 01:36:36,612::INFO::[init:897] Saving data for totals9.sab in C:\Users\Mediacenter\AppData\Local\sabnzbd\admin\totals9.sab 2012-12-01 01:36:36,614::INFO::[assembler:87] Decoding D:\Downloads\Niet gesorteerd\overig\Afrojack Feat Eva Simons - Take Over Control Incl Spencer And Hill Remix-Promo CDM-2011-QMI.1ac5afd2-2d10-497f-8cab-49e36a51e44\00-afrojack_feat_evasimons-_take_over_controlincl_spencer_and_hill_remix-promo_cdm-2011.m3u yenc 2012-12-01 01:36:36,614::ERROR::[assembler:99] Schrijf fout bij opslaan van bestand D:\Downloads\Niet gesorteerd\overig\Afrojack Feat Eva Simons - Take Over Control Incl Spencer And Hill Remix-Promo CDM-2011-QMI.1ac5afd2-2d10-497f-8cab-49e36a51e44\00-afrojack_feat_evasimons-_take_over_controlincl_spencer_and_hill_remix-promo_cdm-2011.m3u

And pause with downloading. possible a bug with headphones? I don't have this problem with sickbeard and couchpotato.

The path and file name are to long for windows, and it can't handle it.

Is it possible to build in a security that he renames the file names?

rembo10 commented 11 years ago

Dammit. Yeah i thought this might be a problem with appending the mbids to the downloads.... Wanted to change this anyways so a fix will be in the next update :-) On Dec 2, 2012 9:50 AM, "whitecollar17" notifications@github.com wrote:

When i give headphones a command to download afrojack, its give a command to sabnzb ro make a path that is to long on windows.

Sabnzb gives me a error with a writing error:

2012-12-01 01:36:36,612::INFO::[init:897] Saving data for totals9.sab in C:\Users\Mediacenter\AppData\Local\sabnzbd\admin\totals9.sab 2012-12-01 01:36:36,614::INFO::[assembler:87] Decoding D:\Downloads\Niet gesorteerd\overig\Afrojack Feat Eva Simons - Take Over Control Incl Spencer And Hill Remix-Promo CDM-2011-QMI.1ac5afd2-2d10-497f-8cab-49e36a51e44\00-afrojack_feat_evasimons-_take_over_controlincl_spencer_and_hill_remix-promo_cdm-2011.m3u yenc 2012-12-01 01:36:36,614::ERROR::[assembler:99] Schrijf fout bij opslaan van bestand D:\Downloads\Niet gesorteerd\overig\Afrojack Feat Eva Simons - Take Over Control Incl Spencer And Hill Remix-Promo CDM-2011-QMI.1ac5afd2-2d10-497f-8cab-49e36a51e44\00-afrojack_feat_evasimons-_take_over_controlincl_spencer_and_hill_remix-promo_cdm-2011.m3u

— Reply to this email directly or view it on GitHubhttps://github.com/rembo10/headphones/issues/950.

Magikarplvl4 commented 11 years ago

Thanks for the replay! Sorry for my very bad english ;) Work around for now is to set the value for folder_max_length in sabnzbd to 50, but for sabnzbd isn't possible to identify the files and gives the following error:

Couldn't parse Armin.Van.Buuren...Imagine.The-Remixes.529aec54-d8.1 into any valid format. If adding albums from another source, they must be in an 'Artist - Album [Year]' format, or end with the musicbrainz release group id

Do you have an idea for a work around for this error?

rembo10 commented 11 years ago

For now you can rename the folder into the "Artist - Album [Year]" format until the fix is up On Dec 2, 2012 10:25 AM, "whitecollar17" notifications@github.com wrote:

Thanks for the replay! Sorry for my very bad english ;) Work around for now is to set the value for folder_max_length in sabnzbd to 50, but for sabnzbd isn't possible to identify the files and gives the following error:

Couldn't parse Armin.Van.Buuren...Imagine.The-Remixes.529aec54-d8.1 into any valid format. If adding albums from another source, they must be in an 'Artist - Album [Year]' format, or end with the musicbrainz release group id

Do you have an idea for a work around for this error?

— Reply to this email directly or view it on GitHubhttps://github.com/rembo10/headphones/issues/950#issuecomment-10930837.

Magikarplvl4 commented 11 years ago

Thanks, works for now! Thanks for the very fast respons. And its still a great program :)

rembo10 commented 11 years ago

Fixed in the latest version :-)

Magikarplvl4 commented 11 years ago

Hi,

I have still the same problem after updating :(

2012-12-09 20:25:00,651 FOUT: Schrijf fout bij opslaan van bestand D:\Downloads\Niet gesorteerd\overig\Swedish House Mafia Vs Tinie Tempah-Miami 2 Ibiza (Caligula And Static Revenger Remixes)-(Promo CDM)-2010-WRE\Swedish_House_Mafia_Vs_Tinie_Tempah-Miami_2Ibiza(Caligula_And_Static_Revenger_Remixes)-(Promo_CDM)-2010-WRE.par2

rembo10 commented 11 years ago

Ah that might be a sab problem then - but if they address that issue it's lilely to break the new post processing system :-/

Lemme thinl of a better fix - might just have to go back to the old way :-/ On Dec 10, 2012 2:41 AM, "whitecollar17" notifications@github.com wrote:

Hi,

I have still the same problem after updating :(

2012-12-09 20:25:00,651 FOUT: Schrijf fout bij opslaan van bestand D:\Downloads\Niet gesorteerd\overig\Swedish House Mafia Vs Tinie Tempah-Miami 2 Ibiza (Caligula And Static Revenger Remixes)-(Promo CDM)-2010-WRE\Swedish_House_Mafia_Vs_Tinie_Tempah-Miami_2Ibiza(Caligula_And_Static_Revenger_Remixes)-(Promo_CDM)-2010-WRE.par2

— Reply to this email directly or view it on GitHubhttps://github.com/rembo10/headphones/issues/950#issuecomment-11174872.