Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matches found #192

Open
aradhir opened this issue Oct 21, 2022 · 1 comment
Open

No matches found #192

aradhir opened this issue Oct 21, 2022 · 1 comment

Comments

@aradhir
Copy link

aradhir commented Oct 21, 2022

Hello,

I am currently struggling with the following problem: I installed mnamer on my Synology DS918 NAS using the Python3.10 package (from synocommunity) as local user (python3 -m pip install --user mnamer).

However with the filenames I try to rename, I get no match. Here are a few examples:
The_Flash__Armageddon_Part_5_21.12.14_20-00_uswpix_60_TVOON_DE.HQ-cut.avi
Supergirl__Alex_in_Wonderland_S05E16_20.03.22_21-00_uswpix_60_TVOON_DE.HQ-cut.avi
Legends_of_Tomorrow__A_Woman_s_Place_Is_in_the_War_Effort_S07E07_21.11.24_20-00_uswpix_60_TVOON_DE.HQ-cut.avi

I use the following .json config file, running mnamer with the following options:

Example config:
/input/.mnamer-v2.json:

{
"episode_api": "tvdb",
"episode_directory": "/output/Serien/{series}/{series} - Season {season}",
"episode_format": "{series}.S{season:02}E{episode:02}.{title}{extension}",
"hits": 5,
"lower": false,
"movie_api": "tmdb",
"movie_directory": "/output/Filme/{name} ({year})",
"movie_format": "{name} ({year}){extension}",
"no_cache": false,
"no_guess": false,
"no_overwrite": true,
"no_style": false,
"scene": true,
"verbose": true,
"recurse": true,
"mask": [".avi", ".mkv", ".mp4"],
"replace_after": {"&": "and", "@": "at", ";": ",", ":": "-"}
}

Run command:

mnamer --config-path=/input/.mnamer-v2.json /input

Example output:

Processing Episode "The_Flash__Armageddon_Part_5_21.12.14_20-00_uswpix_60_TVOON_DE.HQ-cut.avi" (227.08MB)
/input/The_Flash__Armageddon_Part_5_21.12.14_20-00_uswpix_60_TVOON_DE.HQ-cut.avi
using tvdb

search parameters

  • container = .avi
  • group = CUT
  • language = None
  • language_sub = None
  • quality = None
  • synopsis = None
  • media = episode
  • series = The Flash Armageddon
  • season = None
  • episode = 20
  • date = 2014-12-21
  • title = None
  • id_tvdb = None
  • id_tvmaze = None
  • extension = .avi

no matches found
The Flash Armageddon - x20 (best guess)
❱ skip
quit

However, if I use an already "perfectly" formatted file, I get a match:

Batwoman.S01E02.The.Rabbit.Hole

Processing Episode "Batwoman.S01E02.The.Rabbit.Hole.avi" (179.54MB)
/input/Batwoman.S01E02.The.Rabbit.Hole.avi
using tvdb

search parameters

  • container = .avi
  • group = None
  • language = None
  • language_sub = None
  • quality = None
  • synopsis = None
  • media = episode
  • series = Batwoman
  • season = 1
  • episode = 2
  • date = None
  • title = None
  • id_tvdb = None
  • id_tvmaze = None
  • extension = .avi

select match
❱ Batwoman - 01x02 - The Rabbit Hole
Batman: the Animated Series - 01x02 - On Leather Wings
Pennyworth: the Origin of Batman's Butler - 01x02 - The Landlord's Daughter
Batman Beyond - 01x02 - Rebirth (2)
The Batman - 01x02 - Call of the Cobblepot
skip
quit

Does anyone have an idea, why the scrapper is not finding any information on the episodes? A few years back I used filebot for those kinds of jobs, but as I came across mnamer I thought this could be the alternative I am looking for.

Best
aradhir

@nilesh-akhade
Copy link

mnamer uses guessit internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants