Just updated youtubedll which used by TSmedia to extract direct youtube links
I surprized and the situation should be better
can you send example of not working link.
Posted 14 September 2018 - 12:55
Edited by mick80, 14 September 2018 - 12:59.
Posted 15 September 2018 - 10:39
nice, because i changed some code in the extraction process for youtube links.
i pushed today new style for virtualkeyboard please test.
but Italian language is not available and tried to add but did not find the code for it included in any virtual keyboard of any image including openpli and openatv
Posted 16 September 2018 - 08:01
i pushed today new style for virtualkeyboard please test.
but Italian language is not available and tried to add but did not find the code for it included in any virtual keyboard of any image including openpli and openatv
The new keyboard layout looks good, I don't care at all about it missing the Italian locale.
Just one question, though. Why did you map the radio button to clear out the search bar and the tv button to insert a space? It used to be the mute and one button respectively and those keys seemed a way better and more intuitive option for those purposes.
As for YouTube, TSmedia 12 allowed to hit the menu button to quickly jump to settings and that was very useful to toggle between filters (recently featured, most popular, etc.) when searching for videos. That doesn't seem to be possible in TSmedia 13 and TStube settings are only accessible from the main screen. Any plans to implement a more user-friendly solution?
Posted 16 September 2018 - 08:38
Very nice keyboard layout if you can make it compatible with enigma and will be of big value for E2iPlayer
following the code i have used for google suggestion for who intersted,i used twisted web engine to get suggestions,it is quick without delay in typing.
Suggestion list can be launched as dialog or intergerated within the screen of the virtualkeyboard, i found the second is more flexible and easy controlled.
class GoogleSuggestions(): def __init__(self, callback = None, hl = 'en'): self.hl = hl self.conn = None self.callback = callback return def prepareQuery(self): self.prepQuerry = '/complete/search?output=chrome&client=chrome&' if self.hl is not None: self.prepQuerry = self.prepQuerry + 'hl=' + self.hl + '&' self.prepQuerry = self.prepQuerry + 'jsonp=self.gotSuggestions&q=' return def dataError(self, error): print 'unable to get suggestion' self.callback([]) def parseData(self, output): print 'output', output, self.hl if output: data = output charset = 'ISO-8859-1' if self.hl == 'ar': charset = 'windows-1256' elif self.hl == 'el': charset = 'windows-1253' try: data = data.decode(charset).encode('utf-8') except: pass list = data.split(',') data2 = [] for item in list: if self.queryString in item: item = item.replace('"', '').replace('[', '').replace(']', '').replace('self.gotSuggestions(', '') data2.append(item) if self.callback is not None: self.callback(data2) return else: self.callback([]) return def getSuggestions(self, queryString, hl = 'en'): self.hl = hl self.prepareQuery() self.queryString = queryString self.reactor = reactor if queryString is not '': query = self.prepQuerry + quote(queryString) url = 'http://www.google.com' + query getPage(url, headers={'Content-Type': 'application/x-www-form-urlencoded'}).addCallback(self.parseData).addErrback(self.dataError) else: return []
Posted 16 September 2018 - 08:48
i pushed today new style for virtualkeyboard please test.
but Italian language is not available and tried to add but did not find the code for it included in any virtual keyboard of any image including openpli and openatv
The new keyboard layout looks good, I don't care at all about it missing the Italian locale.
Just one question, though. Why did you map the radio button to clear out the search bar and the tv button to insert a space? It used to be the mute and one button respectively and those keys seemed a way better and more intuitive option for those purposes.
As for YouTube, TSmedia 12 allowed to hit the menu button to quickly jump to settings and that was very useful to toggle between filters (recently featured, most popular, etc.) when searching for videos. That doesn't seem to be possible in TSmedia 13 and TStube settings are only accessible from the main screen. Any plans to implement a more user-friendly solution?
yes,i thought that mute still used by the system and volume but just tested and not used by the system when keyboard displayed so will assign clear to it again.
for 1 seen it is assigned already to space by default so i will remove assigning space to to tv
regarding youtube settings and even general TSmedia settings your point is good and will assign again to menu.
Edited by mfaraj57, 16 September 2018 - 08:48.
Posted 16 September 2018 - 10:19
That's excellent. Thanks.
Meanwhile, the latest version of skyit which you recently added to the international section seems to have messed something up with regards to videos that require tokens to play, which means videos that have "secure/encoded" in the url rather than just "encoded". The code is totally fine, but check this out for instance.
http://video.sky.it/SkyItVideoportalUtility/getVODAccessToken.do?token=d964eccd9a5e05772bdba8d529585d16&url=https://videoplatform.sky.it/secure/encoded/2018/09/15/1537043646263_ft_highlights_watvmu_web_high.mp4&dec=0
By visiting this link, the url for these "encrypted" videos is generated and that "sta" parameter is the only thing that changes each time a request is made. Anyway, that's the final url that TSmedia plays. Still, I've noticed that I now only get a black screen for some reason on most of those videos. It used to work fine until a few days ago when I was still using that old version you had created for TSmedia 12 in the netmedia section.
However, if I quickly copy that generated link off the log file before it expires and paste it into the iptvlist file, the video streams fine when started through the m3uplayer addon. That's a little weird, isn't it? It basically happens for almost all videos in the sports section, which I've added myself as it was missing in that earlier version, and you'll find it in the zip attached.
Posted 16 September 2018 - 13:40
Posted 16 September 2018 - 14:29
I spent nearly 8 hours to know the reason.
in fact before mentioning skyit problem i faced with some youtubes links error "string buffer not in string" using youtube-dll as a method of extraction ,i test the same links in other youtube-dll dependent plugins and found no error,so guessed it is local problem with TSmedia.
i found the problem lastly in equel sign,when the link contains equal sign( "=") it is not playing,in some place in processing the links i used to encode "=" with letters ''ExQ'' and should reverse this before playing the link,but for some reasons i do not revese it for "=".I took me longtime to resolve because the link when printed to log file or to console windows it printed with "=" sign while it in fact the letters ''ExQ'' and for this reason when you copied the link to iptvllist you copy with true equal sign so no problem,however do not bother yourself by understanding the reason and i think youtube and skyit problem resolved.
Posted 16 September 2018 - 16:45
Thanks for the detailed explanation. So that's more or less the same issue that affected TStube a few days ago. Like I said, that one is definitely fixed now. As for skyit, is it gonna take a software or simple addon update to fix that?I spent nearly 8 hours to know the reason.
in fact before mentioning skyit problem i faced with some youtubes links error "string buffer not in string" using youtube-dll as a method of extraction ,i test the same links in other youtube-dll dependent plugins and found no error,so guessed it is local problem with TSmedia.
i found the problem lastly in equel sign,when the link contains equal sign( "=") it is not playing,in some place in processing the links i used to encode "=" with letters ''ExQ'' and should reverse this before playing the link,but for some reasons i do not revese it for "=".I took me longtime to resolve because the link when printed to log file or to console windows it printed with "=" sign while it in fact the letters ''ExQ'' and for this reason when you copied the link to iptvllist you copy with true equal sign so no problem,however do not bother yourself by understanding the reason and i think youtube and skyit problem resolved.
Posted 16 September 2018 - 19:48
Posted 16 September 2018 - 21:53
Thank you for the info. Generally I am not using twisted module. It will be harden to deploy this without twisted, but this is only technical problem.
Your idea to use Google as suggestion search engine is brilliant I think.
Very nice keyboard layout if you can make it compatible with enigma
This was already added to E2iPlayer.
This is how it looks with language selection:
It based on the Windows keyboard layout files (*.KLC), so there is possible to create own or modify existing keys layout using Windows utilities like:
Microsoft Keyboard Layout Creator 1.4
https://www.microsof...s.aspx?id=22339
or test it with very nice program KBDEDIT
http://www.kbdedit.com/demo.html
The languages layouts are not hardcoded inside python file, they are read on demand from /etc/ directory.
Edited by samsamsam, 16 September 2018 - 21:55.
Posted 17 September 2018 - 09:52
Very excellent work.
Just tested with E2iPlayer and I was impressed by the design and the available keys,also movement between different keys is smooth as well as availablity of many languages not available in classical enigma keyboard.
i did not see google suggestion in action ,may be not implented yet in the last update.
i know the work still in the begining but some notes if added the keyboard will be perfect.
1- shortcuts for frequent key usage like insert space,clearall,move marker to right or left or end or begining,
2- Assignment colors to main actions as in classical enigma keyboard(because user used to use them) ,green for enter,yellow for langauage
3-sms typing.
4-need some work with full hd skin and hd skin(the keyboard located down in the tv screen with hd skin and small with full hd skin)
0 members, 7 guests, 0 anonymous users