Release Tweakers.net Video-Addon (dutch)
#1
Hello folks,

I made a video addon for the dutch tech video site Tweakers (http://www.tweakers.net)

Image

It's available as a video addon in the official kodi repo. So you can install it as a video addon: http://kodi.wiki/view/HOW-TO:Install_add-ons

If you got problems with the addon, just reply here with a link to a kodi log file (here are the instructions to make a logfile with kodi: http://kodi.wiki/view/Log_file/Easy ).

Enjoy.

v1.1.10 (2018-10-01)
- removing non-ascii characters in title in parameters to prevent UnicodeDecodeError: 'ascii' codec can't decode ...
The error occured when doing urllib.parse.parse_qs of the parameters
- using youtube now (website change)
- removed video quality setting as the youtube addon is used

v1.1.9 (2018-01-12)
- removed looking for video dialogue
- fix to match the correct thumbnail with the item
- addon now works in kode python 2 and also 3 (!!) thanks to the future project

v1.1.8 (2017-03-12):
- fixed url in addon.xml as per request
- changed 'xbmc' to 'kodi' in some text
- not using addon-name in xbmcaddon.Addon() anymore (thanks enen92)

v1.1.7 (2017-12-07):
(kudos to Martijn for these improvement-suggestions)
- improved adding info to the video
- using higher res thumbnail if available
- added the brief version of the plot to the video
- added duration to the video

v1.1.6 (2016-08-09):
- try to suppress ssl warnings. If suppressing gives an error (on iOS f.e.), continue with the rest of the program.

v1.1.5 (2016-07-12):
- fixed getting video filename due to website changes
- only using https now

v1.1.4 (2016-07-10):
- using requests
- suppress ssl warnings
- changed to https
- changed addon debugging info to kodi debugging info

v1.1.3 (2016-05-22)
- using po files
- changed user-agent as requested
- better cookie-wall circumventing
- removed utf8 reload

v1.1.2 (2016-05-17)
- added a setting for choosing the video quality

v1.1.1 (2016-05-14)
- adjusted due to website changes: getting the video url differently now

v1.1.0 (2016-04-24)
- added search

v1.0.9 (2016-02-07)
- changed the listing and playing of videos
- The contextual menu item 'Play from here' is available now, it queues all the videos in the list from a certain point
- updated to latest requirements for a Kodi-addon

v1.0.8 (2016-01-14)
- added blurred background (kudos to ninovanhooff!)
- added refresh option (kudos to ninovanhooff!)

v1.0.7 (2015-08-15)
- added some utf8 stuff

v1.0.6 (2015-06-23)
- changed fanart

v1.0.5 (2015-06-16)
- changed icon and fanart due to changes in the website

v1.0.4 (2015-05-08)
- adjustments due to changes in the website: cookiewall circumvented by adding a cookie to the header (thanks bas lichtjaar)

v1.0.3 (2015-02-25)
- play the highest video quality that's available (kudos to Amelandbor!)

v1.0.2 (2013-08-03)
- fixed title bug

v1.0.1 (2013-07-07)
- added beautiful soup as dependency
- added dutch strings

v1.0.0 (2013-06-23)
- initial version
Reply
#2
Thank you for this. I am enjoying it currently, a must have for the dutch techies! :D
Reply
#3
v1.0.1 (Saturday, 7 July 2013) :
- added beautiful soup as dependency
- added dutch strings
Reply
#4
v1.0.2 (Saturday, 3 August 2013) :
- fixed title bug
Reply
#5
Not a lot of reactions but I still enjoy your work. Did you post this plugin at the GoT xbmc topic?
Reply
#6
v1.0.3 (Wednesday, 25 February 2015) :
- play the highest video quality that's available (kudos to Amelandbor!)
Reply
#7
v1.0.4 (Monday, 18 may 2015) :
- adjustments due to changes in the website: cookiewall circumvented by adding a cookie to the header (thanks bas lichtjaar)
Reply
#8
Hi Skipmode A1,

Thanks for this plugin! Highly appreciated. Can you replace the icon.png with the new style one (which also has a proper aspect ratio)?

Image
Reply
#9
Sure. Maybe you can provide an updated fanart.jpg also?
Reply
#10
Hi Skipmode A1,

Yes, I can. I know it's not a lot of work but I still need some time to get it done Smile So I will post it here when it's finished.
Reply
#11
Here you go:

Image

http://i.imgur.com/Vm1StPS.jpg
Reply
#12
Ah, noticed you provided fanart yourself already Smile maybe you can add this as a backdrop in the add on itself? Similair to the YouTube add on?

Image

http://i.imgur.com/A4Soq07.jpg

Image
Reply
#13
I will replace the fanart with your jpg. It should be up in a day or two.
Reply
#14
v1.0.7 (Saturday, 15 august 2015) :
- added some utf8 stuff
Reply
#15
Hi! Thanks for this, I use it quite often. I added it to my home screen video add-ons for easy access.
A problem arises though, when you use it like this in an always-on kodi box.

After the videos are fetched, they will not be refreshed until you restart Kodi or explicitly navigate away from the folder and go back in. To remedy this, I added a Refresh option in the context menu.
It seems there is no github project, so I'll just post my suggestion here:

tweakers_list.py, the second to last line adds a refresh menu option. Adding this to the sidebar might be more logical, but I don't know how to do this.
Code:
# Add to list
            parameters = {"action" : "play", "video_page_url" : video_page_url}
            url = sys.argv[0] + '?' + urllib.urlencode(parameters)
            listitem = xbmcgui.ListItem( title, iconImage="DefaultVideo.png", thumbnailImage=thumbnail_url )
            listitem.setInfo( "video", { "Title" : title, "Studio" : "tweakers" } )
            listitem.addContextMenuItems([ ('Refresh', 'Container.Refresh') ])
            folder = False

Could you maybe add this change to your code so it is not overwritten when the plugin is updated?

Also, a more serious problem I have is that Kodi may crash completely when playing a video sometimes. It will hang on the getting video url progress dialog. I couldn capture a log yet, I'll get back on it soon. Happened on an Ouya Anddroid box with SPMC 14.2. Is this a known issue
Reply

Logout Mark Read Team Forum Stats Members Help
Tweakers.net Video-Addon (dutch)1