• 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 23
[RELEASE] RandomItems (Random Items) Script
ronie Wrote:there's already an option in the script to return unwatched items only.

That isn't what the problem was. They were referring to the problem that they may have just watched episode ten of a series but the script may come up with with episode fifteen, so they can't just click and watch it as they will miss quite a bit of the story. Which is why I believe my suggested approach of the first unwatched episode of random series is superior.

I really do hope you put it in as an option. I don't know json-rpc but I will probably still end up hacking the script when I go to eden.
Reply
musera Wrote:That isn't what the problem was. They were referring to the problem that they may have just watched episode ten of a series but the script may come up with with episode fifteen, so they can't just click and watch it as they will miss quite a bit of the story.
heh, right, i stand corrected :-)
i obviously misunderstood distracto's post.
musera Wrote:Which is why I believe my suggested approach of the first unwatched episode of random series is superior.

I really do hope you put it in as an option. I don't know json-rpc but I will probably still end up hacking the script when I go to eden.

i'll have a look and see if it's easy to add.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
thanks for taking a look into it, ronie
Reply
I was wondering if it would be possible to have a possibility to retrieve custom thumbs for genres.

I'm not a big fan of pre-made genre icons because they may differ from actual content in library or/and have hardwired english labels on them.

So when browsing genres I was thinking of showing slideshow of 3-4 random thumbs from library that would mach currently highlighted genre item.

Thoughts?
My skins:

Amber
Quartz

Reply
pecinko Wrote:I was wondering if it would be possible to have a possibility to retrieve custom thumbs for genres.

I'm not a big fan of pre-made genre icons because they may differ from actual content in library or/and have hardwired english labels on them.

So when browsing genres I was thinking of showing slideshow of 3-4 random thumbs from library that would mach currently highlighted genre item.

Thoughts?

How is that related to the RandomItems script?
Reply
frellAn Wrote:How is that related to the RandomItems script?

Hm... In a way that it could retrieve 3-4 random thumbs for each genre?


Or at least this is what I'm proposing for consideration as I don't speak python.
My skins:

Amber
Quartz

Reply
ronie Wrote:the method above may be fine for dharma,
but for the pre-eden version of the script you'll need a different approach.
it uses json-rpc instead of doing sql queries through http-api.

if there's a general interest in this functionality,
we can always add it as an option.

for what it's worth, I've written a short random movie script in both SQL (for Dharma) and JSON-RPC (for Eden). Link is in my signature if you want to look at it as a starting point.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
I love all scripts that are available however it would great if they could be combined into one (maybe two). This way there's a more universal way of calling/using the script and also will increase the speed.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
Machine-Sanctum Wrote:I love all scripts that are available however it would great if they could be combined into one (maybe two). This way there's a more universal way of calling/using the script and also will increase the speed.

Agreed. Maybe I shouldn't have made a separate script but I was trying to address an item that, to my knowledge, wasn't in the randomitems script i.e. play random movie by genre.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
el_Paraguayo Wrote:Agreed. Maybe I shouldn't have made a separate script but I was trying to address an item that, to my knowledge, wasn't in the randomitems script i.e. play random movie by genre.

No problem it was just a suggestion. If there was some easy way integrating all things it would nice.
Maybe it could be integrate with the random script.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
On a basic script like this that is used by many skins, it's best to keep the userbase together. Sure if you want a change you can always propose or write it yourself, the script source is open.

If you must write your own script and release it, make sure the calls are all the same as the most popular random items script (which would be this one). Then at least the scripts will be completely interchangeable.
Reply
would any skinner mind if i turn this script into a service addon?

service addons are started automatically when xbmc starts,
this would remove the need for skins to handle that.

i can add a few settings so the user can select how often the script needs to run (alarm interval)
and if the script should return unwatched items only or not.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
I don't have anything against doing it but what about skins that use a button that regenerates them? (Alaska Revisited and XeeBo).
Reply
Hitcher Wrote:I don't have anything against doing it but what about skins that use a button that regenerates them? (Alaska Revisited and XeeBo).

no idea if that would still be possible, but i'll look into it for sure.
do those buttons still serve a purpose if the user can specify himself how often the items are updated?
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
They're simply Random Song(/Album), Random Movie and Random Episode buttons that can be pressed again if the user doesn't like the one that gets picked.
Reply
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 23

Logout Mark Read Team Forum Stats Members Help
[RELEASE] RandomItems (Random Items) Script2