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 #2241 cargen

  • Senior Member
  • 93 posts

0
Neutral

Posted 1 September 2017 - 18:47

Hi, search alluc add-on is not working. Would it be possible to fix it?

Sent from my Moto G (4) using Tapatalk

Search alluc was working fine with me last night, at least the search function, I didn't check the other sections. Of course, I had to first fill in my username and password again as I had not done it yet following the update to TSmedia 12.
Not working for me it search by it doesn't play anything


***********************************************Press GREEN for standard log,YELLOW for data log,BLUE to excute last command in console********************** ************Errors and logs-TSmedia_log********************** ********************************** TSxpath:adding TSmedia directories to system path...... TSxpath:Finished adding TSmedia directories to system path...... Mode: 8 URL: %23src%3Adir.alluc.to+%232015 Name: 2015 movies page: 1 url https://www.alluc.ee....alluc.to #2015 json {u'status': u'error', u'message': u'Invalid Key or rate limit exceeded.', u'resultcount': 0, u'result': [], u'fetchedtoday': 0} status error Invalid Key or rate limit exceeded. 0 0 0 Execution finished!! ************Errors and logs-TSmedia_log2********************** processdata.py:starting url-param: /usr/lib/enigma2/python/Plugins/Extensions/TSmedia/addons/movies/plugin.video.searchalluc/default.py?url=%2523src%253Adir.alluc.to%2B%25232015&mode=8&name=2015+movies&page=1&desc=1 ************End Errors and logs********************** **************************************************** ***********************************************Press GREEN for standard log,YELLOW for data log,BLUE to excute last command in console********************** ************Errors and logs-TSmedia_log********************** ********************************** TSxpath:adding TSmedia directories to system path...... TSxpath:Finished adding TSmedia directories to system path...... Mode: 2 URL: http://www.thevideo.me/vjh0y66e3maz Name: thevideo.me_The.Song.2014.DVDRip.X264.AC3-PLAYNOW.mkv page: 1 http://www.thevideo.me/vjh0y66e3maz servers ['openload', 'vidlox', 'estream', 'vidzi', 'letwatch', 'vidbom', 'zstream', 'raptu', 'vidoza', 'streamango', 'watchers', 'videowood', 'google', 'mystream', 'dailymotion', 'vidtodo', 'tusfiles', 'userscloud', 'vidto', 'streamcloud', 'nowvideo', 'movshare', 'nowvideo', 'vidabc', 'movdivx', 'cloudtime'] stream_url http://www.thevideo.me/vjh0y66e3maz ********servername,hostname,classname thevideo None None None servername,hostname,classname thevideo None None None web_url http://www.thevideo.me/vjh0y66e3maz Execution finished!! ************Errors and logs-TSmedia_log2********************** processdata.py:starting url-param: /usr/lib/enigma2/python/Plugins/Extensions/TSmedia/addons/movies/plugin.video.searchalluc/default.py?url=http%3A%2F%2Fwww.thevideo.me%2Fvjh0y66e3maz&mode=2&name=thevideo.me_The.Song.2014.DVDRip.X264.AC3-PLAYNOW.mkv&page=1&desc=fetchedtoday-72 tsmresolver.py:web_url: http://www.thevideo.me/vjh0y66e3maz tsmresolver.py:host: thevideo tsmresolver.py:resolver: None tsmresolver.py:web_url: http://www.thevideo.me/vjh0y66e3maz ************End Errors and logs********************** ****************************************************

Re: TSmedia enigma2 plugin 1.0 #2242 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 2 September 2017 - 19:16

I used search alluc last night and openload links played fine with me. I think streamcloud and movpod.in worked as well, thrvideo.me didn't.

Re: TSmedia enigma2 plugin 1.0 #2243 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 11 September 2017 - 13:16

Hi mfaraj57, I was wondering if you were in the mood (and had the time) to create a simple addon. It's basically for just three channels, and it would retrieve downloadable mp4 links rather than m3u8 streams like the Kodi addon does. I guess it would be a no brainer for you to do it as all the parameters are out there in plain view. Here's the deal. The base URLs are the following:

RaiUno
http://www.rai.tv/dl/portale/html/palinsesti/replaytv/static/RaiUno_2017_XX_XX.html
RaiDue
http://www.rai.tv/dl/portale/html/palinsesti/replaytv/static/RaiDue_2017_XX_XX.html
RaiTre
http://www.rai.tv/dl/portale/html/palinsesti/replaytv/static/RaiTre_2017_XX_XX.html

Now "XX" of course stands for dates (day and month), so for instance yesterday's page for the first channel would be

http://www.rai.tv/dl/portale/html/palinsesti/replaytv/static/RaiUno_2017_09_10.html

The thing is that the network only keeps these pages available for the previous seven days, so the ideal option would be, for each of these three channels, to have just seven items whose URLs in the addon would have to be built depending on the current date, and going back seven days. So, for example, today, it would have to be September 4 through September 10. But, I don't even know if it's possible to achieve something like that in enigma, or it might be too much of a hassle. So, I wouldn't mind having 31 items (hence, from _01.html to _31.html) for each day of the month, and then updating the month myself when needed.

As for retrieving the actual links, the addon should get these three items on those landing pages:

"t" for program's title
"image" for thumbnail
"h264_1800" for mp4 link

Let me know what you think about it. If you could whip up a rough version of the addon, even with just a single channel, I would then take it from there, and add the other two channels, icons, and all the bells and whistles :D



Re: TSmedia enigma2 plugin 1.0 #2244 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 11 September 2017 - 14:28

looks to be simple exercise,let start with one channel and see 



Re: TSmedia enigma2 plugin 1.0 #2245 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 11 September 2017 - 17:37

raitv 1.0.16 with 1 channel Raiuno

plugin.video.raitv 1.0.16

need adding othe channels and some channels images

cleaning code and other functions i will do in final version

needs today TSmedia  update(TSmedia main menu-blue-blue) because the links managed as normal link not m3u8 links



Re: TSmedia enigma2 plugin 1.0 #2246 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 11 September 2017 - 17:51

Thanks. I'll test it out in a little while. But do you mean you've replaced the previous version? I was hoping to have both, as that one, although it has m3u8 streams, is obviously more complete since it has very old shows, too, while what I described earlier is just shows from the last seven days (RaiReplay).

Re: TSmedia enigma2 plugin 1.0 #2247 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 11 September 2017 - 20:20

So, I've edited the addon's name to install it as a brand new addon (I called it RaiReplay) without replacing the old one. Still, despite performing the update as you suggested, this one grabs the m3u8 links nonetheless, and also the sd version (800 instead of 1800 in the link). If you recall, a few months ago I told you about this issue, and you fixed it for nightflyer's addon.

Like I said earlier, if there's a way to keep them both, or maybe integrate this version of RaiReplay within the old one would be super, as I think they complement each other, seeing as the original one has lots of stuff, albeit as m3u8 streams, while this RaiReplay allows videos to be downloaded, although just from the past seven days.

Re: TSmedia enigma2 plugin 1.0 #2248 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 11 September 2017 - 21:17

yes,we can keep both with changing name for the second

i did the plugin very fast so i did not look in details for json data to see the links

however do your changes and will examine the plugin tomorrow, also i will see how to add the data to the original plugin



Re: TSmedia enigma2 plugin 1.0 #2249 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 11 September 2017 - 21:25

Yeah, okay. The thing is the links under "h264_1800" that end in Equal, and don't look like mp4 files at all, should be played just like that. In fact, I bookmark this type of links to diigo all the time to watch through TSmedia, and I can download them just fine, as hiding behind those links are actually mp4 links which I can read by pressing info in TSmedia.

Re: TSmedia enigma2 plugin 1.0 #2250 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 12 September 2017 - 15:44

yes they are actually m3u8 file and include two or more mp4 file as seen by showing playlist by arrow up in player

send to me your changes to the plugin and will upload it as plugin.video.RaiReplay.Just for seek of easy update better to keep it as separate plugin


Edited by mfaraj57, 12 September 2017 - 15:45.


Re: TSmedia enigma2 plugin 1.0 #2251 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 12 September 2017 - 16:14

Yeah, I agree. It works better as a stand-alone addon So, here it is. It's actually seven channels that work through this system, they are all in there now, I've changed the addon's name to RaiReplay version 1.0.0, and added thumbnails, icons, and the fanart. Still, except for Raiuno which you set up yesterday, the other channels won't return any results for any day. Here's the log:
14f2525232ff14917f33b61eb516605d.jpg
So, that's of course for you to figure out why, I have no clue. Also, what we talked about yesterday... the fact the addon plays low-res m3u8 streams rather than the high-res h264_1800 mp4 links, and, if possible, fixing the order in which the items are displayed, as they are currently shown randomly as opposed to chronologically, like they are instead on the website.
50cb644064b0a645201044b4001dbd9f.jpg

Attached Files



Re: TSmedia enigma2 plugin 1.0 #2252 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 12 September 2017 - 22:33

The error solved for other channels,i gave key 1 for all channels but in fact every channel has different key

available formts for video

 "h264" : "http://mediapolisvod.rai.it/relinker/relinkerServlet.htm?cont=rA5xxnCaJs0eeqqEEqual",
                "h264_400" : "",
                "h264_600" : "",
                "h264_800" : "",
                "h264_1200" : "",
                "h264_1500" : "",
                "h264_1800" : "http://mediapolisvod.rai.it/relinker/relinkerServlet.htm?cont=rA5xxnCaJs0eeqqEEqual",
                "urlTablet" : "http://mediapolisvod.rai.it/relinker/relinkerServlet.htm?cont=rA5xxnCaJs0eeqqEEqual",
                "urlrisorsasottotitoli" : "",
                "urlrisorsahighlights" : "",
                "urlrisorsatagli" : "",
                "urlSmartPhone" : "http://mediapolisvod.rai.it/relinker/relinkerServlet.htm?cont=r

but links looks all the same may be the one for smartphone is diiferent but donot expect tobe good quality


Edited by mfaraj57, 12 September 2017 - 22:34.


Re: TSmedia enigma2 plugin 1.0 #2253 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 12 September 2017 - 23:05

playing m3u8 playlist,i noticed player started by first mp4 file which low quality(something 5xx) then after seconds jump to second mp4(quality 900) which is acceptable quality

however check now the plugin in server and see



Re: TSmedia enigma2 plugin 1.0 #2254 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 13 September 2017 - 07:17

Thanks mfaraj57, I'll check it out later today.

Meanwhile, have you noticed that both pelisresolver and urlresolver pages on github are gone? I was still using the openloadupdater addon, even though it's no longer available on your server, and yesterday the addon failed. So, I noticed that its page on github was removed, and urlresolver's as well. What's gonna happen to openload now? :unsure:



Re: TSmedia enigma2 plugin 1.0 #2255 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 13 September 2017 - 09:50

we found new server for peliserver

https://github.com/o...ndemand-pureita seem it is Italian site  but still openload not working with TSmedia

server of urlresolver in github is not updated frequently so i do not use it,searching now for good server

today will add new server to TSmedia and will change the name to serversupdater because will include more than openload,however now it is available only in arabic section-more addons

i will try to edit the plugin.video.streamondemand-pureita to apply in TSmedia to test servers directly from the plugin itself.


Edited by mfaraj57, 13 September 2017 - 09:52.


Re: TSmedia enigma2 plugin 1.0 #2256 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 13 September 2017 - 19:36

Nope, just tested RaiReplay, the addon still plays the low-res m3u8 link. Sure, when I press the up arrow key, I can switch to the high-res version, but I still can't download it as it's an m3u8 stream.

Like I said the other day, when I bookmark those links "h264_1800" to diigo, the addon plays the mp4 file indeed which I can download of course. Here's an example of an mp4 link played through diigo after bookmarking one of those links ending in Equal:
78a47a07f7d6015f76d54f0c0c47f6cb.jpg
How come the same thing doesn't happen with this RaiReplay addon? Still, if it's too much trouble, don't sweat it, you've already wasted enough time on this. I'll just keep bookmarking to diigo when I need to download stuff off the rai website.

Re: TSmedia enigma2 plugin 1.0 #2257 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 14 September 2017 - 11:28

Sure there is way to download m3u8 files but need some works to accomplish that but at least for now i am not ready to do that.

i use the current method (jobs manager) to download files in background,downloading m3u8 files needs different way and build the whole downloading process..



Re: TSmedia enigma2 plugin 1.0 #2258 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 14 September 2017 - 13:42

Of course, no problem. Don't waste your time on m3u8 streams, it's not worth it.

I was just curious why the very same links turn into mp4 files after hitting OK or the blue button (to download) on those links in diigo, whereas that doesn't happen in this new addon, and instead m3u8 streams are played.

Still, if we want to try one last thing... here's the deal, but I have no idea if it can be done. You could try and tinker with the already working rai addon, where the Raireplay section is working well, and items are arranged chronologically, albeit with m3u8 streams. As it stands, if you remember, a few months ago you fixed that addon to play the high-res "_1800" m3u8 streams rather than "_800" streams. So, at the moment, when we start a video in that rai addon, we always get links such as this one:

http://2uscreativem1-vh.rai.it/i/podcastmhp_world/replaytv_world/raiuno_world/pomeriggio_world/7598259_,1800,.mp4.csmil/master.m3u8

Now, what you should do is have that m3u8 link turn into four different options for users to choose from, which could show up after hitting okay, kinda like openload links currently do as videos don't start right away but we get a second page where the mp4 file is. The four options for that previous rai link should be:

http://creativemedia1.rai.it/podcastmhp_world/replaytv_world/raiuno_world/pomeriggio_world/7598259_1800.mp4
http://creativemedia2.rai.it/podcastmhp_world/replaytv_world/raiuno_world/pomeriggio_world/7598259_1800.mp4
http://creativemedia3.rai.it/podcastmhp_world/replaytv_world/raiuno_world/pomeriggio_world/7598259_1800.mp4
http://creativemedia4.rai.it/podcastmhp_world/replaytv_world/raiuno_world/pomeriggio_world/7598259_1800.mp4

That tells you which parts of the m3u8 link to cut, and which to replace with what. I guarantee you that the mp4 files for RaiReplay are always one or more of those creativemedia links (1 to 4). Provided this can be done, I guess you should still consider a stand-alone addon having just that RaiReplay section as nightflyer's addon has other sections (on demand) that don't work the same way, and some don't even provide mp4 files, just m3u8 streams.



Re: TSmedia enigma2 plugin 1.0 #2259 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 14 September 2017 - 18:53

As i understand m3u8 files are just text file containing playlist of stream files,downlowding these playlist items is nit problem but this will not solve the problem
Now many tools available online to convert m3u8 to mp4 and save it in later format,also by python code i can do it in pc but difficult to do it in box because hardware limitation.
Diigo certainly uses some tools to convert m3u8 to mp4

Re: TSmedia enigma2 plugin 1.0 #2260 mick80

  • Senior Member
  • 254 posts

+6
Neutral

Posted 14 September 2017 - 19:05

Okay, I understand. :)  But what about what I described earlier? Isn't it possible to edit those m3u8 links on the fly, by cutting out the final part and replacing the first part, and have the addon display those four mp4 links instead? After all, that's in part what you did a few months ago when you forced it to play the "1800" version rather than the "800" one which was the default version in nightflyer's addon.




25 user(s) are reading this topic

0 members, 25 guests, 0 anonymous users