Kodi Community Forum
[RELEASE] Reddit Viewer - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
---- Thread: [RELEASE] Reddit Viewer (/showthread.php?tid=280388)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


RE: [RELEASE] Reddit Viewer - gedisony - 2017-03-22

hi mac, i've lowered the addon version requirement so that it will install on helix.
(i had to up it to get accepted on official repo)

I'll see if i can have the liveleak addon take on liveleak links and see about saving post to your reddit acct.


RE: [RELEASE] Reddit Viewer - gedisony - 2017-03-22

I've added the ability to save and unsave posts to your reddit account.

You need to re-authorize reddit_viewer with new permissions to save, remove and view your saved posts
https://www.reddit.com/api/v1/authorize?client_id=hXEx62LGqxLj8w&response_type=code&state=RS&redirect_uri=http://localhost:8090/&duration=permanent&scope=read,mysubreddits,history,save

as described here


RE: [RELEASE] Reddit Viewer - slukin - 2017-03-22

Thx so much gedisony!!!

I just installed latest "3.3.2" and it installs fine here on Helix, working fine!!!

@mac1202

upgrading is no longer an option for atv2.


RE: [RELEASE] Reddit Viewer - mac1202 - 2017-03-23

(2017-03-22, 22:06)gedisony Wrote: I've added the ability to save and unsave posts to your reddit account.

You need to re-authorize reddit_viewer with new permissions to save, remove and view your saved posts
https://www.reddit.com/api/v1/authorize?client_id=hXEx62LGqxLj8w&response_type=code&state=RS&redirect_uri=http://localhost:8090/&duration=permanent&scope=read,mysubreddits,history,save

as described here

Work perfectly, thank you.


RE: [RELEASE] Reddit Viewer - gedisony - 2017-03-26

Guys,

I've put up a new release. (v3.3.3)
Mutiple threads are used to parse the reddit listing.
This should speed up how the addon shows posts in subreddit
but I'm not sure if lower spec machines will handle it.

let me know how it goes.


RE: [RELEASE] Reddit Viewer - mac1202 - 2017-03-27

New version give a huge speedup Smile
Amazing how much you improved the original addon.


RE: [RELEASE] Reddit Viewer - slukin - 2017-03-27

just upped mine on atv2....works fine...Thx!


RE: [RELEASE] Reddit Viewer - gedisony - 2017-03-27

Thanks for testing!


RE: [RELEASE] Reddit Viewer - mac1202 - 2017-03-29

Hi gedisony the latest commit break the addon for me. I can no longer open subreddit the loading start but get stuck.


RE: [RELEASE] Reddit Viewer - gedisony - 2017-03-29

Hi Mac1202,

Does it happen to all subreddits?
I put out a new version, see if it fixes the issue.


RE: [RELEASE] Reddit Viewer - mac1202 - 2017-03-29

fixed thanks Smile


RE: [RELEASE] Reddit Viewer - gedisony - 2017-03-29

that's good to hear.
if you don't mind. let me know which subreddit caused it.
i think there was an error in processing one of the post causing one thread to hang.


RE: [RELEASE] Reddit Viewer - gedisony - 2017-03-29

or post it on r/redditviewertesting


RE: [RELEASE] Reddit Viewer - slukin - 2017-03-29

running "3.3.4" here fine...Thx so much!


RE: [RELEASE] Reddit Viewer - mac1202 - 2017-04-06

(2017-03-29, 20:50)gedisony Wrote: that's good to hear.
if you don't mind. let me know which subreddit caused it.
i think there was an error in processing one of the post causing one thread to hang.

I use a multireddit with all the subreddit I had suscribe.
Got a issue with latest version I can no longer use external browser here's the error

Code:
15:15:34.284 T:139690270070528  NOTICE: reddit_viewer MainThread:Running custom command for link:
                                            xbmc.executebuiltin('LIRC.stop');os.system("xdg-open https://en.wikipedia.org/wiki/Animal_shelter#Germany");xbmc.executebuiltin('LIRC.start')
15:15:34.285 T:139690270070528   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.NameError'>
                                            Error Contents: name 'os' is not defined
                                            Traceback (most recent call last):
                                              File "/home/mac/.kodi/addons/plugin.video.reddit_viewer/default.py", line 173, in <module>
                                                plugin_modes[mode](url,name,type_)
                                              File "/home/mac/.kodi/addons/plugin.video.reddit_viewer/resources/lib/utils.py", line 564, in open_web_browser
                                                exec( custom_link_command )
                                              File "<string>", line 1, in <module>
                                            NameError: name 'os' is not defined
                                            -->End of Python script error report<--

Also liveleak playback isnt working with the liveleak addon I git this error in log

Code:
15:29:40.304 T:140615945807616 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.liveleak/?mode=view&url=https%3A%2F%2Fwww.liveleak.com%2Fvi
ew%3Fi%3De44_1491322560
15:29:40.304 T:140615945807616   ERROR: Open - failed to open source <plugin://plugin.video.liveleak/?mode=view&url=https%3A%2F%2Fwww.liveleak.com%2Fview%3Fi%3De44_1491
322560>
15:29:40.304 T:140615945807616   ERROR: InputStream: Error opening, plugin://plugin.video.liveleak/?mode=view&url=https%3A%2F%2Fwww.liveleak.com%2Fview%3Fi%3De44_149132
2560



This forum uses Lukasz Tkacz MyBB addons.