WordRider Home
Welcome! Log In Create A New Profile

Advanced

iPrima plugin

Posted by Tom07 
Re: iPrima plugin
December 17, 2015 11:00AM
@TVjunkie: nice find smiling smiley

I suppose we can try to get all possible qualities (SDs, HD720, HD1080) based on the patterns.
Re: iPrima plugin
December 18, 2015 11:16AM
IPrima plugin v2.0.0 has just been released. It supports SD with various bitrates, HD 720p, and HD 1080p.
Re: iPrima plugin
December 19, 2015 04:01PM
Hi,

good work! Thanks!

but...
They moved everything about Autosalon to [autosalon.iprima.cz] (different 3rd level domain) - including videos...
Other streams are at [play.iprima.cz]
So plugin doesn't know link to Autosalon streams and FRD isn't able to download it.
I hope, that everythink needed is to accept both 3rd level domains (play|autosalon).iprima.cz by iprima plugin, other parts of links seems identical.

Please add this to the plugin.

Thank you
Re: iPrima plugin
December 19, 2015 05:42PM
New plug-in does not work.

Sample present address:

[play.iprima.cz]

or

[play.iprima.cz]

or

[play.iprima.cz]

Thank you
Re: iPrima plugin
December 19, 2015 08:12PM
Rubbs wrote:
-------------------------------------------------------
> New plug-in does not work.
> [play.iprima.cz]
> [play.iprima.cz]
> [play.iprima.cz]

Hello smiling smiley

When you are reporting that an FRD plugin
is not working, it'd be nice to also include in your report:
1. OS version & architecture
2. Version of Java installed
3. We'll assume you are running latest version of FRD, but
that is not always the case for all people, and I guess
"New plug-in" implies you're on iprima.frp 2.0.0 already...
4. Stating physical location as, especially for TV plugins,
most content is geo-blocked sad smiley
5. Attaching "app.log" is always a big help to devs
for debugging reported issue...winking smiley

Are you actually trying to download from within the Czech Republic?
All three of your referenced sample links are geo-blocked to
not be accessible from non-CZ IPs...sad smiley
When I try in a browser (Firefox, after first disabling uBlock Origin...angry smiley) ,
I get the following error message:

Litujeme, tento pořad nelze z licenčních důvodů přehrávat mimo Českou republiku
(... thanks to Google Translate, it means:
Sorry, this show can not be played outside the Czech Republic
due to licensing reasons
)

After some search, I was successful in finding
a half-working Czech HTTP Proxy
(194 dot 213 dot 60 dot 227:8585)
and after configuring Firefox to using it, I was
successful in by-passing their geo-filter;
show tried was:
Hrůza v oblacích
and eventually sniffed the following SD HLS playlist:
http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0002/0491/cze-ao-sd1-sd2-sd3-sd4.smil/playlist.m3u8
Hostname "prima-vod-prep.service.cdn.cra.cz"
IS NOT GEO-BLOCKED, so I was able to fetch
via ffmpeg from my non-CZ IP (see previous posts
of mine in this thread):
ffmpeg -loglevel 8 -stats -i "http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0002/0491/cze-ao-sd1-sd2-sd3-sd4.smil/chunklist_b1667072.m3u8" -c copy "hruza-v-oblacich-4_400p_1600k.ts"

When I then configured FRD to use
the mentioned open CZ HTTP proxy,
which has little working bandwidth, FRD would:
1. Either "fail to parse playlist"
(this could mean it was unable to download
the master playlist or the chosen "child" playlist,
tong you know what I mean...winking smiley ), or
2. Parsing the playlist would succeed, but the
actual download would never start (timed-out
connection) or would start at excruciatingly
slow speeds, to eventually stop altogether soon
after...
The above are caused because the plugin
tries to shift all HTTP traffic through provided
(weak) proxy...

@tong2shot:

For geo-blocked TV shows on iPrima, the plugin has to
use provided HTTP proxy ONLY for fetching THE MASTER
APPLEHLS URL - the child playlists
(.../chunklist_b*******.m3u8) AND THE ACTUAL STREAM
DOWNLOAD should be made via a DIRECT connection...

When one not in CZ Rep tries to download a blocked show,
maybe the plugin could print an alert to advise him/her to use
a geo-location circumvention method, if available (CZ proxy or
CZ VPN), or you can do it via the ITV plugin method and
couple iPrima.frp with Tor.frp (to use a CZ exit node) but
only for those shows that give the geo-location error,
because (unlike ITV Hub) there are many shows on iPrima PLAY
that are currently freely available from non-CZ IPs...

Apologies for giving you additional staff to work on...tongue sticking out smiley
Regards (and Happy Holidays...)



Edited 3 time(s). Last edit at 12/19/2015 08:22PM by TVjunkie.
Re: iPrima plugin
December 19, 2015 10:49PM
MiBrn Wrote:
-------------------------------------------------------
> Hi,
>
> good work! Thanks!
>
> but...
> They moved everything about Autosalon to
> [autosalon.iprima.cz] (different 3rd level
> domain) - including videos...
> Other streams are at [play.iprima.cz]
> So plugin doesn't know link to Autosalon streams
> and FRD isn't able to download it.
> I hope, that everythink needed is to accept both
> 3rd level domains (play|autosalon).iprima.cz by
> iprima plugin, other parts of links seems
> identical.
>
> Please add this to the plugin.
>
> Thank you

They use different format for autosalon. The old format perhaps, I haven't analyzed this thoroughly. We'll see what we can do.



Edited 1 time(s). Last edit at 12/19/2015 10:54PM by tong2shot.
Re: iPrima plugin
December 19, 2015 10:52PM
Rubbs Wrote:
-------------------------------------------------------
> New plug-in does not work.
> Sample present address:
> [play.iprima.cz]
> [play.iprima.cz]
> [play.iprima.cz]

Tested with stable CZ proxy, plugin v2.0.0 works fine.



TVjunkie Wrote:
-------------------------------------------------------
> For geo-blocked TV shows on iPrima, the plugin has to
> use provided HTTP proxy ONLY for fetching THE
> MASTER APPLEHLS URL - the child playlists
> (.../chunklist_b*******.m3u8) AND THE ACTUAL
> STREAM DOWNLOAD should be made via a DIRECT
> connection...

I think you meant the "media selector" (http://play.iprima.cz/prehravac/init), not the master playlist URL. The master playlist URL, the segment/child playlist URL, and the the actual stream are not geo-blocked.


> When one not in CZ Rep tries to download a blocked
> show, maybe the plugin could print an alert to advise
> him/her to use a geo-location circumvention method, if available
> (CZ proxy or CZ VPN),
> or you can do it via the ITV plugin
> method and couple iPrima.frp with Tor.frp (to use a CZ exit
> node) but only for those shows that give the geo-location
> error, because (unlike ITV Hub) there are many shows on
> iPrima PLAY that are currently freely available from non-CZ IPs...

Thanks for the suggestions.
The geo-location error message and tor support have been added in plugin v2.1.0. Enjoy! smiling smiley
Re: iPrima plugin
December 20, 2015 08:27PM
tong2shot wrote:
-------------------------------------------------------
> They use different format for autosalon.
> The old format perhaps,
> I haven't analyzed this thoroughly.

Spot on winking smiley .
They are still (to be changed later?) using
the previous AppleHLS scheme
that was implemented in former iPrima.frp v1.5.0;
a small patch to the code in order to recognise
the modified hostname "autosalon.iprima.cz"
and "Bob's your uncle" ! tongue sticking out smiley
Re: iPrima plugin
December 20, 2015 10:08PM
tong2shot wrote:
-------------------------------------------------------
> I think you meant the "media selector"
> (http://play.iprima.cz/prehravac/init),
> not the master playlist URL.

In my tests, I'd use FFmpeg to download, so
was targeting only ".m3u8" URLs inside the
Web Console (of Firefox) output
(i.e. I had set ".m3u8" as the search term
in the "Filter output" input field...spinning smiley sticking its tongue out );
that is why the "mediaselector" URL evaded me...

My test show has now expired
http://play.iprima.cz/bursikovy-brikety
=> 404: The requested page was not found
but with a different - not geo-blocked - show:
http://play.iprima.cz/vinari/vinari-ii-16
I do now sniff:
http://play.iprima.cz/prehravac/init?_infuse=1&_ts=1450647664989&productId=p128345
But I think what I originally said:
Quote
TVjunkie
the plugin has to use provided HTTP proxy ONLY for fetching THE MASTER APPLEHLS URL
is still valid; the "mediaselector" URL is used to
retrieve (IOW fetch) the master HLS playlist URL,
and it is only at that point that the Czech proxy
should be used...smiling bouncing smiley

> Thanks for the suggestions.

You are certainly most welcome...smiling smiley

> and tor support have been added in plugin v2.1.0. Enjoy!

It's now working wonderfully, both with free content:
vinari-ii-16
and geo-blocked one:
prvni-svetova-valka-2,
so it's a superb piece of work on your part thumbs up smiley

One minor issue:
It appears plugin v2.1.0 does not support
parallel downloads
(i.e. more than one at
the same time...sad smiley ), see attachment...
Is this by design?

Many festive greetings...
Attachments:
open | download - FRD_iPrima.jpg (39.9 KB)
Re: iPrima plugin
December 20, 2015 10:24PM
TVjunkie wrote:
-------------------------------------------------------
> One minor issue:
> It appears plugin v2.1.0 does not support
> parallel downloads

... Please disregard my remark...eye rolling smiley
I feel embarrassed...
This behaviour can be changed from
within the plugin's settings;
I changed the default value = 1 to 4...
(see attachment).

Again, many thanks thumbs up
Attachments:
open | download - iPrima_Settings.jpg (56.5 KB)
Sorry, only registered users may post in this forum.

Click here to login