Release - [RELEASE] XBMC Online TV v3.5.0 (formerly XOT-Uzg.v3) add-on

  Thread Rating:
  • 5 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Basje Online
Skilled Python Coder
Posts: 1,111
Joined: Jul 2005
Reputation: 6
Post: #1501
(2014-09-14 00:09)Sleuteltje Wrote:  
(2014-09-13 22:18)Basje Wrote:  True, but it will not look as nice, as it will have a leading space!
I get your point. But it will solve my problem instantly. But if you don't want to change it, that is ofcourse your right!

(2014-09-13 22:18)Basje Wrote:  You path creation is not correct! Paths look like this:

plugin://net.rieter.xot/?action=listfolder&channel=chn_nos2010&channelcode=uzgjson&pickle=KGltZWRpYWl0ZW0KTWVkaWFJdGVtCnAxCihkcDIKUydyYXRpbmcnCnAzCk5zUydfTWVka​WFJdGVtX19kYXRlJwpwNApTJycKc1MnX01lZGlhSXRlbV9fdGltZXN0YW1wJwpwNQpjZGF0ZXRpbWUKZ​GF0ZXRpbWUKcDYKKFMnXHgwOFx4OThceDAxXHgwMVx4MDBceDAwXHgwMFx4MDBceDAwXHgwMCcKdFJwN​wpzUyd0aHVtYicKcDgKUydEOlxcWEJNQ1xcWEJNQ19QQ1xccG9ydGFibGVfZGF0YVxcYWRkb25zXFxuZ​XQucmlldGVyLnhvdC5jaGFubmVsLm5vc1xcbm9zMjAxMFxcbm9zaW1hZ2UucG5nJwpwOQpzUydwYXJlb​nQnCnAxMApOc1MnZG93bmxvYWRlZCcKcDExCkkwMApzUyd1cmwnCnAxMgpTJ3NlYXJjaFNpdGUnCnAxM​wpzUydpdGVtcycKcDE0CihscDE1CnNTJ2Rlc2NyaXB0aW9uJwpwMTYKUycnCnNTJ01lZGlhSXRlbVBhc​nRzJwpwMTcKKGxwMTgKc1MnY2hhbm5lbHMnCnAxOQoobHAyMApzUydmYW5hcnQnCnAyMQpTJycKc1MnZ​G93bmxvYWRhYmxlJwpwMjIKSTAwCnNTJ2NvbXBsZXRlJwpwMjMKSTAxCnNTJ2Vycm9yJwpwMjQKSTAwC​nNTJ2d1aWQnCnAyNQpTJzhCMDM4QUFBN0NDN0FBRUVERjgwMkVCMjhEMzA0NkU1RDkzNEFDQkZCNkYxQ​zNCQzkxRTNCNjA0MTA3RERGNjcnCnAyNgpzUydndWlkVmFsdWUnCnAyNwpMNjI4Nzc3NDM1MzE1OTYwM​TYzNDc4MTgwMTg5NzU4ODg3NDQ4NDMzMTUyODE5NzA4NjE3MzgyNTM4ODcyMDE2MTQ1NDAxNDQ3NjI3M​jdMCnNTJ2ljb24nCnAyOApWRDpcdTAwNWNYQk1DXHUwMDVjWEJNQ19QQ1x1MDA1Y3BvcnRhYmxlX2Rhd​GFcdTAwNWNhZGRvbnNcdTAwNWNuZXQucmlldGVyLnhvdC5jaGFubmVsLm5vc1x1MDA1Y25vczIwMTBcd​TAwNWN1emdsYXJnZS5wbmcKcDI5CnNTJ3R5cGUnCnAzMApTJ2ZvbGRlcicKcDMxCnNTJ2h0dHBIZWFkZ​XJzJwpwMzIKKGRwMzMKc1MnbmFtZScKcDM0ClMnXHgwNy46IFpvZWtlbiA6LicKcDM1CnNiLg%3d%3d

or better said:

action = Action to perform
channel = Channel name that is currently active
channelcode = Channel code that is currently active (1 channel could have more than 1 channel codes)
pickle = Base64 encode state object.

What you should do is: enable debug logging for XOT and look for these lines:

Code:
20140906 22:34:36 - [3692MB] DEBUG    - plugin.py            - 99   - Plugin Params: {'action': 'listfolder', 'pickle': '.........................?query=.............]

It contains the full query that should be used for that item.

I've tried this. This also does not work. The problem I think with this direct method is that PTVL needs to follow the same path as you normally do as if a person was starting up the addon. So these link work if i put them in favorites.xml, but don't work when i try to populate a channel with PTVL. I've also tried putting a link to the .: Populair :. within Super Favorites, and tried to rip from there, but no luck either.

So i have to type the path as if the user was following it: "plugin://whatever/path/you/click/".
So that's why the following link does work with your plugin:
""plugin://net.rieter.xot/Uitzendinggemist (NPO.nl)/De Rijdende Rechter/". This will create a "De Rijdende Rechter" TV Channel succesfully within PTVL. But i would love to have a "Populair on NPO" TV Channel, but can't get PTVL to populate, since I can't match that no displaying character in a typable path. Or is there a way for me to type the non displaying character so PTVL know which path to take?


I hope you understand, i tried to be as clear as I could be Smile. If you don't understand, I can explain again in Dutch (pm), maybe that will help. Again, thank you Big Grin!

I use the '\a' for this. See http://en.wikipedia.org/wiki/Bell_character for more information. You can get it by using the command
Code:
echo ^G > bel.txt
where ^G is CTRL+SHIFT+G. It should save it into the bel.txt. If you open that file with notepad++ you will see that np++ will show [bel] as a char. Hope this helps.[/code]

find quote
Sleuteltje Offline
Junior Member
Posts: 37
Joined: Oct 2013
Reputation: 0
Post: #1502
(2014-09-14 00:37)Basje Wrote:  I use the '\a' for this. See http://en.wikipedia.org/wiki/Bell_character for more information. You can get it by using the command
Code:
echo ^G > bel.txt
where ^G is CTRL+SHIFT+G. It should save it into the bel.txt. If you open that file with notepad++ you will see that np++ will show [bel] as a char. Hope this helps.[/code]

Lol, the BEL character is from the good old fax telephone days so it seams. I've tried the steps you made and succesfully made a BEL character. Like you said, notepad++ shows BEL. I've copied the character in the plugin path, making the following plugin path:
"plugin://net.rieter.xot/Uitzendinggemist (NPO.nl)/.: Populair :./" (BEL character does not show here in the forum ofcourse)

Unfortunatly this still does not work. I think that while the BEL character is in the path, there is no way for me to match it.

Which line of code is responsible for putting the BEL character there? That way i can alter it myself to a space character, and manually update this addon from here on out. Cause it's really frustrating I can't do what i want to do just because of one stupid character Tongue.

Thank you for thinking along! Smile


EDIT: Already found the code in chn_2010.py

Replaced the following lines:

Starting with Line 112 until line 147: (Replaced all /a with a space)
Code:
search = mediaitem.MediaItem(" .: Zoeken :.", "searchSite")
I must say i don't see any difference in the menu with a leading space or a BEL character. Maybe that's just me. But if there really isn't any difference, could you still possibly add this change?

And replaced line 168 with this:
Code:
title = ".: %s :." % (day)
This because i would also like to rip ".: Gisteren :." and when there is a date in the line the path changes every day ofcourse. So with just ".: Gisteren :." i can always go to ".: Gisteren :.".

I've tried to change that look only for "Vandaag", "Gisteren" and "Eergisteren", cause i didn't mind if there were still dates with the normal weekdays (maandag, dinsdag etc.), but when trying that, NPO wouldn't work anymore.

I can see why you would still want dates with Gisteren, Vandaag en Eergisteren. But if not, I would surely love a change for those labels ofcourse Smile.

EDIT 2:
Just thought of another idea. If a leading space does look differently then BEL on other XBMC's than mine, can't the same result be achieved with using codes? This will give it a strange character in the beginning which will not display as [B], but will make the text bold. It will make an even greater difference from the shows then it is now. You could also use a [color] tag.

Idea 2: Maybe you have a reason for not doing so, but you could also put all the shows in a folder called "Alle Series" or something. And that way have a shorter cleaner menu when you first click open Uitzendinggemist. Maybe users will even prefer it that way. I will, cause it will provide a less cluttered menu. And it makes things easier for my not-so-computer-savy dad Tongue.
(This post was last modified: 2014-09-14 17:07 by Sleuteltje.)
find quote
Basje Online
Skilled Python Coder
Posts: 1,111
Joined: Jul 2005
Reputation: 6
Post: #1503
(2014-09-14 16:17)Sleuteltje Wrote:  
(2014-09-14 00:37)Basje Wrote:  I use the '\a' for this. See http://en.wikipedia.org/wiki/Bell_character for more information. You can get it by using the command
Code:
echo ^G > bel.txt
where ^G is CTRL+SHIFT+G. It should save it into the bel.txt. If you open that file with notepad++ you will see that np++ will show [bel] as a char. Hope this helps.[/code]

Lol, the BEL character is from the good old fax telephone days so it seams. I've tried the steps you made and succesfully made a BEL character. Like you said, notepad++ shows BEL. I've copied the character in the plugin path, making the following plugin path:
"plugin://net.rieter.xot/Uitzendinggemist (NPO.nl)/.: Populair :./" (BEL character does not show here in the forum ofcourse)

Unfortunatly this still does not work. I think that while the BEL character is in the path, there is no way for me to match it.

Which line of code is responsible for putting the BEL character there? That way i can alter it myself to a space character, and manually update this addon from here on out. Cause it's really frustrating I can't do what i want to do just because of one stupid character Tongue.

Thank you for thinking along! Smile


EDIT: Already found the code in chn_2010.py

Replaced the following lines:

Starting with Line 112 until line 147: (Replaced all /a with a space)
Code:
search = mediaitem.MediaItem(" .: Zoeken :.", "searchSite")
I must say i don't see any difference in the menu with a leading space or a BEL character. Maybe that's just me. But if there really isn't any difference, could you still possibly add this change?

And replaced line 168 with this:
Code:
title = ".: %s :." % (day)
This because i would also like to rip ".: Gisteren :." and when there is a date in the line the path changes every day ofcourse. So with just ".: Gisteren :." i can always go to ".: Gisteren :.".

I've tried to change that look only for "Vandaag", "Gisteren" and "Eergisteren", cause i didn't mind if there were still dates with the normal weekdays (maandag, dinsdag etc.), but when trying that, NPO wouldn't work anymore.

I can see why you would still want dates with Gisteren, Vandaag en Eergisteren. But if not, I would surely love a change for those labels ofcourse Smile.

EDIT 2:
Just thought of another idea. If a leading space does look differently then BEL on other XBMC's than mine, can't the same result be achieved with using codes? This will give it a strange character in the beginning which will not display as [B], but will make the text bold. It will make an even greater difference from the shows then it is now. You could also use a [color] tag.

Idea 2: Maybe you have a reason for not doing so, but you could also put all the shows in a folder called "Alle Series" or something. And that way have a shorter cleaner menu when you first click open Uitzendinggemist. Maybe users will even prefer it that way. I will, cause it will provide a less cluttered menu. And it makes things easier for my not-so-computer-savy dad Tongue.

Let me just check this out a bit further. Could you create a change request on the XOT bitbucket issue list for me asking to perhaps change the BEL to something else?

find quote
krok Offline
Junior Member
Posts: 2
Joined: Aug 2013
Reputation: 0
Post: #1504
Hello, im using openelec on my RPI and i have problem with fast forward/rewind on different channels, when i do it cause the image to freeze, but the sound is working fine. i cant even pause the stream this happens anway. any idea?
find quote
Basje Online
Skilled Python Coder
Posts: 1,111
Joined: Jul 2005
Reputation: 6
Post: #1505
(2014-09-24 12:47)krok Wrote:  Hello, im using openelec on my RPI and i have problem with fast forward/rewind on different channels, when i do it cause the image to freeze, but the sound is working fine. i cant even pause the stream this happens anway. any idea?

It really depends on the type of streams. Some just don't handle fast forwarding as good as the other. There is now way of solving this. What streams do not pause nicely?

find quote
Jarun Offline
Junior Member
Posts: 7
Joined: Mar 2013
Reputation: 0
Post: #1506
Hi Bas,

The last few days I can't access the channels related to 'kijk.nl'. Everything else works fine. When I select SBS6, NET5 or Veronica nothing happens.

Can you test this? If it's a specific problem, I'm happy to post some extra information. Can you look into it? Thanks in advance.
find quote
Basje Online
Skilled Python Coder
Posts: 1,111
Joined: Jul 2005
Reputation: 6
Post: #1507
(2014-10-01 15:44)Jarun Wrote:  Hi Bas,

The last few days I can't access the channels related to 'kijk.nl'. Everything else works fine. When I select SBS6, NET5 or Veronica nothing happens.

Can you test this? If it's a specific problem, I'm happy to post some extra information. Can you look into it? Thanks in advance.

Someone already reported it. See here for a new test version: https://bitbucket.org/basrieter/xbmc-onl...annels-not

If it works ok, I will make an official update.

find quote
Jarun Offline
Junior Member
Posts: 7
Joined: Mar 2013
Reputation: 0
Post: #1508
(2014-10-01 15:47)Basje Wrote:  
(2014-10-01 15:44)Jarun Wrote:  Hi Bas,

The last few days I can't access the channels related to 'kijk.nl'. Everything else works fine. When I select SBS6, NET5 or Veronica nothing happens.

Can you test this? If it's a specific problem, I'm happy to post some extra information. Can you look into it? Thanks in advance.

Someone already reported it. See here for a new test version: https://bitbucket.org/basrieter/xbmc-onl...annels-not

If it works ok, I will make an official update.

Thanks! I searched the forum, but I think I overlooked that someone already reported it. I will test the version tonight.
find quote
Jarun Offline
Junior Member
Posts: 7
Joined: Mar 2013
Reputation: 0
Post: #1509
Thanks, it's working again Big Grin
find quote
Post Reply