Jump to content


Photo

TSmedia enigma2 plugin 1.0


  • This topic is locked This topic is locked
2611 replies to this topic

Re: TSmedia enigma2 plugin 1.0 #2281 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 26 September 2017 - 16:21

The box with TSmedia 12 that has this issue is still on openatv 5.3, and the skin is slyk 5.204 which I heavily edited myself, but that was last year, and I haven't made any changes since, and like I said above I had no such issues in TSmedia 11. I have another box on openatv 6.1 with the same skin, and it doesn't have this issue, but it's still on TSmedia 11.



Re: TSmedia enigma2 plugin 1.0 #2282 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 26 September 2017 - 17:24

I do not have explanation for this but sure it is displaying problem not code

this screen TSmediadownloadtasks   responsible for displaying size from  skin_default.xml

may check the line labelled "# index 4 is the percentage" and play with  flags = RT_HALIGN_LEFT  and put is as RT_HALIGN_RIGHT or RT_HALIGN_CENTER

        <widget
            source = "tasklist"
            render = "Listbox"
            position = "60,120"
            size = "1010,370"
            zPosition = "7"
            scrollbarMode = "showOnDemand"
            transparent = "1">
            <convert type = "TemplatedMultiContent">
                {"template": [
                MultiContentEntryText(pos = (0, 1), size = (400, 24), font=1, flags = RT_HALIGN_LEFT, text = 1), # index 1 is the name
                MultiContentEntryText(pos = (410, 1), size = (200, 24), font=1, flags = RT_HALIGN_RIGHT, text = 2), # index 2 is the state
                MultiContentEntryProgress(pos = (620, 1), size = (200, 24), percent = -3), # index 3 should be progress
                MultiContentEntryText(pos = (830, 1), size = (300, 24), font=1, flags = RT_HALIGN_LEFT, text = 4), # index 4 is the percentage
                ],
                "fonts": [gFont("Regular", 22),gFont("Regular", 18)],
                "itemHeight": 25
                }
            </convert>
        </widget>



Re: TSmedia enigma2 plugin 1.0 #2283 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 26 September 2017 - 19:12

Ok, thanks. I'll try that and let you know what happens.



Re: TSmedia enigma2 plugin 1.0 #2284 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 26 September 2017 - 19:17

for openload to work in Tsmedia may need to do pairing with this link

https://olpair.com/

the pairing with openload  expires after 4 hours



Re: TSmedia enigma2 plugin 1.0 #2285 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 26 September 2017 - 19:19

Well, it's better than nothing for the time being. Thanks for the tip. :)



Re: TSmedia enigma2 plugin 1.0 #2286 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 26 September 2017 - 19:23

This is applied also for kodi users , because kodi men get bored from decryption openload frequently and find few seconds in doing pairing is not difficult

http://koditips.com/...g-details-help/



Re: TSmedia enigma2 plugin 1.0 #2287 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 26 September 2017 - 22:07

Yeah, that's no big deal. But what do I have to do next to get openload links to work in TSmedia?

I do not have explanation for this but sure it is displaying problem not code

I just realized that I had recently switched the menu language to Italian, because I gave this box to my parents. So, I just switched back to English, and the file size reappeared while downloading. I guess that's the source of the issue then? Any chance I could fix that?

Edited by mick80, 26 September 2017 - 22:07.


Re: TSmedia enigma2 plugin 1.0 #2288 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 27 September 2017 - 09:50

Then it is font problem,but still unexplained because the used font to write the file size is Regular which the default font for the image and should recognize the Italian characters,you use TSmediaFont in place of regular the  in the TSmediadownloadtasks
"fonts": [gFont("TSmediaFont", 22),gFont("TSmediaFont", 18)],


Re: TSmedia enigma2 plugin 1.0 #2289 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 27 September 2017 - 09:52

for openload
just open https://olpair.com/ in any browser then go to TSmedia and open any openload link

Re: TSmedia enigma2 plugin 1.0 #2290 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 27 September 2017 - 10:22

New addons
*****************************
plugin Name:movies_plugin.video.pandeco_1.0.2
version:1.0.2
author:PaNdEcO
description:Movies , TV Shows and more.[CR][CR]With Playlists compiled and maintained by Pandeco Stoner
*****************************
update
*****************************
plugin Name:movies_plugin.video.1channel_1.2.1
version:1.2.0
author:mfaraj,opesboy
description: Play a wide selection of movies and TV shows from 1channel.ch

*****************************
plugin Name:sport_plugin.video.physicality_1.0.1
version:1.0.1
author:Dandymedia
description:Youtube fitness workout and fitness

*****************************
plugin Name:movies_plugin.video.omnimovs_gw_2.0.0
version:2.0.0
author:Dandymedia
description:A massive library of international titles from Hollywood, Bollywood, Tamil/Telugu many with multiple audio tracks.[CR][CR][COLOR red]For ease set your desired preffered audio language within Kodi Settings/Video/Playback, This can also be done during playback from the audio controls icon.
*****************************
*****************************
plugin Name:music_plugin.video.jukeboxhero_1.0.3
version:1.0.3
author:Dandymedia
description:Direct playlists from youtube using other sites to index and then searching youtube for playlist content.[CR][CR]You will need the Youtube addon installed.
*****************************
plugin Name:science_plugin.video.freelecture_1.0.0
version:1.0.0
author:Dandymedia
description:All scraped from freevideolectures.com the YouTube addon is required
*****************************
plugin Name:kids_plugin.video.turtlediary_0.0.6
version:0.0.6
author:Dandymedia
description:A range of educational videos for kids span over a variety of math, science, and language arts subjects
*****************************

Re: TSmedia enigma2 plugin 1.0 #2291 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 27 September 2017 - 15:45

for openload
just open https://olpair.com/ in any browser then go to TSmedia and open any openload link

That's exactly what I did last night, I did the pairing through my phone, then tried a few links in TSmedia, but none of them worked.

Re: TSmedia enigma2 plugin 1.0 #2292 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 27 September 2017 - 16:30

yes,it is not always working
but just tested 1channel/movies/popular/deadpool/openload before pairing and gives error and after pairing it runs
For this pairing to work ,you should get last TSmedia updates

Re: TSmedia enigma2 plugin 1.0 #2293 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 28 September 2017 - 08:58

Just tested that movie and others after successfully completing the pairing on that website, but openload links wouldn't work despite TSmedia being up to date. Maybe it's just down at the moment, though.

As for the file size issue, I tried the TSmediaFont thing yesterday and also playing with RT_HALIGN for index 4, or smaller fonts, but no dice, it's like the file size gets somehow hidden when the Italian language is selected. I also updated to openatv 6.1. Anything else I could try? Any chance you could take a look at it after switching to Italian in your box to see if you can figure out what causes this?
e7e16119287d6c7e84cf249f287b2eef.jpg

Edited by mick80, 28 September 2017 - 09:00.


Re: TSmedia enigma2 plugin 1.0 #2294 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 28 September 2017 - 13:59

Yes,same as you with Italiano size not displayed ,it is not font or skin problem

it is unprofessional way in  managing the code

the problem in this piece of code

i calculate the size for the first download task only, and to know it is the first download task i check for word "progress" in status text ,but in Italiano never see this word so the calculation for size is not executed,and also this apply to other languages than English

just fixed by replacing first line with this

if self.index==0 :

  #calculate and display size

in current TSmedia update will fix the problem

            if 'progress' in status.lower():## no progress word in italiano,so the code not executed
                try:
                    filesize = os.path.getsize(dlocation + job.name)
                    filesize = str(int(filesize) / 1048576) + 'MB'
                except:
                    filesize = ''

                size = filesize + '/' + size
                self.tasklist.append((job,
                 job.name,
                 status,
                 int(100 * job.progress / float(job.end)),
                 str(100 * job.progress / float(job.end)) + '%' + ' ' + size))
            else:
                self.tasklist.append((job,
                 job.name,
                 status,
                 int(100 * job.progress / float(job.end)),
                 str(100 * job.progress / float(job.end)) + '%'))

Edited by mfaraj57, 28 September 2017 - 14:00.


Re: TSmedia enigma2 plugin 1.0 #2295 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 28 September 2017 - 14:06

for openload it is working

just to be sure you pair from same network connected to receiver

if still not working please check /tmp/TSmedia/TSmedia_log after receiving the error



Re: TSmedia enigma2 plugin 1.0 #2296 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 28 September 2017 - 14:36

Thanks. So, it affects all languages, not just Italian. Have you already pushed an update for this or will you do it over the coming days? Otherwise, I'm not sure I got what it is I need to replace exactly in skin_default. What do you mean by first line?

As for openload, of course I'm using the same network, I'll test it out again tonight, and I'll post the log file if it doesn't work.

Re: TSmedia enigma2 plugin 1.0 #2297 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 28 September 2017 - 17:42

Okay, file size now showing up fcbfec58510ddf229bc6826fb32a6227.jpg

Re: TSmedia enigma2 plugin 1.0 #2298 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 28 September 2017 - 17:58

I can't get openload to work, though. Just checked a bunch of links (I made sure they were valid) after pairing, but none of them worked. I always got invalid stream link. Here's the log file after trying deadpool in 1channel.
TSxpath:adding TSmedia directories to system path......
TSxpath:Finished adding  TSmedia directories to system path......
baseurl http://www.primewire.ag/
Mode: 21
URL: http://www.primewire.ag/gohere.php?title=Deadpool&url=aHR0cHM6Ly9vcGVubG9hZC5jby9mL2FFU2hLcmdsRzlVL0RlYWRwb29sLjIwMTYuNzIwcC5CbHVSYXkuSDI2NC5BQUMtUkFSQkcubXA0&domain=b3BlbmxvYWQuY28=&loggedin=0
Name: openload.co
page: 0
server_url,server https://openload.co/f/aEShKrglG9U/Deadpool.2016.720p.BluRay.H264.AAC-RARBG.mp4 openload
mainserver,host,classname pelisresolver openload PelisResolver
imprt statment from pelisresolver.servers.openload import get_video_url
stream_url [[' [Openload] ', '|User-Agent=Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0', 0, '']]
stream_link Error:Invalid stream link
Execution finished!! 


Re: TSmedia enigma2 plugin 1.0 #2299 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 28 September 2017 - 18:53

For openload i use first pelisresolver to open openload and does not need pairing and in case of error should use urlresolver which need pairing but for some reseans stop at the error and not execute urlresolver technique to check for pairing
Do not have this problem ,could be the output from first step is different according to country .
Will fix it soon

Edited by mfaraj57, 28 September 2017 - 18:53.


Re: TSmedia enigma2 plugin 1.0 #2300 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 28 September 2017 - 19:13

Just sent update ,could resolve openload issue after pairing




7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users