[DEVELOPMENT] Mediaset Premium NetTV addon

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ryosaeba87 Offline
Junior Member
Posts: 19
Joined: Aug 2010
Reputation: 0
Location: Italy
Post: #1
Hello all,

in italy exist a service called "Mediaset Premium NetTV". This service allows you to see the content through subscription. ( http://nettv.mediasetpremium.it/ ).

The first step for make the addons is to create a menu.
the site make his menu through a JSON call ( http://nettv.mediasetpremium.it/MDSBE/be...annel=PCTV ). This is formed by an object and a series of array.


I'm not a python developer. Could someone explain to me how it works and how can I begin work?



Thanks
find quote
CrashX Offline
Posting Freak
Posts: 1,216
Joined: Jan 2009
Reputation: 2
Post: #2
Have you looked at XBMC PVR Addon (C++) ?

The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
find quote
ryosaeba87 Offline
Junior Member
Posts: 19
Joined: Aug 2010
Reputation: 0
Location: Italy
Post: #3
Why PVR? The service is through internet for only subscription at the italian pay-tv. It's is similar to RaiClick addon (http://www.angeloxx.it/blog/technews/rai...mc-11.html), but it provide a login to the service. Now, the raiclick addon parse a html of the website when premium nettv use a web frontend using JSON for the content. My difficulties is to decode JSON to a python object for build the menu list in my addon. Logically this is only the first step.
The second step is to view video content ( without login is possible to view only a demo-content ).
The third step is the login procedures.


for the first step i use this simple code

Code:
import json, urllib

JSONUrl = "http://nettv.mediasetpremium.it/MDSBE/besc?action=GetCatalogueTree&channel=PCTV"

JSONContent = urllib.urlopen(JSONUrl).read()

data = json.loads(JSONContent)   ####*???????? it's correct ???????


help! Smile
find quote
byxil Offline
Member
Posts: 64
Joined: Aug 2010
Reputation: 0
Location: Italy
Post: #4
Hi, work is going on?
i'm very interested
find quote
Cagnulein Offline
Junior Member
Posts: 2
Joined: Nov 2011
Reputation: 0
Post: #5
I'm very interested too.
find quote
miazza Offline
Junior Member
Posts: 12
Joined: Sep 2007
Reputation: 0
Post: #6
We are all very interested.
Now the add-on exists officially only for XBOX360 Sad.

I think this is really a pity and that XBMC can manage this add-on very easily.

I'm not a developer so everything sound very easy to me Smile... but I know it's not an easy task....

miazza
find quote