[RELEASE] Video/Image Screensaver: Reddit.com

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
AddonScriptorDE Offline
Skilled Python Coder
Posts: 767
Joined: May 2012
Reputation: 81
Location: Germany
Post: #1
Hi,
this is a screensaver addon for playing/showing random Hot100 videos/images from Reddit. Choose your reddit and the category (Hot, Top, New, Comments) via the addon settings.
It's also possible to play only unwatched videos. Reddits could also be combined, example: "earthporn+carporn+spaceporn".

Default keys (Pause, Skip, Info) are still usable while playing videos - hit Stop / X / Escape to quit.

You can also start the video playback manually with the following command. Without the Screensaver function. Like a TV-Mode - with all XBMC functionalities. For favourites / keymapping / Commands / ...
Code:
RunScript(script.screensaver.reddit_com, tv_mode)

Note: Dont try to quit the screensaver immediately after it starts, else XBMC could freeze. Wait at least 10 seconds!
If you have problems exiting the screensaver, you can increase the exit delay via the add-on settings.

Its available via my testing-repo.

Have fun, Smile
asde
(This post was last modified: 2013-08-21 23:18 by AddonScriptorDE.)
find quote
AddonScriptorDE Offline
Skilled Python Coder
Posts: 767
Joined: May 2012
Reputation: 81
Location: Germany
Post: #2
v1.0.1:
- Small bugfix
v1.0.2:
- Fixed bug when exiting screensaver
(This post was last modified: 2013-08-21 23:20 by AddonScriptorDE.)
find quote
AddonScriptorDE Offline
Skilled Python Coder
Posts: 767
Joined: May 2012
Reputation: 81
Location: Germany
Post: #3
v1.0.3:
- Some small improvements
v1.0.4:
- Added setting to force volume
v1.0.6:
- Changed User-Agent
- Added functionality to only play unwatched videos
v1.0.7:
- Added setting to choose reddit
- Added categories: new, comments
v1.0.8:
- New icon (thx@djtoll)
- Added image screensaver function
find quote
postdeath Offline
Junior Member
Posts: 37
Joined: Dec 2013
Reputation: 0
Post: #4
thank you so much for all of your work with these screensavers, they're fantastic Smile

e: I just wish I could set screensaver to 'random' so I could use both this and InfinityList at the same time
(This post was last modified: 2014-04-10 17:53 by postdeath.)
find quote
Rusti Offline
Member
Posts: 70
Joined: Jul 2006
Reputation: 1
Post: #5
Great work mate. Just started using this and have about 10 subreddits in my list. Could you consider adding a "random" option where it pulls the first 50 or 100 results from whatever sorting method you choose (e.g. top) and randomly displays the results from all the subreddits you define?
Thanks regardless!
find quote
Oli_Oops Offline
Member
Posts: 53
Joined: Jun 2009
Reputation: 0
Post: #6
Best screensaver. I'm using it with the Vimeo subreddit at the moment and it's fantastic.
find quote
AddonScriptorDE Offline
Skilled Python Coder
Posts: 767
Joined: May 2012
Reputation: 81
Location: Germany
Post: #7
v1.1.0:
- Removed Vimeo addon dependency (not working anymore)
- Vimeo video url resolution is now done via the Reddit.tv addon

(2014-04-10 17:51)postdeath Wrote:  I just wish I could set screensaver to 'random' so I could use both this and InfinityList at the same time
(2014-04-23 14:58)Rusti Wrote:  Could you consider adding a "random" option where it pulls the first 50 or 100 results from whatever sorting method you choose (e.g. top) and randomly displays the results from all the subreddits you define?
Multiple sources/subreddits would result in multiple requests, so I think I won't implement it. Sorry...
find quote
UKVaper Offline
Junior Member
Posts: 38
Joined: Aug 2012
Reputation: 0
Post: #8
Love this addon, am using it with Reddit picture subs, one suggestion though, maybe include the post title overlayed onto the image - sometimes you need the context. Being able to set the time each picture is shown would be useful too.
(This post was last modified: 2014-10-20 09:05 by UKVaper.)
find quote
Fofer Offline
Member
Posts: 79
Joined: Oct 2003
Reputation: 0
Post: #9
Hello and thanks so much for this add-on!

Does this screensaver work with Kodi v14 (Helix) ? I'm able to get it working when set to Video, but the script fails when set to Images. I'm wondering if I'm doing something wrong...
find quote
dPuGB8rWl5dlpln Offline
Junior Member
Posts: 1
Joined: Mar 2015
Reputation: 0
Post: #10
@Fofer

(2015-01-24 09:03)Fofer Wrote:  Hello and thanks so much for this add-on!

Does this screensaver work with Kodi v14 (Helix) ? I'm able to get it working when set to Video, but the script fails when set to Images. I'm wondering if I'm doing something wrong...

Running Helix 14.2 on a Raspberry Pi B+ OpenElec 5.0.6 with a working wired ethernet connection, confluence skin. If that's not what you're running, this likely won't work for you.
Looking at the log, Python couldn't find the SimpleDownloader module.

I got it to work by doing the following in an SSH session:
1) open the file
/storage/.kodi/addons/plugin.image.reddit_com-1.0.3/default.py
in your editor of choice (I used vi, but try nano, it's easier)
2) add the line
sys.path.append("/storage/.kodi/addons/script.modul.simple.downloader/lib/")
on a new line after the line saying
import sys^M (yours may not have the ^M)
3) save the edited file and exit the editor
3) restart the add-on. I was testing it at the time, so I just wiggled the mouse, then hit 'preview' again

DISCLAIMER: I know absolutely NOTHING about python, so what I just did might be terrible form. If someone corrects me on this, they are likely much more knowledgeable, so listen to them.
find quote