Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
How to view event log remotely?
#1
Hi

I've read the wikis but just can't find the answer to this.
I'm trying to investigate why various media files aren't being scanned via the movie.db scraper and they appear in the Event Log (though with no pathname which makes it rather harder).
The main trouble is that the log is *long*!
I was hoping to view it remotely from my PC and so looked in \\kodi-box\Logfiles but all I see is a zip file which doesn't seem to contain an Event Log as such nor anything containing the scraper failed events.


How can I easily remote view the scraper entries in Event log?
Reply
#2
You don't want the Event Log. Look for the Debug Log
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
Ok thanks.
I enabled this but I still can't find it under the SMB share (the wiki says for Linux $HOME/.kodi/temp/kodi.log) but this doesn't appear to be valid for CoreElec, nor any of the other locations listed.
Reply
#4
I installed the Kodi logfile Uploader but it complains the log file is >1MB.
Reply
#5
(2020-04-09, 21:28)mr-b Wrote: but this doesn't appear to be valid for CoreElec
A quick google search found this... https://discourse.coreelec.org/t/how-to-...-logs/6494

If that does not work, then hunt around the CoreELEC forums and you might find the location. CoreELEC is a fork of Kodi and a fork that I have never used. Once you find the location, let me know where it is and I will add it to the wiki page.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#6
It should be /storage/.kodi/temp/kodi.log for CoreELEC.
Reply
#7
Thanks @FXB78, added... https://kodi.wiki/view/Template:LogfilePath
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#8
Thanks, yes I know one can post log files to CE support but I didn't want to burden them, just view them locally.
Unfortunately it seems that /storage/.kodi/temp/kodi.log isn't visible via the SMB share so I've asked the CE folks about how to do it.

I knew there was a reason why I used the plain old media files! ;-)
Reply
#9
(2020-04-09, 22:32)mr-b Wrote: Unfortunately it seems that /storage/.kodi/temp/kodi.log isn't visible via the SMB share so I've asked the CE folks about how to do it.
Just access it using SSH with FileZilla.
Reply
#10
After some struggling, Filezilla suddenly started to work and I copied the debug log file across.
The file is huge and is pretty hard to read.

But I managed to thin out some typical scanner errors (sometimes there are 12 log lines per file):

1)  2020-04-09 19:45:14.366 T:3953283968   DEBUG: VideoInfoScanner: Could not enumerate file smb://192.168.1.3/vol1/TV/Bagpuss/Bagpuss - 02 - The Owls of Athens.avi

2)  2020-04-09 19:45:17.614 T:3953283968    DEBUG: VideoInfoScanner: Scanning dir 'smb://192.168.1.3/vol4/Music Videos 3/Pere Ubu/Pere Ubu - Modern Dance DVD-A/' as not in the database

3) 2020-04-09 19:45:16.728 T:3953283968   DEBUG: VideoInfoScanner: Skipping dir 'smb://192.168.1.3/vol1/films/Brave 2012 720p BluRay DTS x264-MgB/' due to no change (fasthash)

4) 2020-04-09 19:45:22.294 T:3953283968   DEBUG: FindMovie: Searching for '3 Minute Wonder - Microsoft Babies (Week 2)' using The Movie Database scraper (path: '/storage/.kodi/addons/metadata.tvshows.themoviedb.org', content: 'tvshows', version: '3.5.2')
2020-04-09 19:45:22.330 T:3953283968   DEBUG: scraper: CreateSearchUrl returned <url cache="tmdb-search-3%20Minute%20Wonder%20-%20Microsoft%20Babies%20(Week%202)-en.json">https://api.tmdb.org/3/search/tv?api_key=6a5be4999abf74eba1f9a8311294c267&amp;query=3%20Minute%20Wonder%20-%20Microsoft%20Babies%20(Week%202)&amp;language=en&amp;append_to_response=credits,external_ids,images&amp;include_image_language=en,en,null</url>
2020-04-09 19:45:22.331 T:3953283968   DEBUG: CurlFile::Open(0x2670250) https://api.tmdb.org/3/search/tv?api_key...en,en,null
2020-04-09 19:45:22.349 T:3953283968   DEBUG: Get: Using "UTF-8" charset for "https://api.tmdb.org/3/search/tv?api_key=6a5be4999abf74eba1f9a8311294c267&query=3%20Minute%20Wonder%20-%20Microsoft%20Babies%20(Week%202)&language=en&append_to_response=credits,external_ids,images&include_image_language=en,en,null"
2020-04-09 19:45:22.351 T:3953283968   DEBUG: scraper: GetSearchResults returned <results></results>
2020-04-09 19:45:22.352 T:3953283968   DEBUG: FindMovie: Searching for '3 Minute Wonder - Microsoft Babies (Week 2)' using The Movie Database scraper (path: '/storage/.kodi/addons/metadata.tvshows.themoviedb.org', content: 'tvshows', version: '3.5.2')
2020-04-09 19:45:22.352 T:3953283968   DEBUG: scraper: CreateSearchUrl returned <url cache="tmdb-search-3%20Minute%20Wonder%20%20%20Microsoft%20Babies%20(Week%202)-en.json">https://api.tmdb.org/3/search/tv?api_key=6a5be4999abf74eba1f9a8311294c267&amp;query=3%20Minute%20Wonder%20%20%20Microsoft%20Babies%20(Week%202)&amp;language=en&amp;append_to_response=credits,external_ids,images&amp;include_image_language=en,en,null</url>
2020-04-09 19:45:22.353 T:3953283968   DEBUG: CurlFile::Open(0x2670250) https://api.tmdb.org/3/search/tv?api_key...en,en,null
2020-04-09 19:45:22.379 T:3953283968   DEBUG: Get: Using "UTF-8" charset for "https://api.tmdb.org/3/search/tv?api_key=6a5be4999abf74eba1f9a8311294c267&query=3%20Minute%20Wonder%20%20%20Microsoft%20Babies%20(Week%202)&language=en&append_to_response=credits,external_ids,images&include_image_language=en,en,null"
2020-04-09 19:45:22.381 T:3953283968   DEBUG: scraper: GetSearchResults returned <results></results>
2020-04-09 19:45:22.381 T:3953283968 WARNING: No information found for item 'smb://192.168.1.3/vol1/TV Shows 3/3 Minute Wonder - Microsoft Babies (Week 2)/', it won't be added to the library.

Is there a guide as to what all these errors mean?
Reply
#11
Normally you would post the Debug Log at Kodi Paste Site and provide the link and we can try to spot any errors. Please don't post logs in the forum.

There is no guide to explain the errors, it is just experience over time.

First thing that I spot is the zero search results. This normally means a naming problem for your files and folders...
xml:
DEBUG: scraper: GetSearchResults returned <results></results>

You have a show named as follows which has not been added the library...
xml:
"smb://192.168.1.3/vol1/TV Shows 3/3 Minute Wonder - Microsoft Babies (Week 2)/", it won't be added to the library.

And the scraper is searching for this show...
xml:
DEBUG: FindMovie: Searching for '3 Minute Wonder - Microsoft Babies (Week 2)'

So your next step is to go to TheMOvieDB website, find the show and figure out what is the problem with the name.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#12
Ok tx for the info. Sorry about the log. I didn't want to post up the entire log as it was so big, so thought it might be Ok to list a few samples.
I'll do some more digging!
Reply
#13
After some more digging I think it's just going to be too much work for each file to diagnose the issue and then apply the necessary filename or folder name manipulations, and so I think I'll just have to go back to using the files directly. I can't believe that I'm the only person affected by this ...
Even following https://kodi.wiki/view/Naming_video_files/Movies is going to take rather a long time!

It'd be cool if there was an automated tool for movie files like mp3tag for music that could have some intelligent file lookup and metadata retrieval for tagging but I guess movies are all captured differently and so it's not possible ...
Reply

Logout Mark Read Team Forum Stats Members Help
How to view event log remotely?0