2017-02-24, 03:15
(2017-02-24, 03:09)stuartk Wrote:(2017-02-24, 02:23)jctennis Wrote: Sure, I'll do whatever I can to help. I am not always available immediately but I will try to get back to you ASAP. I'll be able to change that setting a little later and I'll report back.Awesome, because I can't reproduce this, the fuzzy subtitle matching works on my system.
I think this is another problem with the agrep on Ubuntu based systems. To confirm this, and give me something to work from, could you run the following commands and post the output from the three agreps:
Code:/usr/bin/env bash
EpisodeSubtitle='How Dare You Do That to My Bulma Vegetas Metamorphosis of Fury'
agrep -iByn "^$EpisodeSubtitle" "/media/Storage/myth2kodi/Dragon Ball Super/Dragon Ball Super.Ename.txt"
agrep -iByn "^$EpisodeSubtitle" "/media/Storage/myth2kodi/Dragon Ball Super/Dragon Ball Super.Ename.txt" | grep -m1 ^
agrep -iByn "^$EpisodeSubtitle" "/media/Storage/myth2kodi/Dragon Ball Super/Dragon Ball Super.Ename.txt" | grep -m1 ^ | sed 's/:.*//'
Code:
tvgserver@tvserver-OptiPlex-760:/media/Storage/myth2kodi$ /usr/bin/env bash
tvgserver@tvserver-OptiPlex-760:/media/Storage/myth2kodi$ EpisodeSubtitle='How Dare You Do That to My Bulma Vegetas Metamorphosis of Fury'
tvgserver@tvserver-OptiPlex-760:/media/Storage/myth2kodi$ agrep -iByn "^$EpisodeSubtitle" "/media/Storage/myth2kodi/Dragon Ball Super/Dragon Ball Super.Ename.txt"
agrep: pattern too long (has > 32 chars)
tvgserver@tvserver-OptiPlex-760:/media/Storage/myth2kodi$ agrep -iByn "^$EpisodeSubtitle" "/media/Storage/myth2kodi/Dragon Ball Super/Dragon Ball Super.Ename.txt" | grep -m1 ^
agrep: pattern too long (has > 32 chars)
tvgserver@tvserver-OptiPlex-760:/media/Storage/myth2kodi$ agrep -iByn "^$EpisodeSubtitle" "/media/Storage/myth2kodi/Dragon Ball Super/Dragon Ball Super.Ename.txt" | grep -m1 ^ | sed 's/:.*//'
agrep: pattern too long (has > 32 chars)
tvgserver@tvserver-OptiPlex-760:/media/Storage/myth2kodi$
Does that help at all?
ETA: This is the output after changing that setting
Code:
myth2kodi 1878_20170219010000.ts
DEBUG: ENTERING: log_rotation() ; CALLED FROM: m2k_init()
DEBUG: ENTERING: validate_settings() ; CALLED FROM: m2k_init()
DEBUG: myth2kodi script initialisation complete.
DEBUG: Running myth2kodi as mythtv
DEBUG: ENTERING: validate_args() ; CALLED FROM: main()
DEBUG: Call seems correct: myth2kodi '1878_20170219010000.ts' "" "" "" '' ''
DEBUG: No command flag set. Processing as recording.
INFO: Processing: 1878_20170219010000.ts
DEBUG: ENTERING: process_mythtvdb() ; CALLED FROM: main()
DEBUG: ENTERING: get_mythtvdb_info() ; CALLED FROM: process_mythtvdb()
DEBUG: ENTERING: get_mythtvdb_info_pythonbindings() ; CALLED FROM: get_mythtvdb_info()
m2kdir: /media/Storage/myth2kodi
binpath: /usr/local/bin
InputFileBasename: 1878_20170219010000.ts
DBPin: 0000
DBHostName: 192.168.1.78
MySQLMythDb: mythconverg
MySQLuser: mythtv
MySQLpass: mythtv
InputTitle:
InputSubtitle:
InputSeasonNum:
InputEpisodeNum:
INFO: Accessing MythTV DataBase Using PythonBindings:
INFO: Attempting to pull database information on 1878_20170219010000.ts
DEBUG: Storing MythTV-DB info in temporary file: '/tmp/m2k_recinfo_2017-02-23T201748-O7eS'
mythdb_access: DEBUG:__main__:Establishing database connection
mythdb_access: DEBUG:__main__:Attempting to write data to file: /tmp/m2k_recinfo_2017-02-23T201748-O7eS
mythdb_access: DEBUG:__main__:Calling write_data()
mythdb_access: DEBUG:__main__:Operation complete.
mythdb_access: DEBUG:__main__:Closing out the file/stdout
DEBUG: Guide data as extracted by: get_mythtvdb_info_pythonbindings()
chanid=1878
starttime=2017-02-18 20:00:00-05:00
endtime=2017-02-18 20:30:01-05:00
title=Dragon Ball Super
subtitle=How Dare You Do That to My Bulma! Vegeta's Metamorphosis of Fury!
description=
season=0
episode=0
category=Children
hostname=tvserver-OptiPlex-760
bookmark=0
editing=0
cutlist=0
autoexpire=0
commflagged=1
recgroup=Default
recordid=34
seriesid=EP02576133
programid=EP025761330007
inetref=ttvdb.py_295068
lastmodified=2017-02-21 02:42:03-05:00
filesize=2208349520
stars=0.0
previouslyshown=0
originalairdate=2017-02-18
preserve=0
findid=0
deletepending=0
transcoder=0
timestretch=1.0
recpriority=2
basename=1878_20170219010000.ts
progstart=2017-02-18 20:00:00-05:00
progend=2017-02-18 20:30:00-05:00
playgroup=Default
profile=Default
duplicate=1
transcoded=0
watched=1
storagegroup=Default
bookmarkupdate=2017-02-21 02:42:03-05:00
recgroupid=1
recordedid=1614
inputname=5: MPEG2TS
startdata[0]=0
startdata[1]=22424
startdata[2]=47035
stopdata[0]=587
stopdata[1]=30225
stopdata[2]=54063
xmltvgrabber=schedulesdirect1
DEBUG: Created a temporary comskip markupstart file: '/tmp/m2k_markupstart_2017-02-23T201748-k7qR'
DEBUG: Created a temporary comskip markupstop file: '/tmp/m2k_markupstop_2017-02-23T201748-Chyx'
DEBUG: ENTERING: generate_comskip() ; CALLED FROM: get_mythtvdb_info_pythonbindings()
DEBUG: Created a temporary comskip markupframes file: '/tmp/m2k_markupframes_2017-02-23T201748-fCZQ'
DEBUG: COMMERCIAL DATA START:0 STOP:587
DEBUG: COMMERCIAL DATA START:22424 STOP:30225
DEBUG: COMMERCIAL DATA START:47035 STOP:54063
DEBUG: Not removing the temporary markup files: '/tmp/m2k_markupstart_2017-02-23T201748-k7qR'; '/tmp/m2k_markupstop_2017-02-23T201748-Chyx'.
DEBUG: Setting the following variables based on MythTV-DB guide data:
InputTitle=Dragon Ball Super
InputSubtitle=How Dare You Do That to My Bulma! Vegeta's Metamorphosis of Fury!
InputSeasonNum=0
InputEpisodeNum=0
ShowCategory=Children
MovieAirDate=
OriginalAirDate=2017-02-18
StorageGroup=Default
Stars=0.0
Plot=
LocalSeriesID=EP02576133
ProgramID=EP025761330007
ChanID=1878
ShowStartTime=2017-02-18 20:00:00-05:00
XMLTVGrabber=schedulesdirect1
DEBUG: Not removing the temporary MythTV-DB info file: '/tmp/m2k_recinfo_2017-02-23T201748-O7eS'
DEBUG: ENTERING: process_mythtvdb_schedulesdirect() ; CALLED FROM: process_mythtvdb()
INFO: Processing MythTV database info as SchedulesDirect.
DEBUG: Input and MythTV-DB guide data for 1878_20170219010000.ts
RECSTART:2017-02-18 20:00:00-05:00
DATE: 2017-02-18
PROGRAMID:EP025761330007
ShowCategory:Children
InputTitle:Dragon Ball Super
InputSubtitle:How Dare You Do That to My Bulma! Vegeta's Metamorphosis of Fury!
Sxx: UNKNOWN
Exx: UNKNOWN
PLOT:
DEBUG: ENTERING: show_translation() ; CALLED FROM: main()
INFO: USER TRANSLATION: Dragon Ball Super = Dragon Ball Super
DEBUG: ENTERING: process_ignore_lists() ; CALLED FROM: main()
DEBUG: ENTERING: periodic_maintenace() ; CALLED FROM: main()
DEBUG: ENTERING: download_series_identification() ; CALLED FROM: main()
INFO: SEARCHING www.TheTVDB.com FOR Dragon%20Ball%20Super
DEBUG: Created a temporary zap2it file: '/tmp/m2k_zap2it_2017-02-23T201748-26QT'
DEBUG: Not removing the temporary working file: '/tmp/m2k_working_2017-02-23T201748-6zNv'
DEBUG: ENTERING: get_serieslinenumber_zap2itid() ; CALLED FROM: main()
DEBUG: TESTING FOR ZAP2ITID MATCH: Dragon Ball Super
WARNING: get_serieslinenumber_zap2itid() couldn't find serieslinenumber with Zap2itSeriesID
DEBUG: ENTERING: get_serieslinenumber_showname() ; CALLED FROM: main()
DEBUG: ENTERING: set_seriesid_newshowname_from_serieslinenumber() ; CALLED FROM: main()
INFO: FOUND:Dragon Ball Super ID#:295068 WITH CONFIDENCE:-1
DEBUG: ENTERING: make_m2k_database_dir() ; CALLED FROM: main()
DEBUG: ENTERING: check_m2k_database_up_to_date() ; CALLED FROM: main()
INFO: DATABASE MAINTAINED. Current: 1487897536. Next update: 1488134563.
INFO: Processing SeriesID:295068
DEBUG: ENTERING: set_absolute_episode_number_by_airdate() ; CALLED FROM: main()
WARNING: AIRDATE FAILED. TITLE MATCH ON ABSOLUTE EPISODE NUMBER:
DEBUG: ENTERING: set_absolute_episode_number_by_ename() ; CALLED FROM: main()
WARNING: AIRDATE/STANDARD LOGIC FAILED. FUZZY LOGIC ABSOLUTE: . Requiring doover.
DEBUG: ENTERING: set_absolute_episode_number_by_ename_fuzzy() ; CALLED FROM: main()
agrep: pattern too long (has > 32 chars)
DEBUG: ENTERING: increment_total_matches() ; CALLED FROM: main()
DEBUG: TOTAL FUZZY LOGIC MATCHES:3910
DEBUG: TOTAL VERIFIED FUZZY ERRORS:27
WARNING: Couldn't set Sxx and Exx from MythTV-DB or set them based on InputSubtitle.
DEBUG: PlotMatchFallback is Enabled
DEBUG: ENTERING: getAbsoluteEpisodeNumberWithFuzzyPlotMatch() ; CALLED FROM: main()
AbsoluteEpisodeNumber:
NewShowName: Dragon Ball Super
Plot:
PlotLength: 1
WARNING: getAbsoluteEpisodeNumberWithFuzzyPlotMatch() - Plot is too short to attempt fuzzy guess.
WARNING: Failed in last ditch attempt to identify episode with fuzzy plot match, we have no SxxExx.
WARNING: Identified recording as episode but failed to determine episode number, requiring doover.
WARNING: ConfidenceRating low. Requiring doover.
DEBUG: ENTERING: check_filesystem() ; CALLED FROM: main()
DEBUG: ENTERING: check_write() ; CALLED FROM: check_filesystem()
Called with 3 arguments
arg 1 = 2106
arg 2 = 1194069
arg 3 = /media/Storage/Videos
DEBUG: ENTERING: check_write() ; CALLED FROM: check_filesystem()
Called with 3 arguments
arg 1 = 2106
arg 2 = 132027
arg 3 = /home/mythtv/recordedTV
DEBUG: ENTERING: check_write() ; CALLED FROM: check_filesystem()
Called with 3 arguments
arg 1 = 2106
arg 2 = 1194069
arg 3 = /media/Storage/Movies
DEBUG: ENTERING: check_write() ; CALLED FROM: check_filesystem()
Called with 3 arguments
arg 1 = 2106
arg 2 = 132027
arg 3 = /home/mythtv/recordedMovies
DEBUG: ENTERING: check_write() ; CALLED FROM: check_filesystem()
Called with 3 arguments
arg 1 = 2106
arg 2 = 1194069
arg 3 = /media/Storage/recordedShows
DEBUG: ENTERING: check_write() ; CALLED FROM: check_filesystem()
Called with 3 arguments
arg 1 = 2106
arg 2 = 132027
arg 3 = /home/mythtv/recordedShows
DEBUG: ENTERING: check_write() ; CALLED FROM: check_filesystem()
Called with 3 arguments
arg 1 = 1
arg 2 = 1194069
arg 3 = /media/Storage/mythtv/recordings
DEBUG: ENTERING: check_write() ; CALLED FROM: check_filesystem()
Called with 3 arguments
arg 1 = 5
arg 2 = 1194069
arg 3 = /media/Storage/myth2kodi
DEBUG: ENTERING: check_write() ; CALLED FROM: check_filesystem()
Called with 3 arguments
arg 1 = 5
arg 2 = 132027
arg 3 = /tmp
DEBUG: ENTERING: msg_operation_summary() ; CALLED FROM: main()
INFO: ################ OPERATION SUMMARY ################
JOB: myth2kodi '1878_20170219010000.ts' "" "" "" '' ''
m2kVersion=myth2kodi Version 1.2.2-
CALLER=mythtv-
m2kdir=/media/Storage/myth2kodi-
Timeout=50-
APIkey=3B054E548E3F4FBE-
PROCESS_RECORDING_MODE=MOVE-
SYMLINK=Enabled-
TargetPathIsInputPath=Disabled-
FailSafeMode=Disabled-
FailSafeDir=/media/Storage/FailSafe-
Notify=Disabled-
DEBUG: ENTERING: msg_dir_summary() ; CALLED FROM: msg_operation_summary()
A summary table of writeable directories: 0='WRITEABLE' ; 1='NOT WRITEABLE'
USER SETTING |FLAG |Free Space |Folder name
m2kdir | 0 | 1194069 MB | /media/Storage/myth2kodi
M2K_TMPDIR | 0 | 132027 MB | /tmp
originaldirname | 0 | 1194069 MB | /media/Storage/mythtv/recordings
MoveDir | 0 | 1194069 MB | /media/Storage/Videos
AlternateMoveDir | 0 | 132027 MB | /home/mythtv/recordedTV
PrimaryMovieDir | 0 | 1194069 MB | /media/Storage/Movies
AlternateMovieDir | 0 | 132027 MB | /home/mythtv/recordedMovies
PrimaryShowDir | 0 | 1194069 MB | /media/Storage/recordedShows
AlternateShowDir | 0 | 132027 MB | /home/mythtv/recordedShows
InputPath=1878_20170219010000.ts-
InputTitle=Dragon Ball Super-
InputSubtitle=How Dare You Do That to My Bulma! Vegeta's Metamorphosis of Fury!-
InputSeasonNum=0-
InputEpisodeNum=0-
showtranslation=Dragon Ball Super-
ShowName=Dragon Ball Super-
LastUpdatedTVDB=1487869643-
CurrentTimeTVDB=1487897536-
SeriesID=295068-
NewShowName=Dragon Ball Super-
AbsoluteEpisodeNumber=-
EpisodeSubtitle=How Dare You Do That to My Bulma Vegetas Metamorphosis of Fury-
Sxx=- Exx=-
MoveFileSize=2106 MB
ConfidenceRating=-4-
ConfidenceReasoning= Attempted Match On Zap2itID: Failed; Attempted match on Standard Logic: Successful; Attempted match on OriginalAirDate: Failed; Attempted SubTitle match on Standard logic: Failed; Attempted SubTitle match on Fuzzy logic: Failed; Could not get Sxx and Exx from MythTV-DB or set them based on InputSubtitle; Guide Data did not match a specific Episode;-
XMLTVGrabber=schedulesdirect1-
ShowStartTime=2017-02-18 20:00:00-05:00-
MovieAirDate=-
OriginalAirDate=2017-02-18-
ProgramID=EP025761330007-
ChanID=1878-
StorageGroup=Default-
ShowCategory=Children-
GoForDoover=0-
ProgramIDType=Series With Episode Data-
rating=0-
Zap2itSeriesID=2576133-
LocalSeriesID=EP02576133-
Plot=-
INFO: ################ END OF OPERATION SUMMARY ################
DEBUG: ENTERING: msg_unable_to_identify_recording() ; CALLED FROM: main()
ERROR: Operation failed, unable to identify episode info for recording:
1878_20170219010000.ts
This means that insufficient information was provided to myth2kodi
and the missing information couldn't be determined by other means.
If you know the correct information, provide it at the command line,
see: myth2kodi --usage
Normally myth2kodi can determine this information from:
your MythTV-DB; TheTVDB; or tvmaze.
Check that information on www.TheTVDB.com is complete for this series.
#### If not, Please consider helping out and adding to TheTVDB. ####
#### http://www.thetvdb.com/?tab=series&id=295068 ####
To force processing of unrecognised recordings, disable ShowStopper.
DEBUG: ENTERING: exit_job() ; CALLED FROM: main()
Called with 1 arguments
arg 1 = NameCouldNotBeAssigned
WARNING: NAME COULD NOT BE ASSIGNED BASED UPON DATA SUPPLIED
DEBUG: Either: Notify=Disabled; scan mode; recording is in an ignore list; or NOTIFY_MSG was not set.
$
For the record, I'm not super concerned with that one show so much as helping make this bulletproof for everything. I know it misses something once in a while so I figured anything that helps sort this issue will make an improvement all around.