[RELEASE ]Reddit /r/video plugin

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
DaMizZa Offline
Senior Member
Posts: 106
Joined: Dec 2010
Reputation: 2
Location: Saskatchewan, Canada
Post: #21
Sweet! Thanks for all the work you've done to improve the XBMC experience! I know I greatly appreciate it!

XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
find quote
oneadvent Offline
Fan
Posts: 426
Joined: May 2011
Reputation: 0
Post: #22
Hey BlueCop, just pointing out that this is still working great. I love it and use it daily.
find quote
mikeplow1961 Offline
Junior Member
Posts: 44
Joined: Oct 2011
Reputation: 0
Post: #23
Any other users of this excellent plugin found it's stopped working in the last couple of days? It still pulls in the list of videos in the four categories just fine but nothing plays.

I'm lost without it. It's become an essential part of our daily TV routine.
find quote
Canadaka Offline
Junior Member
Posts: 17
Joined: Jan 2012
Reputation: 0
Post: #24
yes it stopped working for me too. My wife uses it everyday so she is upset. The other Reddit video addon is also broken.
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 4,424
Joined: Jul 2010
Reputation: 78
Location: USA
Post: #25
(2012-09-18 21:15)Canadaka Wrote:  yes it stopped working for me too. My wife uses it everyday so she is upset. The other Reddit video addon is also broken.
Probably because Reddit changed something on their streaming site that broke these add-ons. Hopefully, the updates required to adapt the add-ons to these site changes will not be too difficult.
find quote
DaMizZa Offline
Senior Member
Posts: 106
Joined: Dec 2010
Reputation: 2
Location: Saskatchewan, Canada
Post: #26
I would say it's likely because the YouTube plugin is broken... At least I notices YouTube no longer works about the same time I noticed the Reddit plugin stopped working...

XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 4,424
Joined: Jul 2010
Reputation: 78
Location: USA
Post: #27
Yeah, I think you're right. I forgot about the dependency on the YouTube add-on. The good news is that the YouTube add-on is currently being worked on. I believe a fix has been posted, but haven't tried it yet.
find quote
Martijn Offline
Team-XBMC
Posts: 7,712
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #28
(2012-09-19 02:48)artrafael Wrote:  Yeah, I think you're right. I forgot about the dependency on the YouTube add-on. The good news is that the YouTube add-on is currently being worked on. I believe a fix has been posted, but haven't tried it yet.

YouTube has been updated in repo

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 4,424
Joined: Jul 2010
Reputation: 78
Location: USA
Post: #29
Thanks for the heads-up, Martijn. I just updated the YouTube add-on from repo and both the YouTube and Reddit add-ons are working again!
find quote
PyroTech76 Offline
Junior Member
Posts: 5
Joined: Nov 2012
Reputation: 0
Post: #30
Hey BlueCop, I love this plugin! My wife and I always seem to finish our day by watching a few of the day's top reddit videos. It's been really great.

I've been wondering if it would be possible to add a selection of other "video" sections from reddit. I've modified the plugin to do just that and will post what I did below for anyone else interested in doing the same. Like the original, only the youtube.com domain is filtered, so other sources still will not work.

I guess what I'm asking, would it be possible to add additional reddit sections through the user interface? It would require writing a configuration section.

I implore anyone who does this to first backup: /addons/plugin.video.reddit.bc/default.py

Open the file in your favorite text editor and find the line:
Code:
BASE = 'http://www.reddit.com/r/videos'

change to:
Code:
BASE = 'http://www.reddit.com/r'

Further down the page find the "def listCategories". You will need to add "/videos" in front of the original categories. Modify to your heart's content. (play on word intentionalSmile So, feel free to add /popping like I know you've always wanted to.

Code:
def listCategories():
    addDir("Videos - Whats Hot",              BASE+'/videos/.json',                     'listVideos', '')
    addDir("Videos - New",                    BASE+'/videos/new.json',                  'listVideos', '')
    addDir("Videos - Controversial",          BASE+'/videos/controversial.json',        'listVideos', '')
    addDir("Videos - Top",                    BASE+'/videos/top.json',                  'listVideos', '')
    addDir("MitchellAndWebb - New",           BASE+'/mitchellandwebb/new.json',         'listVideos', '')
    addDir("Music Videos - Hot",              BASE+'/MusicVideos/.json',                'listVideos', '')
    addDir("K-Pop - Hot",                     BASE+'/kpop/hot.json',                    'listVideos', '')
    addDir("Documentary - Hot",               BASE+'/documentary/hot.json',             'listVideos', '')
    addDir("Documentaries - Hot",             BASE+'/documentaries/hot.json',           'listVideos', '')
    addDir("Artisan - Hot",                   BASE+'/artisan/hot.json',                 'listVideos', '')
    addDir("Artisan Videos - Hot",            BASE+'/ArtisanVideos/hot.json',           'listVideos', '')
    addDir("Obscure Media - Hot",             BASE+'/ObscureMedia/.json',               'listVideos', '')
    addDir("Conspiracy Documentary - Hot",    BASE+'/conspiracydocumentary/hot.json',   'listVideos', '')
    addDir("Rocket Launches - Hot",           BASE+'/rocketlaunches/hot.json',          'listVideos', '')
    addDir("Science Videos - Hot",            BASE+'/sciencevideos/hot.json',           'listVideos', '')
    addDir("Car Crash - Hot",                 BASE+'/carcrash/hot.json',                'listVideos', '')
    addDir("Police Chases - Hot",             BASE+'/PoliceChases/.json',               'listVideos', '')
    addDir("Cringe - Hot",                    BASE+'/cringe/.json',                     'listVideos', '')
    addDir("Popping - Hot",                   BASE+'/popping/.json',                    'listVideos', '')
    xbmcplugin.endOfDirectory(pluginhandle)

Edit: If anyone has any suggestions for the above list I will add them to this post for easy copy and paste.

Documentaries (added)
Cringe (added)
MusicVideos (added)
Popping (added, Oh gawd)
ObscureMedia (added)
(This post was last modified: 2012-11-10 18:19 by PyroTech76.)
find quote