Kodi Community Forum

Full Version: Unscrapable video clips (home videos, pr0n, youtube dls, etc.). Batch .NFO solution?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Problem
I have tons of video clips (downloaded from youtube, etc), pr0n, home videos, etc, that are unable to be properly scraped. I'd rather add them to the library than operate in video mode as I'd like to add thumbnails and other art in the future. One possible solution would be to name the files properly and then somehow batch create .NFO files that name the TITLE with the file name.

Example A (lots of random clips in one folder)

C:\YOUTUBE\Clip1.avi
C:\YOUTUBE\Clip2.mkv


Is there a batch .nfo generator that will create ..

C:\YOUTUBE\Clip1.nfo
C:\YOUTUBE\Clip2.nfo


...so that they could be added to the library? Is there a better solution?

Example B (each single scene video clip in a separate folder)

C:\NOTPORN\REALITYCZARS\CensoredVideoTitle\CensoredVideoTitle.mkv
C:\NOTPORN\REALITYCZARS\OtherCensoredVideoTitle\OtherCensoredVideoTitle.mkv


I'd like to also be able to batch create .NFOs for the above scenario.

What is the best way to go about creating .NFOs in bulk so that I can see these files in the library. Is it possible to treat them as music videos for XBMC purposes in order to keep them out of my movies and TV shows?

Maybe I'm approaching this all wrong?






I came up with this .BAT batch based solution earlier today for this very problem.

The justfilename scraper is nice, but it requires installation and scrapes to movie files. I wanted something that could scrape to a TV series, so I could group clips together.

http://forum.xbmc.org/showthread.php?tid=153253

It's not perfect but it'll help if you have a huge pile of related clips you want to clump together and don't care much about ordering or metadata.
I use MediaMonkey 4. This is a tagger that allows tagging of video files (obviously you have to manually tag video clips, but you can at least populate title from filename). There is an addon script for this called "custom report generator". Basic function is you select the tag fields you want, select the files you want, and it creates a report. One of the report options is "xml". I found it easy to hack this to create a musicvideo.nfo or movie.nfo. The only drawback is if you need unicode support, the script only can provide UTF-16 encoding, and XBMC can't read this, but there are freeware enocding converters out there that will batch-convert UTF-16 to UTF-8 encoding (which XBMC can parse).

Not the most elegant I know, but it does work.

scott s.
.