clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
670 stars 176 forks source link

Dev-Ech passing Album folder to headphones #321

Closed Scoobdriver closed 10 years ago

Scoobdriver commented 10 years ago

When the call is made to headphones it passes the Album folder and it looks like headphones is looking for a folder within this .. so it fails

my headphone log shows

2014-04-12 13:10:18 INFO Found no folders to process in: ['/volume3/Download/Processing/music/Aloe Blacc - Lift Your Spirit'] 2014-04-12 13:10:18 WARNING Directory /volume3/Download/Processing/music/Aloe Blacc - Lift Your Spirit does not exist. Skipping 2014-04-12 13:10:18 INFO Checking to see if there are any folders to process in download_dir(s): ['/volume3/Download/Processing/music/Aloe Blacc - Lift Your Spirit'] 2014-04-12 13:10:18 INFO Recieved API command: forceProcess 2014-04-12 13:08:08 INFO Found no folders to process in: ['/volume3/Download/music/Aloe Blacc - Lift Your Spirit'] 2014-04-12 13:08:08 INFO Checking to see if there are any folders to process in download_dir(s): ['/volume3/Download/music/Aloe Blacc - Lift Your Spirit'] 2014-04-12 13:08:08 INFO Recieved API command: forceProcess

echel0n commented 10 years ago

New commit is out for this branch so please try and report back

Scoobdriver commented 10 years ago

Still seem to have same issue.. passing the folder, and looks like headphones is looking for a folder within it ..

echel0n commented 10 years ago

it scans within the folder for files indeed, show me your logs please

Scoobdriver commented 10 years ago

Headphones

2014-04-13 17:13:27 INFO Found no folders to process in: ['/volume3/Download/Processing/music/Michael Bubl\xc3\xa9 - To Be Loved Deluxe Version'] 2014-04-13 17:13:27 INFO Checking to see if there are any folders to process in download_dir(s): ['/volume3/Download/Processing/music/Michael Bubl\xc3\xa9 - To Be Loved Deluxe Version'] 2014-04-13 17:13:27 INFO Recieved API command: forceProcess

TorrentToMedia Postprocess

17:12:17 POSTPROCESS:: Running HeadPhones:music as a manual run for folder /volume3/Download/Processing/music/Michael Bublé - To Be Loved Deluxe Version ... 17:12:17 INFO:: SEARCH: Found a unique directory Michael Bublé - To Be Loved Deluxe Version in the category directory 17:12:22 POSTPROCESS:: Output directory set to: /volume3/Download/Processing/music/Michael Bublé - To Be Loved Deluxe Version 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 INFO:: COPYLINK: target file already exists. Nothing to be done 17:12:22 POSTPROCESS:: Calling HeadPhones:music to post-process: Michael Bublé - To Be Loved Deluxe Version 17:12:22 POSTPROCESS:: ######################################################### 17:12:22 POSTPROCESS:: ## ..::[HeadPhones]::.. :: CATEGORY:[music] 17:12:22 POSTPROCESS:: ######################################################### 17:12:22 POSTPROCESS:: Waiting for 65.0 seconds to allow HeadPhones to process newly extracted files 17:13:27 POSTPROCESS:: HeadPhones returned OK 17:13:27 POSTPROCESS:: Post-processing started on HeadPhones for Michael Bublé - To Be Loved Deluxe Version in folder /volume3/Download/Processing/music/Michael Bublé - To Be Loved Deluxe Version 17:14:27 POSTPROCESS:: This album should have completed processing. Please check HeadPhones Logs 17:14:27 INFO:: Directory /volume3/Download/Processing/music/Michael Bublé - To Be Loved Deluxe Version still contains 1 media and/or meta files. This directory will not be removed.

Scoobdriver commented 10 years ago

Another example called by transmission

2014-04-13 17:12:22 POSTPROCESS:: ######################################################### 2014-04-13 17:12:22 POSTPROCESS:: ## ..::[HeadPhones]::.. :: CATEGORY:[music] 2014-04-13 17:12:22 POSTPROCESS:: ######################################################### 2014-04-13 17:12:22 POSTPROCESS:: Waiting for 65.0 seconds to allow HeadPhones to process newly extracted files 2014-04-13 17:13:00 INFO :: Loading config from /volume1/git/devch/nzbToMedia/autoProcessMedia.cfg 2014-04-13 17:13:00 INFO :: nzbToMedia Version:dab3d3e8e7c5d64fb428c7e6eb05d7c96cdcc6cf Branch:dev-ech (Linux; 3.2.40) 2014-04-13 17:13:00 INFO :: Checking if git needs an update 2014-04-13 17:13:00 ERROR :: git fetch origin returned : fatal: unable to access 'https://github.com/clinton-hall/nzbToMedia/': SSL certificate problem: unable to get local issuer certificate 2014-04-13 17:13:00 ERROR :: Unable to contact github, can't check for update 2014-04-13 17:13:00 INFO :: No update needed 2014-04-13 17:13:00 POSTPROCESS:: ######################################################### 2014-04-13 17:13:00 POSTPROCESS:: ## ..::[TorrentToMedia]::.. :: STARTING 2014-04-13 17:13:00 POSTPROCESS:: ######################################################### 2014-04-13 17:13:00 INFO :: SEARCH: Found torrent directory Arctic Monkeys - AM (2013) [MP3 320] politux in input directory directory /volume3/Download/music 2014-04-13 17:13:00 INFO :: SEARCH: Setting inputDirectory to /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux 2014-04-13 17:13:05 POSTPROCESS:: Output directory set to: /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux 2014-04-13 17:13:05 INFO :: CREATE DESTINATION: Creating destination folder: /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/ 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/02-arctic_monkeys-r_u_mine.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/02-arctic_monkeys-r_u_mine.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/03-arctic_monkeys-one_for_the_road.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/03-arctic_monkeys-one_for_the_road.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/09-arctic_monkeys-whyd_you_only_call_me_when_youre_high.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/09-arctic_monkeys-whyd_you_only_call_me_when_youre_high.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/10-arctic_monkeys-snap_out_of_it.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/10-arctic_monkeys-snap_out_of_it.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/05-arctic_monkeys-i_want_it_all.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/05-arctic_monkeys-i_want_it_all.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/12-arctic_monkeys-i_wanna_be_yours.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/12-arctic_monkeys-i_wanna_be_yours.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/11-arctic_monkeys-knee_socks.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/11-arctic_monkeys-knee_socks.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/04-arctic_monkeys-arabella.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/04-arctic_monkeys-arabella.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/01-arctic_monkeys-do_i_wanna_know.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/01-arctic_monkeys-do_i_wanna_know.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/07-arctic_monkeys-mad_sounds.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/07-arctic_monkeys-mad_sounds.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/06-arctic_monkeys-no._1_party_anthem.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/06-arctic_monkeys-no._1_party_anthem.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/08-arctic_monkeys-fireside.mp3 to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/08-arctic_monkeys-fireside.mp3 2014-04-13 17:13:05 INFO :: COPYLINK: Hard linking /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux/cover.jpg to /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux/cover.jpg 2014-04-13 17:13:05 POSTPROCESS:: Calling HeadPhones:music to post-process: Arctic Monkeys - AM (2013) [MP3 320] politux 2014-04-13 17:13:05 POSTPROCESS:: ######################################################### 2014-04-13 17:13:05 POSTPROCESS:: ## ..::[HeadPhones]::.. :: CATEGORY:[music] 2014-04-13 17:13:05 POSTPROCESS:: ######################################################### 2014-04-13 17:13:05 POSTPROCESS:: Waiting for 65.0 seconds to allow HeadPhones to process newly extracted files 2014-04-13 17:13:27 POSTPROCESS:: HeadPhones returned OK 2014-04-13 17:13:27 POSTPROCESS:: Post-processing started on HeadPhones for Michael Bublé - To Be Loved Deluxe Version in folder /volume3/Download/Processing/music/Michael Bublé - To Be Loved Deluxe Version 2014-04-13 17:14:11 POSTPROCESS:: HeadPhones returned OK 2014-04-13 17:14:11 POSTPROCESS:: Post-processing started on HeadPhones for Arctic Monkeys - AM (2013) [MP3 320] politux in folder /volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux 2014-04-13 17:14:27 POSTPROCESS:: This album should have completed processing. Please check HeadPhones Logs 2014-04-13 17:14:27 INFO :: Directory /volume3/Download/Processing/music/Michael Bublé - To Be Loved Deluxe Version still contains 1 media and/or meta files. This directory will not be removed. 2014-04-13 17:14:27 WARNING :: Gamez:games is DISABLED, you can enable this in autoProcessMedia.cfg ... 2014-04-13 17:14:27 WARNING :: Mylar:comics is DISABLED, you can enable this in autoProcessMedia.cfg ... 2014-04-13 17:14:27 POSTPROCESS:: All done. 2014-04-13 17:15:11 POSTPROCESS:: This album should have completed processing. Please check HeadPhones Logs 2014-04-13 17:15:16 INFO :: Directory /volume3/Download/Processing/music/Arctic Monkeys - AM (2013) [MP3 320] politux still contains 1 media and/or meta files. This directory will not be removed. 2014-04-13 17:15:16 POSTPROCESS:: All done.

Headphones

Timestamp Level Message 2014-04-13 17:14:11 INFO Found no folders to process in: ['/volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux'] 2014-04-13 17:14:11 INFO Checking to see if there are any folders to process in download_dir(s): ['/volume3/Download/music/Arctic Monkeys - AM (2013) [MP3 320] politux'] 2014-04-13 17:14:11 INFO Recieved API command: forceProcess

echel0n commented 10 years ago

Ok just updated dev-ech, please try that branch and report back. THanks

Scoobdriver commented 10 years ago

OK still failing now my logs show ...

2014-04-14 11:03:37 INFO :: Loading config from /volume1/git/devch/nzbToMedia/autoProcessMedia.cfg 2014-04-14 11:03:37 INFO :: nzbToMedia Version:1cf6750f9d37129b51d04aebc14396a453445696 Branch:dev-ech (Linux; 3.2.40) 2014-04-14 11:03:37 INFO :: Checking if git needs an update 2014-04-14 11:03:37 ERROR :: git fetch origin returned : fatal: unable to access 'https://github.com/clinton-hall/nzbToMedia/': SSL certificate problem: unable to get local issuer certificate 2014-04-14 11:03:37 ERROR :: Unable to contact github, can't check for update 2014-04-14 11:03:37 INFO :: No update needed 2014-04-14 11:03:37 POSTPROCESS:: ######################################################### 2014-04-14 11:03:37 POSTPROCESS:: ## ..::[TorrentToMedia]::.. :: STARTING 2014-04-14 11:03:37 POSTPROCESS:: ######################################################### 2014-04-14 11:03:37 INFO :: SEARCH: Found torrent directory Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip] in input directory directory /volume3/Download/music 2014-04-14 11:03:37 INFO :: SEARCH: Setting inputDirectory to /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip] 2014-04-14 11:03:42 POSTPROCESS:: Output directory set to: /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip] 2014-04-14 11:03:42 INFO :: CREATE DESTINATION: Creating destination folder: /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/ 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/lady gaga-the fame monster.jpg to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/lady gaga-the fame monster.jpg 2014-04-14 11:03:42 INFO :: CREATE DESTINATION: Creating destination folder: /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/01.Just Dance (Feat. Colby O'Donis).mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/01.Just Dance (Feat. Colby O'Donis).mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/09.The Fame.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/09.The Fame.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/13.Brown Eyes.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/13.Brown Eyes.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/15.Disco Heaven (Bonus Track).mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/15.Disco Heaven (Bonus Track).mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/16.Again Again (Bonus Track).mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/16.Again Again (Bonus Track).mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/06.Eh, Eh (Nothing Else I Can Say).mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/06.Eh, Eh (Nothing Else I Can Say).mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/12.Paper Gangsta.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/12.Paper Gangsta.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/04.Poker Face.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/04.Poker Face.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/02.Lovegame.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/02.Lovegame.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/14.Summerboy.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/14.Summerboy.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/05.I Like It Rough.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/05.I Like It Rough.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/07.Starstruck.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/07.Starstruck.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/08.Beautiful, Dirty, Rich.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/08.Beautiful, Dirty, Rich.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/03.Paparazzi.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/03.Paparazzi.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/11.Boys Boys Boys.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/11.Boys Boys Boys.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/10.Money Honey.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 2/10.Money Honey.mp3 2014-04-14 11:03:42 INFO :: CREATE DESTINATION: Creating destination folder: /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/01.Bad Romance.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/01.Bad Romance.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/02.Alejandro.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/02.Alejandro.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/06.Telephone (Feat. Beyonce).mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/06.Telephone (Feat. Beyonce).mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/04.Speechless.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/04.Speechless.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/03.Monster.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/03.Monster.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/08.Teeth.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/08.Teeth.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/05.Dance In The Dark.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/05.Dance In The Dark.mp3 2014-04-14 11:03:42 INFO :: COPYLINK: Hard linking /volume3/Download/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/07.So Happy I Could Die.mp3 to /volume3/Download/Processing/music/Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip]/Disc 1/07.So Happy I Could Die.mp3 2014-04-14 11:03:42 POSTPROCESS:: Calling HeadPhones:music to post-process: Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip] 2014-04-14 11:03:42 POSTPROCESS:: ######################################################### 2014-04-14 11:03:42 POSTPROCESS:: ## ..::[HeadPhones]::.. :: CATEGORY:[music] 2014-04-14 11:03:42 POSTPROCESS:: ######################################################### 2014-04-14 11:03:42 ERROR :: Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip] is marked with a status of Snatched on HeadPhones, skipping ... 2014-04-14 11:03:42 ERROR :: A problem was reported in the autoProcess* script. If torrent was paused we will resume seeding 2014-04-14 11:03:47 POSTPROCESS:: All done.

Headphones : -

2014-04-14 11:03:42 INFO Recieved API command: getHistory 2014-04-14 10:58:08 INFO Search for Wanted albums complete 2014-04-14 10:58:08 INFO Torrent folder name: Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip] 2014-04-14 10:57:23 INFO Torrent sent to Transmission successfully 2014-04-14 10:57:23 INFO Sending torrent to Transmission 2014-04-14 10:57:23 INFO Found best result from The Pirate Bay: Lady Gaga - The Fame Monster [Deluxe Edition] {2009} [CDRip] - 213.0 MB

clinton-hall commented 10 years ago

@echel0n

https://github.com/clinton-hall/nzbToMedia/blob/dev-ech/nzbtomedia/autoProcess/autoProcessMusic.py#L91

looks like we need to add status "Snatched" to list of statuses that we do process.

Scoobdriver commented 10 years ago

something got stuck in a loop .. Headphones showing pages of 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory 2014-04-14 15:22:12 INFO Recieved API command: getHistory

echel0n commented 10 years ago

please try latest dev now, also thats normal op of nzbtomedia now as we confirm status change via history api cmd on headphones ;)

echel0n commented 10 years ago

Does that for 2 min with 20 sec sleep intervals, I'll add in a wait-for op that you can set via cfg in a bit if it makes things more custom for yeah

Scoobdriver commented 10 years ago

I see it's back in branch dev. How do I update to this branch (git commands) as I'm on dev-ECh at the moment.  — Sent from Mailbox for iPhone

On Mon, Apr 14, 2014 at 6:19 PM, echel0n notifications@github.com wrote:

Does that for 2 min with 20 sec sleep intervals, I'll add in a wait-for op that you can set via cfg in a bit if it makes things more custom for yeah

Reply to this email directly or view it on GitHub: https://github.com/clinton-hall/nzbToMedia/issues/321#issuecomment-40392880

clinton-hall commented 10 years ago

cd into your nzbToMedia directory then

git checkout dev
git pull
Scoobdriver commented 10 years ago

That returns

remote: Counting objects: 22, done. remote: Compressing objects: 100% (12/12), done. remote: Total 12 (delta 8), reused 4 (delta 0) Unpacking objects: 100% (12/12), done. From https://github.com/clinton-hall/nzbToMedia 0589a7e..85f79fd dev -> origin/dev There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details

git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

git branch --set-upstream-to=origin/<branch> dev
Scoobdriver commented 10 years ago

I couldnt resolve the above so I reinstalled into another directory..

now here is what I get (It looks like the files are moved to the processing directory /volume3/Download/Processing/music , but the call to headphones is on the download directory /volume3/Download/music )

11:19:08 POSTPROCESS:: Running HeadPhones:music as a manual run for folder /volume3/Download/music/Bastille - All This Bad Blood (Deluxe Edition) (2013) MP3 ... 11:19:08 INFO:: SEARCH: Found a unique directory Bastille - All This Bad Blood (Deluxe Edition) (2013) MP3 in the category directory 11:19:08 POSTPROCESS:: Output directory set to: /volume3/Download/Processing/music/Bastille - All This Bad Blood (Deluxe Edition) (2013) MP3 11:19:08 INFO:: CREATE DESTINATION: Creating destination folder: /volume3/Download/Processing/music/Bastille - All This Bad Blood (Deluxe Edition) (2013) MP3/CD1 11:19:08 INFO:: CREATE DESTINATION: Creating destination folder: /volume3/Download/Processing/music/Bastille - All This Bad Blood (Deluxe Edition) (2013) MP3/CD2 11:19:08 POSTPROCESS:: Calling HeadPhones:music to post-process: Bastille - All This Bad Blood (Deluxe Edition) (2013) MP3 11:19:08 POSTPROCESS:: ######################################################### 11:19:08 POSTPROCESS:: ## ..::[HeadPhones]::.. :: CATEGORY:[music] 11:19:08 POSTPROCESS:: ######################################################### 11:19:08 POSTPROCESS:: HeadPhones returned OK 11:19:08 POSTPROCESS:: Post-processing started on HeadPhones for Bastille - All This Bad Blood (Deluxe Edition) (2013) MP3 in folder /volume3/Download/music/Bastille - All This Bad Blood (Deluxe Edition) (2013) MP3 11:21:08 WARNING:: The music album does not appear to have changed status after 2 minutes. Please check HeadPhones Logs 11:21:08 ERROR:: A problem was reported when trying to manually run HeadPhones:music.

clinton-hall commented 10 years ago

Try again.

Scoobdriver commented 10 years ago

looks to be calling correctly now, although not sure about all the % characters in the spaces etc ? ?

Headphones is reporting the directory does not exist.. so here are my logs..

Headphones : 2014-04-15 14:28:31 INFO Recieved API command: getHistory 2014-04-15 14:28:31 INFO Found no folders to process in: ['/volume3/Download/Processing/music/Kings%20of%20Leon%20-%20Mechanical%20Bull%20%5BDeluxe%20Version%5D%20%282013%29'] 2014-04-15 14:28:31 WARNING Directory /volume3/Download/Processing/music/Kings%20of%20Leon%20-%20Mechanical%20Bull%20%5BDeluxe%20Version%5D%20%282013%29 does not exist. Skipping 2014-04-15 14:28:31 INFO Checking to see if there are any folders to process in download_dir(s): ['/volume3/Download/Processing/music/Kings%20of%20Leon%20-%20Mechanical%20Bull%20%5BDeluxe%20Version%5D%20%282013%29'] 2014-04-15 14:28:31 INFO Recieved API command: forceProcess 2014-04-15 14:28:31 INFO Recieved API command: getHistory

TorrenttoMedia: 2014-04-15 14:28:25 INFO :: Loading config from /volume1/git/dev/nzbToMedia/autoProcessMedia.cfg 2014-04-15 14:28:25 INFO :: nzbToMedia Version:10857bef990828c1e0249036d7afe2af45ffd878 Branch:dev (Linux; 3.2.40) 2014-04-15 14:28:26 INFO :: Checking if git needs an update 2014-04-15 14:28:26 INFO :: No update needed 2014-04-15 14:28:26 POSTPROCESS:: ######################################################### 2014-04-15 14:28:26 POSTPROCESS:: ## ..::[TorrentToMedia]::.. :: STARTING 2014-04-15 14:28:26 POSTPROCESS:: ######################################################### 2014-04-15 14:28:26 INFO :: SEARCH: Found torrent directory Kings of Leon - Mechanical Bull Deluxe Version in input directory directory /volume3/Download/music 2014-04-15 14:28:26 INFO :: SEARCH: Setting inputDirectory to /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version 2014-04-15 14:28:31 POSTPROCESS:: Output directory set to: /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version 2014-04-15 14:28:31 INFO :: CREATE DESTINATION: Creating destination folder: /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/ 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/04 Beautiful War.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/04 Beautiful War.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/06 Wait for Me.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/06 Wait for Me.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/02 Rock City.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/02 Rock City.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/01 Supersoaker.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/01 Supersoaker.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/12 Work on Me.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/12 Work on Me.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/13 Last Mile Home.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/13 Last Mile Home.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/03 Don't Matter.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/03 Don't Matter.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/11 On the Chin.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/11 On the Chin.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/10 Coming Back Again.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/10 Coming Back Again.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/09 Tonight.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/09 Tonight.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/05 Temple.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/05 Temple.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/08 Comeback Story.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/08 Comeback Story.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/07 Family Tree.mp3 to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/07 Family Tree.mp3 2014-04-15 14:28:31 INFO :: COPYLINK: Hard linking /volume3/Download/music/Kings of Leon - Mechanical Bull Deluxe Version/folder.jpg to /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version/folder.jpg 2014-04-15 14:28:31 POSTPROCESS:: Calling HeadPhones:music to post-process: Kings of Leon - Mechanical Bull Deluxe Version 2014-04-15 14:28:31 POSTPROCESS:: ######################################################### 2014-04-15 14:28:31 POSTPROCESS:: ## ..::[HeadPhones]::.. :: CATEGORY:[music] 2014-04-15 14:28:31 POSTPROCESS:: ######################################################### 2014-04-15 14:28:31 POSTPROCESS:: HeadPhones returned OK 2014-04-15 14:28:31 POSTPROCESS:: Post-processing started on HeadPhones for Kings of Leon - Mechanical Bull Deluxe Version in folder /volume3/Download/Processing/music/Kings of Leon - Mechanical Bull Deluxe Version 2014-04-15 14:30:31 WARNING :: The music album does not appear to have changed status after 2 minutes. Please check HeadPhones Logs 2014-04-15 14:30:31 ERROR :: A problem was reported in the autoProcess* script. If torrent was paused we will resume seeding 2014-04-15 14:30:36 POSTPROCESS:: All done.

echel0n commented 10 years ago

i can remove those % symbols without issue ... 1 sec

echel0n commented 10 years ago

Ok I've updated DEV so please attempt and let me know if fixed

clinton-hall commented 10 years ago

Wow... I would have thought headphones should decode the URL and replace this characters with spaces... So that the directory could be sent as a safe (encoded) URL....

Scoobdriver commented 10 years ago

Thanks guys. It's now seeing the folder , however as mentioned it is looking inside the album folder for a album folder .. I.e it calls /downloads/processing/music/albumname/ and this generally just has tracks in it (unless it's a 2 cd) so it headphones doesn't identify the album. So it fails. However if I force get headphones to look in /downloads/processing/music/. It will see the folder album name and correctly identify the album and the tracks within the folder.

Make sense ?

clinton-hall commented 10 years ago

@echel0n Sounds like this is actually in HeadPhones where a change is needed. If we pass a directory, it should use THAT directory for its name look-up and not just directories inside of it.

Otherwise, we could just pass the next directory up as part of the url call... and therefore scan /downloads/processing/music/

essentially https://github.com/clinton-hall/nzbToMedia/blob/dev/nzbtomedia/autoProcess/autoProcessMusic.py#L81 becomes

params['dir'] = os.path.split(dirName)[0]
echel0n commented 10 years ago

I'll correct the code to pass the parent folder so that it scans the sub folders or it instead, that should do the trick till I correct this via a PR to the headphones repo master

echel0n commented 10 years ago

Ok new DEV branch released so please test and report back, thanks.

clinton-hall commented 10 years ago

and no longer inserting the path?

echel0n commented 10 years ago

?? no longer inserting what path ?

clinton-hall commented 10 years ago
-sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib')))

This was removed in the commit referenced above....

But I believe you now do this in the init....

echel0n commented 10 years ago

yes init is for doing everything we need to once and not all over the place :)

echel0n commented 10 years ago

I'm closing this as this issue is resolved.