clinton-hall / nzbToMedia

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

nzbToMediaSceneExceptions.py #510

Closed schumi2004 closed 6 months ago

schumi2004 commented 10 years ago

If i'm correct nzbToMediaSceneExceptions.py is used for renaming hashed releases to readable (scene format/nzb name) format?

I thought in the past it was possible to only used this for PP can this be implemented again? Rename hashed releases to nzb-name?

/edit: Using NZBDrone that doesn't need nzbToMedia completely but can communicate directly with NZBGet but it lacks in renaming hashed releases.

clinton-hall commented 10 years ago

Can you give an example of a hashed release? There are several checks that are done and reversed filenames, random number filenames and a few others are renamed...

schumi2004 commented 10 years ago

Extant.S01E04.HDTV.x264-LOL-RP would be an example

clinton-hall commented 10 years ago

Ok, so what does the extracted file name look like?

schumi2004 commented 10 years ago

This is a example how it could look like

Wed Jul 9 05:56:53 2014 ERROR Cancelling hanging download Power.2014.S01E02.HDTV.x264-KILLERS-RP/5c8eb994e7a4e6aee63f0fafad89129c4e5ca43c.vol00+01.par2 [1/2]

File: 5c8eb994e7a4e6aee63f0fafad89129c4e5ca43c.vol00+01.par2

clinton-hall commented 10 years ago

ok... so do I presume that we extracted the file would be 5c8eb994e7a4e6aee63f0fafad89129c4e5ca43c.mkv ?

if so, this should already be identified and renamed by the scene exceptions.

schumi2004 commented 10 years ago

Well the idea was to have this work standalone since NZBDrone can communicate with NZBGet api for example so the complete nzbToMedia scripts aren't needed for that part except for the renaming then ;)

clinton-hall commented 10 years ago

So you want a separate "rename" script (similar to DeleteSamples and ResetDateTimes?)

clinton-hall commented 10 years ago

I understand that NZBDrone doesn't need nTM, but then neither do SickBeard or CouchPotato. Clearly there are some benefits to running nTM and nTM will still pass the download to NZBDrone... have you tried using nTM in conjunction with NZBDrone?

schumi2004 commented 10 years ago

I used it in the past but then it did some weird things, will give it another shot but also prefer to have it available standalone ;)