jkwill87 / mnamer

media file renaming and organizing tool
https://pypi.org/project/mnamer
MIT License
806 stars 68 forks source link

Arabic subtitle can't be detected #246

Open mmBesar opened 1 year ago

mmBesar commented 1 year ago

Arabic subtitle can't be detected, and here is the output. I've tried FILE.arabic.srt, FILE.ara.srt and FILE.ar.srt, all with the same output.

system
 - date = 2023-04-27
 - platform = Linux-6.2.12-300.fc38.x86_64-x86_64-with-glibc2.37
 - arguments = ['-vb', 'UFO Robot Grendizer/Season 01']
 - cache location = /home/mbesar/.cache/mnamer-py3.11.sql
 - python version = 3.11.3
 - mnamer version = 2.5.4
 - appdirs version = 1.4.4
 - guessit version = 3.2.0
 - requests version = 2.28.2
 - requests cache version = 0.5.2
 - teletype version = 1.1.0

settings
 - targets = [PosixPath('UFO Robot Grendizer/Season 01')]
 - batch = True
 - lower = False
 - recurse = False
 - scene = False
 - verbose = True
 - hits = 5
 - ignore = ['.*sample.*', '^RARBG.*']
 - language = None
 - mask = ['.avi', '.m4v', '.mp4', '.mkv', '.ts', '.wmv', '.srt', '.idx', '.sub', '.ass']
 - no_guess = False
 - no_overwrite = False
 - no_style = False
 - movie_api = tmdb
 - movie_directory = None
 - movie_format = {name} ({year}).{extension}
 - episode_api = tvmaze
 - episode_directory = None
 - episode_format = {series} - S{season:02}E{episode:02} - {title}.{extension}
 - version = False
 - clear_cache = False
 - config_dump = False
 - config_ignore = False
 - config_path = None
 - id_imdb = None
 - id_tmdb = None
 - id_tvdb = None
 - id_tvmaze = None
 - no_cache = False
 - media = None
 - test = False
 - api_key_omdb = None
 - api_key_tmdb = None
 - api_key_tvdb = None
 - api_key_tvmaze = None
 - replace_before = {}
 - replace_after = {'&': 'and', ';': ',', '@': 'at'}

targets
 - /mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01.ar.srt
 - /mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01.en.srt
 - /mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01.es.srt
 - /mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01.mkv
Starting mnamer

Processing Episode Subtitle "UFO Robot Grendizer - S01E01.ar.srt" (22.65KB)
/mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01.ar.srt
using tvmaze

search parameters
 - container = .srt
 - group = None
 - language = None
 - language_sub = None
 - quality = None
 - synopsis = None
 - media = episode
 - series = UFO Robot Grendizer
 - season = 1
 - episode = 1
 - date = None
 - title = None
 - id_tvdb = None
 - id_tvmaze = None
 - extension = .srt

skipping (subtitle language can't be detected)

Processing Episode Subtitle "UFO Robot Grendizer - S01E01.en.srt" (22.65KB)
/mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01.en.srt
using tvmaze

search parameters
 - container = .srt
 - group = None
 - language = None
 - language_sub = {'name': 'English', 'a2': 'en', 'a3': 'eng'}
 - quality = None
 - synopsis = None
 - media = episode
 - series = UFO Robot Grendizer
 - season = 1
 - episode = 1
 - date = None
 - title = None
 - id_tvdb = None
 - id_tvmaze = None
 - extension = .en.srt

moving to /mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01 - Brothers of the Universe.en.srt
OK!

Processing Episode Subtitle "UFO Robot Grendizer - S01E01.es.srt" (22.65KB)
/mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01.es.srt
using tvmaze

search parameters
 - container = .srt
 - group = None
 - language = None
 - language_sub = {'name': 'Spanish', 'a2': 'es', 'a3': 'spa'}
 - quality = None
 - synopsis = None
 - media = episode
 - series = UFO Robot Grendizer
 - season = 1
 - episode = 1
 - date = None
 - title = None
 - id_tvdb = None
 - id_tvmaze = None
 - extension = .es.srt

moving to /mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01 - Brothers of the Universe.es.srt
OK!

Processing Episode "UFO Robot Grendizer - S01E01.mkv" (571.87MB)
/mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01.mkv
using tvmaze

search parameters
 - container = .mkv
 - group = None
 - language = None
 - language_sub = None
 - quality = None
 - synopsis = None
 - media = episode
 - series = UFO Robot Grendizer
 - season = 1
 - episode = 1
 - date = None
 - title = None
 - id_tvdb = None
 - id_tvmaze = None
 - extension = .mkv

moving to /mnt/Data/Video/TvShows/UFO Robot Grendizer/Season 01/UFO Robot Grendizer - S01E01 - Brothers of the Universe.mkv
OK!

3 out of 4 files processed successfully