Release myth2kodi -- generate Kodi friendly file-names from MythTV recordings.
#16
(2017-02-10, 06:30)stuartk Wrote: @mikewiz38 I had a look through the full debug diagnostics log
you posted. Regarding the two other failures:

Desktop Notification:
The desktop notifications are Disabled by default, so if you
don't want to use them then this failure isn't a problem.

As far as I can see the NotifyUserName is the same user as
the one running myth2kodi, but for some reason it seems that
Ubuntu is configured to not allow a user to sudo to themselves,
which seems weird to me... Anyway, I've added a work-around to
the repository (not the release above), if you want to use
desktop notifications (only works on Gnome) you can grab the
latest myth2kodi file directly from the repo.
If you do try it then can you let me know if it works?

Kodi Communication:
From the log message it seems like your system is running
a web server on port 8080 -- if http access to Kodi isn't
enabled and nothing else is running then you shouldn't get
any response. If you want to Enable Kodi communication
then you'll need to allow it from within Kodi, setting a port
that isn't already in use. In Kodi, see:
Code:
System -> Settings -> Services -> Web Server
then make sure you've set myth2kodi's KODIIPs parameter
appropriately.

By default some Kodi communication is Enabled, so if you don't
want to have it Enabled, you can Disable it in myth2kodi.conf
by setting:
Code:
KODIUpdate='Disabled'
KODINotify='Disabled'
(The third Kodi communication option, KODIClean, is Disabled by
default so you don't have to do anything for that). If you Disable
Kodi communication then remember that you'll have to manually
update your Kodi library to see changes.

Thanks for the response. I re-ran the patched version and I'm pretty sure it's working now. Here's the code snip below...

I'm also aware of the desktop notification and kodi notifications not working. Those are easy to fix and didn't bother to configure them. I'm guessing they're optional and not necessary....I just won't get kodi to update the library once files are added from myth2kodi.

Thank you for the patches and all the help!!!

Code:
INFO: Critical Filesystem checks ***PASSED***
press any key to test myth2kodi...
INFO: Recordings Database is not used for testing.
      Performing fuzzy logic lookup on database file. Please wait.
      It may take a moment to build the myth2kodi database files.
      Executing: myth2kodi 'testfile.ext' 'mister rogers' 'show 1332'
      Testing exit status...
INFO: Processing: testfile.ext
INFO: Temporarily disabling access to MythTV-DB -- for diagnostics.
INFO: SEARCHING www.TheTVDB.com FOR mister%20rogers
WARNING: FAILED to get series line number from table with standard logic, requiring doover.
INFO: FOUND:Mister Rogers' Neighborhood ID#:77750 WITH CONFIDENCE:-2
INFO: Created myth2kodi Database Folder: /home/mythtv/.myth2kodi/Mister Rogers' Neighborhood
INFO: Seems we've never updated Mister Rogers' Neighborhood from TheTVDB -- no lastupdated.time file.
INFO: Downloading Series: 77750
INFO: Downloaded new information for Mister Rogers' Neighborhood
INFO: Cleaning up old information before processing.
INFO: Parsing Downloaded information from TheTVDB: Mister Rogers' Neighborhood.xml
INFO: LOCAL DATABASE UPDATED: /home/mythtv/.myth2kodi/Mister Rogers' Neighborhood
INFO: Processing SeriesID:77750
WARNING: AIRDATE FAILED. TITLE MATCH ON ABSOLUTE EPISODE NUMBER:
INFO: EPISODE:Show 1332 EPISODE NUMBER:462 S07E07 WITH CONFIDENCE: -1
INFO: ################ OPERATION SUMMARY ################
      JOB: myth2kodi 'testfile.ext' "mister rogers" "show 1332" "" '' ''
      CALLER=mythtv-
      PROCESS_RECORDING_MODE=MOVE-
      SYMLINK=Enabled-
      TargetPathIsInputPath=Disabled-
      FailSafeMode=Disabled-
      A summary table of writeable directories: 0='WRITEABLE' ; 1='NOT WRITEABLE'
      USER SETTING      |FLAG |Free Space  |Folder name
      m2kdir            |  0  |   28024 MB | /home/mythtv/.myth2kodi
      M2K_TMPDIR        |  0  |   28024 MB | /tmp
      originaldirname   |  0  |   28024 MB | /home/mythtv
      MoveDir           |  0  | 1446587 MB | /mnt/kodi-videos/TV
      AlternateMoveDir  |  0  | 1446587 MB | /mnt/mythtv/recordedTV
      PrimaryMovieDir   |  0  | 1446587 MB | /mnt/kodi-videos/Movies
      AlternateMovieDir |  0  | 1446587 MB | /mnt/mythtv/recordedMovies
      PrimaryShowDir    |  0  | 1446587 MB | /mnt/kodi-videos/TV/Misc
      AlternateShowDir  |  0  | 1446587 MB | /mnt/mythtv/recordedShows
      InputPath=testfile.ext-
      InputTitle=mister rogers-
      InputSubtitle=show 1332-
      InputSeasonNum=-
      InputEpisodeNum=-
      showtranslation=-
      ShowName=mister rogers-
      SeriesID=77750-
      NewShowName=Mister Rogers' Neighborhood-
      EpisodeSubtitle=Show 1332-
      Sxx=S07- Exx=E07-
      MoveFileSize=953 MB
      ConfidenceRating=-3-
      ConfidenceReasoning= Attempted Match On Zap2itID: Failed; Attempted match on Standard Logic: Failed; Attempted Title match on Fuzzy Logic: Successful; Attempted match on OriginalAirDate: Failed; Attempted SubTitle match on Standard logic: Successful; -
INFO: ################ END OF OPERATION SUMMARY ################
INFO: Set file name as: Mister Rogers Neighborhood S07E07 (Show 1332)
INFO: CREATING SERIES FOLDER: /mnt/kodi-videos/TV/Mister Rogers Neighborhood
INFO: CREATING SEASON FOLDER: /mnt/kodi-videos/TV/Mister Rogers Neighborhood/Season 7
INFO: MOVE DIRECTORY SET AS: /mnt/kodi-videos/TV/Mister Rogers Neighborhood/Season 7
      exited with status 0
press any key to continue on to the final results...
INFO: RESULTS SUMMARY:
      MythTV Database Test: ***PASSED***
      Installed Packages:   ***PASSED***      
      Notifications Test:   ***FAILED***
      KODI Communications:  ***FAILED***
      File System Checks:   ***PASSED***
      myth2kodi Testing:    ***PASSED***
      Overall Readiness:    ***PASSED***
      -----End of diagnostics-----

ERROR: Notify tests failed
       Notifications to the DBUS have failed. myth2kodi relies upon
       m2k_notify and package lib-notify to display messages on
       GNOME desktop interface. These messages will not be displayed.

ERROR: Kodi communication tests failed: 1 of 1.
       This will not prevent myth2kodi from functioning, it just means
       that myth2kodi can not send messages or library update requests
       to Kodi. There are a few possible causes for this problem:
           1. One or more of the Kodi instances you specified in KODIIPs
              is not currently running. Start Kodi.
           2. One or more of the Kodi instances is not configured to accept
              external network commands. See,
                Kodi->System->Settings->Services->Remote Control.
                Kodi->System->Settings->Services->Web Server.
           3. The settings you provided in KODIIPs are incorrect. Check
              that the IP addresses are correct. If you've set a user and
              password for http access in Kodi, make sure that you've also
              prepended them to the ip addresses in KODIIPs
                user:password@192...
      

INFO: Diagnostic mode completed: Fri Feb 10 09:24:35 CST 2017
INFO: A diagnostics log file was written to: /home/mythtv/.myth2kodi/diagnostics.log
INFO: Finished running diagnostics.
Reply


Messages In This Thread
RE: myth2kodi -- generate Kodi friendly file-names from MythTV recordings. - by User 255479 - 2017-02-10, 17:26
Logout Mark Read Team Forum Stats Members Help
myth2kodi -- generate Kodi friendly file-names from MythTV recordings.2