Giter Site home page Giter Site logo

patrick-klein / script.library.integration.tool Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 18.0 539 KB

Kodi addon that allows video plugin content to be integrated into your library

License: GNU General Public License v2.0

Python 100.00%
kodi kodi-addon kodi-addons kodi-media-center kodi-plugin

script.library.integration.tool's People

Contributors

luizoti avatar patrick-klein avatar waynethomas69 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

script.library.integration.tool's Issues

[Feature Request] Automagically update library

I have this tool synced up with my Trakt watchlist folder and whenever I add/remove a movie I need to manually click Update Library which is tedious as you could imagine. Honestly I don't even understand the reason behind the Staging feature. 😁 I imagine adding a folder via Sync directory to library and then that's it. Maybe add a polling update interval setting. So far this is one of my favorite addons! Great work =]

Kodi issue with larger strm files

This doesn't seem like a problem with the library integration tool but there may be a workaround that can be done by your add-on. I use the library integration tool to pull some movies from another Kodi add-on. Your add-on worked and did populate the manage movies folder, but any strm file that was larger in size than 4 kilobytes could not be read and properly imported by Kodi. I'm somewhat new to this but I read about nfo files. Could your strm files include only links and a separate nfo file for metadata?

[Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/script.library.integration.tool/.version'

2020-04-19 00:48:48.995 T:1530082160   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/script.library.integration.tool/.version'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.library.integration.tool/context2.py", line 45, in <module>
                                                main()
                                              File "/storage/.kodi/addons/script.library.integration.tool/resources/lib/utils.py", line 190, in wrapper
                                                check_version_file()
                                              File "/storage/.kodi/addons/script.library.integration.tool/resources/lib/utils.py", line 179, in check_version_file
                                                with open(version_file_path, 'w') as version_file:
                                            IOError: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/script.library.integration.tool/.version'
                                            -->End of Python script error report<--

Please add an option for a "delay" after directory listings. Set default to 0.

The addon I'm using with the library tool talks to a backend server that rate limits its queries (to approximately one listing every 3-4 seconds). This means that when I add a directory with several shows every show has many seasons) I end up missing lots of seasons or entire shows.

When I manually add xbmc.sleep(5000) after each directory listing in resources/lib/utils.py everything works, obviously. Another option would be back off for 5 seconds and retry listing when it results in error...

Specification on How To

Hi,

I'm testing this great tool and there's something I don't understand quite well this part in the description (is highlighted):

2) Using an external media manager
The second option is to use a media manager to generate .nfo files for each of the episodes. In order to make the staged items visible to media managers, click on "Generate all metadata items" while viewing the Seinfeld episodes. This will generate a folder for Seinfeld in Metadata/TV/ and populate it with empty files, and the titles will be appended by '-0x0'. This tag is so the media manager will recognize the file as an episode.

Have your favorite media manager (MediaElch works great) scan the Metadata/TV/ directory. It will find all the items that have generated metadata items. Now, you can create .nfo files and download artwork automatically for every episode and tvshow. Once you've gotten .nfo files saved with the correct episode numbers, you are ready to add the episodes.

MediaElch find the "episodes" but they are all seen as season 0. How can I scape starting from file name ?

Kodi 19

Any plans for kodi 19
It’s grate addon I hope you can make it work with kodi 19

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.