Code Monkey home page Code Monkey logo

script.playrandomvideos's People

Contributors

donotnoot avatar eng2heb avatar porternw avatar rmrector avatar wietze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

script.playrandomvideos's Issues

Exception when trying to use WATCHMODE_WATCHEDBEFORE

2022-04-08 17:36:19.923 T:30176   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'NameError'>
                                                   Error Contents: name '_build_watched_before_fiter' is not defined
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.playrandomvideos/python/context.py", line 14, in <module>
                                                       playrandom.play(pathinfo)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.playrandomvideos/python/lib/playrandom.py", line 32, in play
                                                       content, info = _parse_path(pathinfo)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.playrandomvideos/python/lib/playrandom.py", line 151, in _parse_path
                                                       lastwatched_filter = _build_watched_before_fiter(content)
                                                   NameError: name '_build_watched_before_fiter' is not defined
                                                   -->End of Python script error report<--

Probably bad merge with 65a8efa.

Example JSON-RPC

Hi, awesome plugin!
Could you provide an example of how to use it with the jsonrpc?
for instance, the call to play a random episode from a specific tvshow.

Many thanks in advance

Playlist mixes with other shows

When I go to "play random" on a TV show, it plays a random episode, but after a few episodes (ie if I've watched them already), it jumps to a different TV show entirely that I've triggered "play random" on in the past. I even go to my playlist and clear it entirely, and it still does this mixup with multiple shows!

Making "Play random" compatible with external video players

I'm talking specifically about "Play random", not "Play one random". With external players, "Play random" results in only one video being played. When using the default Kodi's player, this continuously plays random episodes from a selected TV show.

Is there anything that can be done to enable this continuous playback for external players? Support for "Play next" or "Play previous" buttons would be very useful as well.

Thanks for creating and maintaining this plugin!

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.