matthuisman / slyguy.addons

Github mirror of SlyGuy add-ons
https://www.matthuisman.nz/2020/02/slyguy-kodi-repository.html
282 stars 77 forks source link

Function to export starred videos as strm file (kodi library integration) #14

Open rokam opened 3 years ago

rokam commented 3 years ago

Hi, I think that it would be useful to export the movies/series as strm file to be part of Kodi library. Movies should be stored in a different folder than series.

That could be added to multiple addons here.

Usually, strm files are plaintext files with Kodi URI inside, something like:

plugin://{addon}/play/{id}/
matthuisman commented 3 years ago

have you tried https://forum.kodi.tv/showthread.php?tid=327514

rokam commented 3 years ago

It doesn't work with python 3.0. My suggestion is something similar to netflix addon

jmh2002 commented 3 years ago

@matthuisman

One issue with using other options such as Osmosis and Library Integration Tool is that just like a Kodi library scraper they rely on the Shows being available on TMDB, etc.

As an example, I particularly use your addons such as TVNZ On Demand for local NZ shows that are often not released overseas and therefore not added to Trakt, TMDB, etc.

So whilst I can add them to the Kodi library via various methods they don't have any Metadata. This is really a pity, given that all the Metadata is already scraped and present in your addon (and other addons have a similar problem too of course).

With this in mind, would you consider some type of Add to Library feature for your addons, that also exports the Metadata? (of course if it was a stand alone addon that worked for other addons that would be amazing, but that's probably too big of an ask...)

Or, taking a different approach, is it even possible to 'export to TMDB', using an API, so that then they can be added to Kodi via Trakt, TMDB, etc in the normal way? Is that even possible?

Thanks for considering this, or perhaps suggesting another solution regarding how to best handle this issue :)

vinhui commented 2 years ago

I'd like this feature as well. Would like to have all the series that I'm watching, or planning on watching in one place.

Zuikkis commented 8 months ago

This would be great feature.

For Disney+ it probably would work well enough even if using Kodi scrapers for metadata. So really only thing needed is directories for movies & shows where you create the appropriately named .strm so Kodi can find the metadata, and then some code to handle the plugin: call.

matthuisman commented 1 month ago

for the problem of naming files, kodi has https://romanvm.github.io/Kodistubs/_modules/xbmcvfs.html#makeLegalFilename which could be used :)

matthuisman commented 4 days ago

I started working on this feature last week :) posted a sneak peak on my twitter: https://x.com/MattHuismanNZ/status/1831262551923171358