[RELEASE] 4Players Videos
#1
Hi,

Image

as requested I created a video plugin for the videos from http://www.4players.de. With this addon you can watch trailers and videos about computer and console games. Most of them are delivered in a very good quality (720p).

I would be very happy if you could test it and provide feedback - feature requests (if possible) and bug reports are more than welcome Wink

For now you can download it here: https://github.com/downloads/dersphere/p...-0.1.1.zip

When its feature-complete and bugfree it will be available via the official xbmc.org addon repository.
Update: The Addon is now present in the official XBMC.org Addon Repository for Dharma and Eden-pre.

regards,
sphere
My GitHub. My Add-ons:
Image
Reply
#2
Installed and tested so far:
Installation from ZIP file: OK.
Playing PC videos: Excellent quality Big Grin
Fast forward, fast rewind: OK.
Pause video, play again: OK.

Everything works like a charm Big Grin. Great work. Thanks a lot.

A little remark/change request: Perhaps it could be possible to show one or two great thumbnail(s) for a video instead of 4 or 5 little ones in a row where I can't see any details on my Bravia TV.
Reply
#3
bj1234 Wrote:... Perhaps it could be possible to show one or two great thumbnail(s) for a video instead of 4 or 5 little ones in a row where I can't see any details on my Bravia TV.

Hi,

thanks for testing (again) ;-)

regarding your request, my addon just passes the thumbnails from the website. The website uses javascript to iterate through the thumbnails which isn't possible with xbmc at the moment. I see no way of changing the thumbnails to be different at the moment, sorry.

regards,
sphere
My GitHub. My Add-ons:
Image
Reply
#4
Hi sphere,

I get an "Script error" by playing every video from 4players.
Could you please check it?

Thanks in advance.
Reply
#5
bj1234 Wrote:Hi sphere,

I get an "Script error" by playing every video from 4players.
Could you please check it?

Thanks in advance.

Hi,

the website was changed - I updated the addon.
Please try this version and provide feedback!

https://github.com/downloads/dersphere/p...-0.1.1.zip

regards,
sphere
My GitHub. My Add-ons:
Image
Reply
#6
sphere Wrote:Hi,

the website was changed - I updated the addon.
Please try this version and provide feedback!

https://github.com/downloads/dersphere/p...-0.1.1.zip

regards,
sphere
It works again.
Thanks a lot Big Grin
Reply
#7
bj1234 Wrote:It works again.
Thanks a lot Big Grin

thanks for the feedback - I requested a pull to the official repo Smile
My GitHub. My Add-ons:
Image
Reply
#8
Hi sphere,

get again an "Script error!: addon.py" error. I think they changed the site.
Could you please check it? Thanks a lot.
Have you found some time to look at the pcgames videos under http://www.pcgames.de/feed.cfm?menu_alias=Videos?
Reply
#9
bj1234 Wrote:Hi sphere,

get again an "Script error!: addon.py" error. I think they changed the site.
Could you please check it? Thanks a lot.

Hi,

yes, they changed the video section of their website. I will have a closer look this evening.

thanks for reporting Smile

regards,
sphere
My GitHub. My Add-ons:
Image
Reply
#10
Hi,

I fixed the addon and also added a few new features.

Changelog is:
- Fixed scraper (Website changes)
- Now showing 50 items per page (before was 20)
- Now using 160x90px thumbnails
- added sort methods (playlist, date and runtime)
- added is_update function (pagination is better now)


You can download it here: https://github.com/downloads/dersphere/p...-0.1.2.zip

Please report back if it works now - then I will request a pull to the official repo.

thanks,
sphere
My GitHub. My Add-ons:
Image
Reply
#11
The pagination is very user friendly at the top of each page and the thumbnails now have a perfect size.
...and the main thing: the plugin works great. I tested about 10 videos and all were played perfectly. Thanks Big Grin
Only one question: Where can I change the sort method ? Or isn't this possible?
Reply
#12
bj1234 Wrote:Only one question: Where can I change the sort method ? Or isn't this possible?

Hi,
thanks for the report.
Where you can change the sort method is skin dependent. With Confluence you have to press <left> to see the sidemenu. In the sidemenu you can change the sort method.
Implemented are the following sort methods:
- Playlist (like in webpage)
- Date
- Runtime

But please keep in mind that the sort method only affects a single page!

regards,
sphere
My GitHub. My Add-ons:
Image
Reply
#13
Hi sphere,
today I get the script error with version 0.1.2 again. Could you please check it once more again?
Thank you.
Reply
#14
bj1234 Wrote:Hi sphere,
today I get the script error with version 0.1.2 again. Could you please check it once more again?
Thank you.

Hi,

it works here. Please check again and if it doesn't work send me a xbmc.log (debug mode in xbmc not needed).

regards,
sphere
My GitHub. My Add-ons:
Image
Reply
#15
Sorry. Doesn't work for me.
Here is a snippet of the XBMC.log (I have to shorten it due to character limit):
Code:
21:41:08 T:1680 M:4294967295  NOTICE: Running the application...
21:41:08 T:1680 M:4294967295  NOTICE: Webserver: Starting...
21:41:08 T:1680 M:4294967295  NOTICE: WebServer: Started the webserver
21:41:08 T:1680 M:4294967295  NOTICE: ES: Starting event server
21:41:08 T:1820 M:4294967295  NOTICE: My Music: Scanning for music info using worker thread, operation took 00:00
21:41:08 T:2056 M:4294967295  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
21:41:08 T:2056 M:4294967295  NOTICE: UDP: Listening on port 9777
21:41:10 T:5552 M:4294967295   ERROR: CRemoteControl::Connect - failed to connect
21:41:12 T:428 M:4294967295   ERROR: WEATHER: Unable to get data: Invalid License Key.
21:41:14 T:5592 M:4294967295  NOTICE: -->Python Interpreter Initialized<--
21:41:14 T:5592 M:4294967295  NOTICE: False
21:41:15 T:5552 M:4294967295   ERROR: CRemoteControl::Connect - failed to connect
21:41:15 T:1808 M:4294967295  NOTICE: -->Python Interpreter Initialized<--
21:41:16 T:1808 M:4294967295   ERROR: Error Type: exceptions.TypeError
21:41:16 T:1808 M:4294967295   ERROR: Error Contents: unsubscriptable object
21:41:16 T:1808 M:4294967295   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Lutz\AppData\Roaming\XBMC\addons\plugin.video.4players\addon.py", line 86, in ?
                                                plugin.run()
                                              File "C:\Users\Lutz\AppData\Roaming\XBMC\addons\script.module.xbmcswift\lib\xbmcswift\plugin.py", line 330, in run
                                                self.dispatch(self.path)
                                              File "C:\Users\Lutz\AppData\Roaming\XBMC\addons\script.module.xbmcswift\lib\xbmcswift\plugin.py", line 129, in dispatch
                                                return view_func(**items)
                                              File "C:\Users\Lutz\AppData\Roaming\XBMC\addons\plugin.video.4players\addon.py", line 47, in show_videos
                                                videos, last_page_num = scraper.getVideos(category, page)
                                              File "C:\Users\Lutz\AppData\Roaming\XBMC\addons\plugin.video.4players\resources\lib\scraper.py", line 41, in getVideos
                                                title = link['title']
                                            TypeError: unsubscriptable object
21:41:16 T:1680 M:4294967295   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.4players/category/PC-CDROM/1/
21:41:16 T:1680 M:4294967295   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.4players/category/PC-CDROM/1/) failed
21:41:16 T:1104 M:4294967295  NOTICE: -->Python Interpreter Initialized<--
21:41:16 T:1104 M:4294967295  NOTICE: False
21:41:20 T:5552 M:4294967295   ERROR: CRemoteControl::Connect - failed to connect
21:41:28 T:1680 M:4294967295   ERROR: Previous line repeats 1 times.
21:41:28 T:1680 M:4294967295  NOTICE: Storing total System Uptime
21:41:28 T:1680 M:4294967295  NOTICE: Saving settings
21:41:28 T:1680 M:4294967295  NOTICE: stop all
21:41:28 T:1680 M:4294967295  NOTICE: ES: Stopping event server
21:41:28 T:1680 M:4294967295  NOTICE: Webserver: Stopping...
21:41:28 T:1680 M:4294967295  NOTICE: WebServer: Stopped the webserver
21:41:28 T:1680 M:4294967295  NOTICE: Webserver: Stopped...
21:41:28 T:2056 M:4294967295  NOTICE: ES: UDP Event server stopped
21:41:28 T:1680 M:4294967295  NOTICE: stop sap announcement listener
21:41:28 T:1680 M:4294967295  NOTICE: clean cached files!
21:41:28 T:1680 M:4294967295  NOTICE: unload skin
21:41:28 T:1680 M:4294967295  NOTICE: stop python
21:41:28 T:1680 M:4294967295  NOTICE: stopped
21:41:28 T:1680 M:4294967295  NOTICE: destroy
21:41:28 T:1680 M:4294967295  NOTICE: unload sections
21:41:29 T:5552 M:4294967295   ERROR: CRemoteControl::Connect - failed to connect
Hope it helps. Wink
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] 4Players Videos1