Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Sep 2019
    Posts
    161

    Post Mpegtv's Android Active Code API explanation.

    Hi guys.


    Time for MPEGTV android active code explanation.


    let's say that :
    Our host is: iptv.localhost and
    Mpegts port: 8000
    Active Code : 176877097288458

    The request must be formated as follow :
    Code:
    http://iptv.localhost:8000/android/login?code=176877097288458&mac=&model=&version=&sdk=
    Where :
    Code: active code from client <-- Mandatory field.
    Mac: is mac adress of our device.
    Model: model name.
    Version: Android Version.
    Sdk: Sdk version.

    And the answer should be as follow : Don't forget it's really alleged response

    Status: 1 Active, and 0 Disabled or expired.
    Msg: Global config to modify it.
    Code: is active code related to client.
    Expire: Expiration date of the client.
    Hash: Security Hash.
    CHN: list of All channels.
    VOD: list of all VODS.

    Now let's check Channels, When we will parse those channels we will see :

    Where :
    I: is The category ID and also the ID of image in path host:port/image/cat?id=xx
    T: 0 is for Vod and live, 1 is for Series, 2 Arabic Series.
    N: category name.
    L: list of related channels.


    Expanding list it will contains as follow :

    Where :
    I: ID of the channel and also ID of the TS and also the ID of the image from host:port/image/chn?id=xx

    N: is channel Name

    To this we can add a little Extra link for EPG's as follow :
    Code:
    http://iptv.localhost:8000/android/epg?code=176838954884158&mac=&model=&id=1534
    Same as login, but at the end we can add both ID and CAT

    For ID :
    exampe of id 1534 of channel

    ID: So for specific Channel we use id=Channel ID, this will show a detailed EPG.

    For CAT:
    Code:
    http://iptv.localhost:8000/android/epg?code=176838954884158&mac=&model=&cat=3

    In this example we use cat 3.
    CAT: this will show All the current program titles of all the channels listed in category (without details just titles)
    ID: Channel ID.
    TC: Title of current program
    SC: Start Time of the current program
    EC: End time of the current program.

    I'll add more details in Vod Part later this evening.
    Attached Images Attached Images
    Last edited by MagSat; 10-30-2019 at 01:08 PM.

  2. #2
    Junior Member
    Join Date
    Nov 2020
    Posts
    1
    hi i ned help how i setup on active code panal pls?

  3. #3
    Senior Member
    Join Date
    Sep 2019
    Posts
    161
    Hi wich panel are you using and wich Application ?

    Kindly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •