2022-05-16, 18:43
(2022-05-14, 16:03)shaktoo Wrote: @CastagnaIT : Addon creates the folders in library with a basic all episodes / season in the one & same folder & this folder does not even have the year in its naming convertion(example with pictures to follow at the end).
For people like me who like to edit / get the best local metadata & artwork using like tinymedia manager or embermedia manager (which changes & puts all episodes correctly in season folders etc and manages nfo's/artwork/trailers ) there is the creating duplicates issue. The addon thinks that the library is empty ( as the folders have been mdofied my a media manager hence) and then creates another set of .strm's in a new folder but again with a basic only structure. This creates a perpetual issue epecially if there is an ongoing series which requires updating & addition of content as this keeps doubling up.
Is there any way this could be rectified ?
Maybe someone already has this sorted and they could kindly share this here
Or maybe we can get the addon to create the strm's in season specific folders with the tmdb naming conventions so there isnt any conflict ?
here are some pictures depicting this issue
yes the addon works in this way then if you rename the names of folders you will break the addon library management
the only way is rework the addon source code that manage the library and maybe also the database,
if this rework will be done, you should consider
- a way to handled duplicates (the reason of the year added that you want remove)
- the new library system must not break the old library system, keep both or add a migration at addon start-up, this to not compromise all users who still use it
- if a folder will be changed from an external addon, in any case this will cause problems, then a different system will have to be found to map the library to the database
- must be tested locally and with Kodi mysql for multiple kodi instances
this is a big re-work that will require a lot of time and will not be considered by me
but someone can do it if you wish
However strm are legacy and will be replaced in the future by Media import: https://forum.kodi.tv/showthread.php?tid=224794
so no more STRM files saved to disk the data will be fetch from addon/network
this is another reason because i will not spend time on this