2015-02-08, 06:56
Hi
We have multiple drives with different owners hence some duplicated content and multiple clients using a shared database.
For a while now I have been using a patch I created to merge duplicate entries when browsing kodi.
Duplicate movies and tv episodes are merged into a single directory, which when opened displays all the versions.
This works in a similar way to movie sets.
I'm interested in getting this into kodi and I'm willing to spend some time working on this.
In the past I found a post requesting this feature and a dev responded saying this should probably be handled as a plugin (or in the skin) --- I couldn't find this again.
Is this on the right track or should this be an addon?
[UPDATE]
Latest windows built 11th Jan 2016 based on Jarivs b2 here (source)
Previous builds
I'd appreciate if people gave this a try and let me know what you think.
Disclaimer this is work in process and could break things, this does not attempt to modify the database so should work with an existing Isengard Alpha environment.
Gotchas/things to test:
* Discovering the best quality version to report (in skin as HD/SD) is loaded in the background. Fixed by 1ae04a1
* TV episodes are sorted incorrectly when a mix of duplicates and non-duplicates exist for season due to directories being sorted first. - Fixed by 1ae04a1 - However breaks IgnoreArticle (Ignoring the article). Movies seem to be fine.
* Merged TV items will display "TV show information" rather than "Episode Information" - Fixed by 59ce350
* Filtering was broken - Fixed by 9177e52
* Added into Settings->Video two settings to allow Best Video/Audio/Subtitle, Always Ask or Disabled - Fixed by b164a5b
* I broke IgnoreArticle, with sorting (see Gotcha). - Fixed in Jarvis rework
* Ordering of the web interface is messed up by the inclusion of folders - Fixed in Jarvis rework
Remaining Issues
* Stop using CFileItemList and fix copy changed to reference
* Rework "list all duplicates" menu item into Kodi, currently its stealing from the add-on buttons
* Resume info extra is overwritten when best is used by the best item (might be best to leave like this)
* When given multiple best choices it is random as to which is chosen it is probably best to sort by path or something so results are consistent.
Missing Features I would like to add:
* User supplied regex matching to each individual duplicate such that they can be distinguished - currently the path is added to the title
Also see conversations below
Comments, criticisms, feature requests are all welcome.
[UPDATE]
Git repo https://github.com/rsanger/xbmc
Thanks,
Richard Sanger
We have multiple drives with different owners hence some duplicated content and multiple clients using a shared database.
For a while now I have been using a patch I created to merge duplicate entries when browsing kodi.
Duplicate movies and tv episodes are merged into a single directory, which when opened displays all the versions.
This works in a similar way to movie sets.
I'm interested in getting this into kodi and I'm willing to spend some time working on this.
In the past I found a post requesting this feature and a dev responded saying this should probably be handled as a plugin (or in the skin) --- I couldn't find this again.
Is this on the right track or should this be an addon?
[UPDATE]
Latest windows built 11th Jan 2016 based on Jarivs b2 here (source)
Previous builds
I'd appreciate if people gave this a try and let me know what you think.
Disclaimer this is work in process and could break things, this does not attempt to modify the database so should work with an existing Isengard Alpha environment.
Gotchas/things to test:
* Discovering the best quality version to report (in skin as HD/SD) is loaded in the background. Fixed by 1ae04a1
* TV episodes are sorted incorrectly when a mix of duplicates and non-duplicates exist for season due to directories being sorted first. - Fixed by 1ae04a1 - However breaks IgnoreArticle (Ignoring the article). Movies seem to be fine.
* Merged TV items will display "TV show information" rather than "Episode Information" - Fixed by 59ce350
* Filtering was broken - Fixed by 9177e52
* Added into Settings->Video two settings to allow Best Video/Audio/Subtitle, Always Ask or Disabled - Fixed by b164a5b
* I broke IgnoreArticle, with sorting (see Gotcha). - Fixed in Jarvis rework
* Ordering of the web interface is messed up by the inclusion of folders - Fixed in Jarvis rework
Remaining Issues
* Stop using CFileItemList and fix copy changed to reference
* Rework "list all duplicates" menu item into Kodi, currently its stealing from the add-on buttons
* Resume info extra is overwritten when best is used by the best item (might be best to leave like this)
* When given multiple best choices it is random as to which is chosen it is probably best to sort by path or something so results are consistent.
Missing Features I would like to add:
* User supplied regex matching to each individual duplicate such that they can be distinguished - currently the path is added to the title
Also see conversations below
Comments, criticisms, feature requests are all welcome.
[UPDATE]
Git repo https://github.com/rsanger/xbmc
Thanks,
Richard Sanger