Closed DrPeril closed 13 years ago
From this forum page - you can work around this by changing the series name to "Tosh0", e.g replace tosh.0.s01e01.avi
with tosh0.s01e01.avi
I imagine you can do this easily enough with Hazal, or also with tvnamer's replacement config option - you make a file at ~/.tvnamer.json
(~/
being your home directory) containing something like:
{
"input_filename_replacements": [
{"is_regex": false,
"match": "tosh.0",
"replacement": "tosh0"}
]
}
..and it should work as expected.
I don't think there's any reasonable way to parse tosh.0.s01e01.avi
and get tosh.0
for the series name, and still be able to parse, say, my.series.s01e01
and get my series
..
It might be worth posting on thetvdb's forums and request that tosh 0
is added as an alias for tosh.0
?
Closing - let me know if this is still a problem!
you bet, sorry I thought I had replied. Changing the name to Tosh0 did work, much appreciated! :D
So.... the tvnamer strips the "."'s out of file names, cheers, but in the case of Tosh.0 it's required in order to turn up a result on theTVDB. Is there a way I can rename it (via Noodlesoft's Hazel) to exclude that period?
Something like: if name contains "tosh" and ".0" rename to "Tosh/./0"+old file name. Basically so that it goes from "aaf.tosh.0.s03.e02.avi" or some crap, to "Tosh/./0 - aff.tosh.0.s03e02.avi" which the script should be able to identify as "Tosh.0" and "S03E02". Of course, I'm assuming that the "/" marks mean anything aside form designating spaces.
Thoughts?