Kodi Community Forum
Solved Scraping Video Files for Database Analysis - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Information Providers (scrapers) (https://forum.kodi.tv/forumdisplay.php?fid=147)
+----- Forum: Movie Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=302)
+----- Thread: Solved Scraping Video Files for Database Analysis (/showthread.php?tid=372404)



Scraping Video Files for Database Analysis - lvlanson - 2023-03-08

Hey there,

I just first time configured the movie database scraping. But unfortunately my collection has a naming scheme, which does not really work well with the scraping. My files are names as follows:

This_Is_A_Movie_2023_1080p.mp4

Is there any way, that the scraper can identify the carachter '_' as a separator and use the file name to fetch information from the movie database?

Alle the best,
Thomas


RE: Scraping Video Files for Database Analysis - Klojum - 2023-03-08

(2023-03-08, 10:21)lvlanson Wrote: But unfortunately my collection has a naming scheme

Did you start this naming scheme yourself, or are you using some other mediaplayer/collection tool?
If not the latter, you could also perhaps rename your files using a batch-type tool.

AFAICT, there is only a itemseparator option in the advancedsettings.xml file designed for music artists.


RE: Scraping Video Files for Database Analysis - Karellen - 2023-03-08

(2023-03-08, 10:21)lvlanson Wrote: Is there any way, that the scraper can identify the carachter '_'
It should work. The underscore, period and space are accepted separators in filenaming.

If you provide a Debug Log, I can check what is happening. Just capture the scraping process in the log.


RE: Scraping Video Files for Database Analysis - lvlanson - 2023-03-08

What kind of separators are valid except for white space?


RE: Scraping Video Files for Database Analysis - lvlanson - 2023-03-08

(2023-03-08, 10:33)Karellen Wrote:
(2023-03-08, 10:21)lvlanson Wrote: Is there any way, that the scraper can identify the carachter '_'
It should work. The underscore, period and space are accepted separators in filenaming.

If you provide a Debug Log, I can check what is happening. Just capture the scraping process in the log.
How can I generate such a log? I am currently using Kodi on an Android TV.

Attached I have an NSF Server and I can attach an USB-Medium. Using the most recent version of Kodi which is supplied by the android web shop.


RE: Scraping Video Files for Database Analysis - Karellen - 2023-03-08

(2023-03-08, 10:35)lvlanson Wrote: How can I generate such a log? I am currently using Kodi on an Android TV.
Debug Log
And install the Kodi Loguploader addon to upload the log.


RE: Scraping Video Files for Database Analysis - lvlanson - 2023-03-08

(2023-03-08, 10:36)Karellen Wrote:
(2023-03-08, 10:35)lvlanson Wrote: How can I generate such a log? I am currently using Kodi on an Android TV.
Debug Log
And install the Kodi Loguploader addon to upload the log.
I will get back to you asap, I need some time to do that. Thanks for the input so far.


RE: Scraping Video Files for Database Analysis - lvlanson - 2023-03-08

Surprisingly rerunning managed to identify all the elements, also with underscore. I don't know what went wrong in the first pass, since only file without underscore were recognized, but now its fine. Topic can be closed. Thanks for the effort.


RE: Scraping Video Files for Database Analysis - Klojum - 2023-03-08

(2023-03-08, 18:20)lvlanson Wrote: Topic can be closed.

We don't close topics, unless it's for a very pressing reason. Good to hear that things still worked out.


Scraping Video Files for Database Analysis - Klojum - 2023-03-08

Thread marked solved.