Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 42
Win [Release] Viaplay (plugin) video addon - Viaplay - Discontinued
(2013-01-20, 12:07)Puppe78 Wrote:
(2013-01-20, 11:54)MDDSD Wrote:
(2013-01-20, 11:52)Puppe78 Wrote: I got error message, when I click "Viaplay". First time I saw show/movies etc after clickin one of these I got error message. but now I get error message on "root", when clicking "Viaplay"

This is strange, perhaps you should try and remove the addon and then install it again.
It sounds as if the addon is broken. Are you using any other skin than rhe default Confluence?

Yes I`m using Confluence. Tried also with XBMC 11, but same error. Just tried to uninstall and Install addon again and same results: First time I got to films etc section and then get the error and after that immediately when clicking Viaplay.

Could you send me the xbmc.log file via a pm instead?
Reply
I've released a new version, see the first post for more info.

@Puppe78:
The latest version will fix the script error that you get.
This was due to your username containing characters that would cause the script error.
Reply
Hello, i get this error in the log when i try to click a sport in the plugin:
sport_startdate = Get_DateTime(str(item.contents[7].contents[1].contents[1].attrs[1][1]))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 26: ordinal not in range(128)
i use version 1.2.7 and XBMC 12
Reply
(2013-02-02, 23:37)ManGz Wrote: Hello, i get this error in the log when i try to click a sport in the plugin:
sport_startdate = Get_DateTime(str(item.contents[7].contents[1].contents[1].attrs[1][1]))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 26: ordinal not in range(128)
i use version 1.2.7 and XBMC 12

Which part of the sports section are you using, is it the "Live Sports" or "Sports Schedule"?
Do you get this script error all the time or is it just some sport events that cause this error?
Since I don't have Sports in my Viaplay account I'm not using this part that much... Smile

UPDATE: I was able to reproduce the error by selecting hockey in the Live Sports section.
I've made some changes and it seems to be working. I will try and release a new version by tomorrow.
Reply
That was exactly the category i clicked, looking forward to the release!
I have another problem as well. When i open a movie I'm not able to close the viaplay window using the ESC key. I have to kill MceRemoteHandler.exe and ViaplayLauncher.exe using the task manager.
Reply
I just installed XBMC 12 and updated you plugin. I haven't played anything yet but I noticed that when I choose A-Å movie list I don't see any movie information, either picture og text, but when I go to category mode I get the movie information, this was the same on RC3 and an older version of the addon.
Reply
(2013-02-03, 00:46)ManGz Wrote: That was exactly the category i clicked, looking forward to the release!
I have another problem as well. When i open a movie I'm not able to close the viaplay window using the ESC key. I have to kill MceRemoteHandler.exe and ViaplayLauncher.exe using the task manager.

I've released a new version which contains a fix for your script error.
You should always be able to close the viaplaylaucher.exe with the Stop button on your remote, or by pressing x on your keyboard.
When the Viaplaylauncher.exe is closed it will automatically close the MceRemoteHandler.exe.


(2013-02-03, 01:19)VortexDK Wrote: I just installed XBMC 12 and updated you plugin. I haven't played anything yet but I noticed that when I choose A-Å movie list I don't see any movie information, either picture og text, but when I go to category mode I get the movie information, this was the same on RC3 and an older version of the addon.

The alphabetical list on the Viaplay website does not support this and that's why it's not available in the addon.
I get the alphabetical list from this url: http://viaplay.no/film/alle/250/alphabetical
And as you can see it's only listed with name not the cover or the description.
Although I've noticed that some movies do have covers, but this is because XBMC is caching all covers and if the name is the same it will match the cover automatically.
I hope this explains the lack of support for covers and description. Smile
Reply
(2013-02-03, 01:19)VortexDK Wrote: I just installed XBMC 12 and updated you plugin. I haven't played anything yet but I noticed that when I choose A-Å movie list I don't see any movie information, either picture og text, but when I go to category mode I get the movie information, this was the same on RC3 and an older version of the addon.
MDDSD Wrote:The alphabetical list on the Viaplay website does not support this and that's why it's not available in the addon.
I get the alphabetical list from this url: http://viaplay.no/film/alle/250/alphabetical
And as you can see it's only listed with name not the cover or the description.
Although I've noticed that some movies do have covers, but this is because XBMC is caching all covers and if the name is the same it will match the cover automatically.
I hope this explains the lack of support for covers and description. Smile

ok that explains it, I gues it would be necessary to load the entries into to main library to make XBMC itself find all the information. but doesn't the plugin load the tv series entries from thetvdb.com ?
Reply
Quote:ok that explains it, I gues it would be necessary to load the entries into to main library to make XBMC itself find all the information. but doesn't the plugin load the tv series entries from thetvdb.com ?

It's only done once you've selected a tv-series.
Also when listing movies and tv-series alphabetically there are a lot of them.
In all the other views there are a restriction to only show a maximum of 100.

But for instance showing movies alphabetically would generate a list of almost 2000 entries (some titles are shown twice one for SD and HD).

Reply
(2013-02-05, 15:41)MDDSD Wrote:
Quote:ok that explains it, I gues it would be necessary to load the entries into to main library to make XBMC itself find all the information. but doesn't the plugin load the tv series entries from thetvdb.com ?

It's only done once you've selected a tv-series.
Also when listing movies and tv-series alphabetically there are a lot of them.
In all the other views there are a restriction to only show a maximum of 100.

But for instance showing movies alphabetically would generate a list of almost 2000 entries (some titles are shown twice one for SD and HD).

ok that might be a bit extreme to load into the library
Reply
Great work! Smile

I use the XBMC plugin in Eventghost to control XBMC. When I press a key, like "OK", that keypress is sent to the XBMC window - and not the wrapped browser window. If I only could know when the ViaplayLauncher is started, I could make Eventghost change the configurations of my remote into the ones you´ve built support for.

It is possible to subscribe to XBMC event broadcasts in EventGhost, so one way for me to know when the browser is started, and closed, would be if your addon published events at launch and exit of ViaPlayLauncher. Have a look at this page: http://wiki.xbmc.org/index.php?title=JSO....NotifyAll

What do you think about it? Is it doable? Smile

/Erik
Reply
(2013-02-20, 16:16)gechu Wrote: Great work! Smile

I use the XBMC plugin in Eventghost to control XBMC. When I press a key, like "OK", that keypress is sent to the XBMC window - and not the wrapped browser window. If I only could know when the ViaplayLauncher is started, I could make Eventghost change the configurations of my remote into the ones you´ve built support for.

It is possible to subscribe to XBMC event broadcasts in EventGhost, so one way for me to know when the browser is started, and closed, would be if your addon published events at launch and exit of ViaPlayLauncher. Have a look at this page: http://wiki.xbmc.org/index.php?title=JSO....NotifyAll

What do you think about it? Is it doable? Smile

/Erik

According to the API reference (that you linked to) I should be able to do a NotifyAll broadcast when starting the viaplaylauncher and then calling the same when closing the launcher.

I've not tested the code yet, and to be honest I'm not really sure how to...

But in terms of code I think the following should work:

xbmcexecute.JSONRPC('{"jsonrpc": "6.0", "method": "JSONRPC.NotifyAll", "Sender": "Viaplay","Message":"Starting Viaplaylauncher"}')
xbmcexecute.JSONRPC('{"jsonrpc": "6.0", "method": "JSONRPC.NotifyAll", "Sender": "Viaplay","Message":"Closing Viaplaylauncher"}')

When starting the viaplaylauncher a NotifyAll is called with sender "Viaplay" and message "Starting Viaplaylauncher" and when the launcher is closed
a new NotifyAll is called with sender "Viaplay" and message "Closing Viaplaylauncher".

I'll try and put this in the addon and test it, or at least make sure that the code is not producing any script errors...
Reply
You can connect a Telnet session to the host where XBMC runs. Don´t remember if you need to change any settings in XBMC to make it work, but I don´t think so.

If you´re using Windows, then install the Telnet client from "add n remove programs \ windows features", and type in a command or "run" window:

telnet localhost 9090

Does it work?
Reply
(2013-02-21, 09:13)gechu Wrote: You can connect a Telnet session to the host where XBMC runs. Don´t remember if you need to change any settings in XBMC to make it work, but I don´t think so.

If you´re using Windows, then install the Telnet client from "add n remove programs \ windows features", and type in a command or "run" window:

telnet localhost 9090

Does it work?

Thanks for the suggestion, but I'm only able to get a response from the telnet client when testing this and that's when closing xbmc:
{"jsonrpc":"2.0","method":"System.OnQuit","params":{"data":0,"sender":"xbmc"}}

I've tried sending a broadcast but I cannot see that it's picked up, this since the telnet client is silent and the xbmc.log says nothing...
Reply
(2013-02-21, 23:12)MDDSD Wrote:
(2013-02-21, 09:13)gechu Wrote: You can connect a Telnet session to the host where XBMC runs. Don´t remember if you need to change any settings in XBMC to make it work, but I don´t think so.

If you´re using Windows, then install the Telnet client from "add n remove programs \ windows features", and type in a command or "run" window:

telnet localhost 9090

Does it work?

Thanks for the suggestion, but I'm only able to get a response from the telnet client when testing this and that's when closing xbmc:
{"jsonrpc":"2.0","method":"System.OnQuit","params":{"data":0,"sender":"xbmc"}}

I've tried sending a broadcast but I cannot see that it's picked up, this since the telnet client is silent and the xbmc.log says nothing...

I think I might have got it to work.
I can now see the message being sent to the telnet client:

{"jsonrpc":"2.0","method":"Other.Starting Viaplaylauncher","params":{"data":null,"sender":"Viaplay"}}

Will this work for you?
Reply
  • 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 42

Logout Mark Read Team Forum Stats Members Help
[Release] Viaplay (plugin) video addon - Viaplay - Discontinued9