Submit Video AddOn to Kodi GitHub Repository

Hello I have developed an addOn for Kodi Can someone please explain me in details how can I submit this one to the Kodi GitHub repository I have seen a lot of explains in the KODI official page, but I cannot understand because Im new to Kodi and even ...

All addons and repositories are gone

Hi, Today, after the update of some repositories and insert a bad url for m3u list of IPTV, I rebooted the kodi and all my addons, repositories and preferences (including all my favourites) were gone. I ended up with a clean kodi. After searching in ...

New User

Hi All, I'm a new Kodi user. I've done a fair amount of reading on various sites, but I'm stumped one issue in particular. I'm running Kodi 16.1 on an Amazon Firestick, and I've purchased both a Bluetooth mouse and keyboard, which I've hooked up to th...

Import of movie names from custom directory layout

TL;DR

I have a custom directory layout and naming scheme for my movie collection:

Code:
CATEGORY/LANGUAGE/SET/SOURCE_TYPE/[SOURCE_ID] SOURCE_TITLE (YEAR)/PART_ID/CONTENT
  • CATEGORY: e.g. fictional, non-fictional, show, music video
  • LANGUAGE: (main) language
  • SET: (optional) name of a set that groups several movies logically
  • SOURCE_TYPE: e.g. DVD, BD, TV, YouTube
  • SOURCE_ID: ID of the original source (e.g. publisher + catalog id, TV channel + date, YouTube ID)
  • SOURCE_TITLE: title of the original source (e.g. movie or box set)
  • YEAR: (optional) year of the release of the original source
  • PART_ID: ID or name of one part, which may be one single movie, several movies (TV series) or part of a movie (spanning multiple discs)
  • CONTENT: the actual data, either as directory (DVD, BD, SVCD), single file or multiple files
Unfortunately, this layout seems to be too complicated for use with Kodi because only the name of a file or its parent directory is used to identify a movie.

How can I best import my data into Kodi without renaming or moving files?

Currently, I have the following ideas:
  1. Create a feature request to support the full file path for movie- & folderstacking
  2. Write a script that generates NFO files from the directory layout
  3. Write a scraper

Comments? Ideas? What is the "Kodi" way to solve this problem?


The full story

I try to keep every file in its original format and to avoid format conversion wherever possible. I chose the above directory scheme to support this. It may look quite complicated, but it's universal enough to cover everything that I own, e.g. rips of physical discs, TV recordings, downloads and self-made videos. See down for some examples.

For TV series with multiple episodes per disc, I created a second directory hierarchy with 1 symbolic directory link per episode, e.g.
TV Series/Fictional/German/Columbo/Season 1/Episode 5 is a symbolic link to Movies/Fictional/German/Columbo/DVD/[Universal - 823 041 9] Die komplette erste Staffel (2005)/DVD 1.

OK, now I have this universal but proprietary directory layout. I've been using MediaPortal in the past, and it was possible to import my data using some plugins, scrapers and a little bit of manual work. I didn't find a way to achieve this in Kodi yet.

I activated Settings / File lists / Combine split video items and tried Movies are in separate folders that match the movie title. I've browsed through the forum, read about Naming video files, Moviestacking and Folderstacking and tried some regular expressions. If I understand it right, Kodi uses either the name of a file or its parent directory to identify a movie. Unfortunately this is not enough for my use case, I need at least a regular expression on the complete file path. I'm not sure if this would be enough for all cases (see example "Der Herr der Ringe" below) but I hope these exotic cases could be handled by a NFO file.

Examples

Blu-ray:
Code:
Movies/Fictional/German/-/BD/[Brainpool 88843052679] Stromberg Der Film/BD 1/BDMV/STREAM/00000.m2ts
DVD:
Code:
Movies/Fictional/German/-/DVD/[Constantin - 74321 89686 9] The Score (2002)/DVD 1/VIDEO_TS/VIDEO_TS.IFO
DVD-Box:
Code:
Movies/Fictional/German/-/DVD/[Columbia - 70103] Montys EnzykloPythonia (2003)/DVD 1 - Das Leben des Brian/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/-/DVD/[Columbia - 70103] Montys EnzykloPythonia (2003)/DVD 2 - Ritter der Kokosnuss/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/-/DVD/[Columbia - 70103] Montys EnzykloPythonia (2003)/DVD 3 - Ritter der Kokosnuss (Bonus Disc)/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/-/DVD/[Columbia - 70103] Montys EnzykloPythonia (2003)/DVD 4 - Der Sinn des Lebens/VIDEO_TS/VTS_01_0.IFO
DVD-Box with disc spanning:
Code:
Movies/Fictional/German/Der Herr der Ringe/DVD/[Warner - Z5 Y15527] Der Herr der Ringe - Die Gefährten (2001)/DVD 1 Seite A/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/Der Herr der Ringe/DVD/[Warner - Z5 Y15527] Der Herr der Ringe - Die Gefährten (2001)/DVD 1 Seite B/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/Der Herr der Ringe/DVD/[Warner - Z5 Y15527] Der Herr der Ringe - Die Gefährten (2001)/DVD 2/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/Der Herr der Ringe/DVD/[Warner - Z5 Y15528] Der Herr der Ringe - Die zwei Türme (2002)/DVD 1 Seite A/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/Der Herr der Ringe/DVD/[Warner - Z5 Y15528] Der Herr der Ringe - Die zwei Türme (2002)/DVD 1 Seite B/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/Der Herr der Ringe/DVD/[Warner - Z5 Y15528] Der Herr der Ringe - Die zwei Türme (2002)/DVD 2/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/Der Herr der Ringe/DVD/[Warner - Z5 Y15529] Der Herr der Ringe - Die Rückkehr des Königs (2003)/DVD 1 Seite A/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/Der Herr der Ringe/DVD/[Warner - Z5 Y15529] Der Herr der Ringe - Die Rückkehr des Königs (2003)/DVD 1 Seite B/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/Der Herr der Ringe/DVD/[Warner - Z5 Y15529] Der Herr der Ringe - Die Rückkehr des Königs (2003)/DVD 2/VIDEO_TS/VIDEO_TS.IFO
TV:
Code:
Movies/Fictional/German/-/TV/[2011-11-27 ProSieben] Das Experiment/FILE/Das Experiment.ts
Movies/Fictional/German/-/TV/[2002-01-12 ProSieben] Event Horizon/SVCD 1/MPEG2/AVSEQ01.MPG
TV series:
Code:
Movies/Fictional/German/Columbo/DVD/[Universal - 823 041 9] Die komplette erste Staffel (2005)/DVD 2/VIDEO_TS/VIDEO_TS.IFO
Movies/Fictional/German/Columbo/TV/[ORF1] Alter schützt vor Torheit nicht/FILE/S2E4_Part1 Alter schützt vor Torheit nicht.mpg
Movies/Fictional/German/Columbo/TV/[ORF1] Alter schützt vor Torheit nicht/FILE/S2E4_Part2 Alter schützt vor Torheit nicht.mpg
Movies/Fictional/German/Es war einmal... das Leben/YouTube/[o8xpXlZ-COg] Die Zelle/FILE/S01E01 Die Zelle.mp4
Movies/Fictional/German/Mega Man/VHS/[ProSieben Entertainment - 70007-3] Aller Anfang ist schwer/FILE/[S1E01] Aller Anfang ist schwer.mpg
Movies/Fictional/German/Mega Man/VHS/[ProSieben Entertainment - 70007-3] Aller Anfang ist schwer/FILE/[S2E09] Die Robouniversität.mpg
Movies/Fictional/German/The Powerpuff Girls/TV/[SUPERRTL] The Powerpuff Girls/DVD 1/VIDEO_TS/VIDEO_TS.IFO
Shows:
Code:
Movies/Shows/German/Helge Schneider/TV/[2004-04-29 WDR] Prix Pantheon 2004 - Helge Schneider Solo/DVD 1/VIDEO_TS/VIDEO_TS.IFO
Movies/Non-Fictional/German/SAT.1 News & Stories/TV/[2003-11-30 SAT.1] Einstürzende Doppelsterne/FILE/Einstürzende Doppelsterne.mpg
Personal:
Code:
Movies/Personal/German/School/Camera/[2000-01] Theater Performance/DVD 1/VIDEO_TS/VIDEO_TS.IFO
Movies/Personal/German/Family/Camera/[2010-01-01] Marriage/BD 1 - Ceremony/BDMV/STREAM/00000.m2ts

Albanian IPTV Links 29.09.16

#EXTM3U #EXTINF:-1,IPTVLinks.ga Film Thriller http://hyper.de1-eu.com:8000/live/test6/test6/15802.ts #EXTINF:-1,IPTVLinks.ga Film Nje http://hyper.de1-eu.com:8000/live/test6/test6/15803.ts #EXTINF:-1,IPTVLinks.ga Film Komedi http://hyper.de1-eu.com:8000/live/test6/test6/15804.ts #EXTINF:-1,IPTVLinks.ga Film Hits http://hyper.de1-eu.com:8000/live/test6/test6/15805.ts #EXTINF:-1,IPTVLinks.ga Film Dy http://hyper.de1-eu.com:8000/live/test6/test6/15806.ts #EXTINF:-1,IPTVLinks.ga Film Aksion http://hyper.de1-eu.com:8000/live/test6/test6/15807.ts #EXTINF:-1,IPTVLinks.ga Super Sport 4 http://hyper.de1-eu.com:8000/live/test6/test6/15767.ts #EXTINF:-1,IPTVLinks.ga Super Sport 3 http://hyper.de1-eu.com:8000/live/test6/test6/15766.ts #EXTINF:-1,IPTVLinks.ga Super Sport 2 http://hyper.de1-eu.com:8000/live/test6/test6/15765.ts #EXTINF:-1,IPTVLinks.ga Super Sport 1 http://hyper.de1-eu.com:8000/live/test6/test6/15764.ts #EXTINF:-1,IPTVLinks.ga Vizion Plus http://hyper.de1-eu.com:8000/live/test6/test6/15812.ts #EXTINF:-1,IPTVLinks.ga Tring World ALB http://hyper.de1-eu.com:8000/live/test6/test6/15776.ts #EXTINF:-1,IPTVLinks.ga… Read More »

The post Albanian IPTV Links 29.09.16 appeared first on IPTVLinks.ga.

Just few requests…

Hi everyone! First of all, CONGRATULATIONS for such a big application, who let everyone share info. So interested! I have some issues to talk about... 1. It would be easier for everyone to click on some icon for report broken links (to remove them...

MyPlaylist.xml Window.Is vs Window.IsVisible

I have been unable to get MyPlaylist to work correctly. In Kodi 16 MyVideoPlaylist and MyMusicPlaylist both work correctly and as desired. Each is based largely on MyVideoNav and MyMusicNav respectively, and both video and music have some matching v...

Sweden and Denmark IPTV Links 29.09.16

#EXTINF:-1,IPTVLinks.ga VIASAT Sport http://151.80.31.94:12580/live/tonton/tonton/2451.ts #EXTINF:-1,IPTVLinks.ga Viasat Fotball http://151.80.31.94:12580/live/tonton/tonton/2417.ts #EXTINF:-1,IPTVLinks.ga Viasat_Hockey http://151.80.31.94:12580/live/tonton/tonton/3389.ts #EXTINF:-1,IPTVLinks.ga Viasat_Golf http://151.80.31.94:12580/live/tonton/tonton/3387.ts #EXTINF:-1,IPTVLinks.ga Viasat_Motor http://151.80.31.94:12580/live/tonton/tonton/3390.ts #EXTINF:-1,IPTVLinks.ga Extreme Sports http://151.80.31.94:12580/live/tonton/tonton/2453.ts #EXTINF:-1,IPTVLinks.ga C More Hockey http://151.80.31.94:12580/live/tonton/tonton/2418.ts #EXTINF:-1,IPTVLinks.ga C MORE SPORT http://151.80.31.94:12580/live/tonton/tonton/2419.ts #EXTINF:-1,IPTVLinks.ga C_More_Sport_Extreme http://151.80.31.94:12580/live/tonton/tonton/2454.ts #EXTINF:-1,IPTVLinks.ga C More Tennis http://151.80.31.94:12580/live/tonton/tonton/2420.ts #EXTINF:-1,IPTVLinks.ga C More Series http://151.80.31.94:12580/live/tonton/tonton/2422.ts #EXTINF:-1,IPTVLinks.ga C More Live http://151.80.31.94:12580/live/tonton/tonton/2421.ts #EXTINF:-1,IPTVLinks.ga C_MORE_HITS http://151.80.31.94:12580/live/tonton/tonton/2416.ts #EXTINF:-1,IPTVLinks.ga C More… Read More »

The post Sweden and Denmark IPTV Links 29.09.16 appeared first on IPTVLinks.ga.