[SOLVED] On LibreELEC-RPi2.arm-9.0-Milhouse-201806xxx PVR SIMPLE CLIENT Not Work

  • hello,

    On raspbery 3

    i test LibreELEC-RPi2.arm-9.0-Milhouse-201806xxx....

    last test :LibreELEC-RPi2.arm-9.0-Milhouse-20180624232555-#0624-g7eb9981.tar

    the IPTV SIMPLE CLIENT PVR plugin does not work.

    (the TV channel in the m3u is displayed in the TV heading, but not playable)

    Am I in the right section of the forum ?

    is there another plugin that can make iptv from a simple m3u?

    Thanks

  • I would suggest getting PVR Simple working with LE 8.2.5, then once you have it working only *then* upgrade to an LE 9 test build.

    I'm not saying there are known problems with LE9 and PVR Simple, but you're starting with an unstable build and it's entirely possible you've found an issue, but it's just as likely (from our point of view) that you're simply not setting it up correctly.


    So start with known good software, ie. LE 8.2.5, then upgrade to LE9.0 once you have a working system.

  • hello mulhouse.

    before upgrape : work

    16:23:44.580 T:1945513984 NOTICE: VideoPlayer: Opening: pvr://channels/tv/Toutes les chaînes/pvr.iptvsimple_1622561168.pvr

    16:23:44.580 T:1945513984 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

    16:23:44.581 T:1471869856 NOTICE: Creating InputStream

    16:23:45.619 T:1471869856 NOTICE: Creating Demuxer

    16:23:46.490 T:1471869856 NOTICE: Opening stream: 0 source: 256

    16:23:46.490 T:1471869856 NOTICE: Creating video codec with codec id: 28

    16:23:46.490 T:1471869856 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

    16:23:46.491 T:1471869856 NOTICE: Creating video thread

    16:23:46.491 T:1332609952 NOTICE: running thread: video_thread

    16:23:46.491 T:1471869856 NOTICE: Opening stream: 1 source: 256

    16:23:46.491 T:1471869856 NOTICE: Finding audio codec for: 86018

    16:23:46.493 T:1471869856 NOTICE: Creating audio thread

    16:23:46.493 T:1324221344 NOTICE: running thread: CVideoPlayerAudio::Process()

    16:23:46.533 T:1471869856 NOTICE: Opening stream: 0 source: 256

    16:23:46.534 T:1471869856 NOTICE: Creating video codec with codec id: 28

    16:23:46.542 T:1471869856 NOTICE: Opening stream: 1 source: 256

    16:23:46.544 T:1324221344 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)

    16:23:47.098 T:1332609952 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer

    16:23:50.809 T:1598813088 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG Loaded.

    after upgrade not work

    16:22:24.545 T:1939596096 NOTICE: VideoPlayer::OpenFile: pvr://channels/tv/Toutes les chaînes/pvr.iptvsimple_1622561168.pvr

    16:22:24.550 T:1801425776 NOTICE: Creating InputStream

    16:22:24.830 T:1801425776 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401

    16:22:24.830 T:1801425776 ERROR: CCurlFile::Open failed with code 401 for 96.ts:

    16:22:24.903 T:1801425776 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401

    16:22:24.903 T:1801425776 ERROR: CCurlFile::Open failed with code 401 for 96.ts:

    16:22:24.904 T:1801425776 ERROR: Open - failed to open source <96.ts>

    16:22:24.904 T:1801425776 ERROR: CVideoPlayer::OpenInputStream - error opening [pvr://channels/tv/Toutes les chaînes/pvr.iptvsimple_1622561168.pvr]

    16:22:24.904 T:1801425776 NOTICE: CVideoPlayer::OnExit()

    a idea ?

    do you need other tests or other log?

    thanks

  • hello,

    howto change header on ccurl ?

    i try create .curlrc but not work...

    i reproduce the error with curl and i solve it.

    LibreELEC:~ # curl -v 96.ts

    * Trying xx.xx.xx.xx...

    * TCP_NODELAY set

    * Connected to panel.globepremium.com (xx.xx.xx.xx) port 8000 (#0)

    > GET /live/xxxxx/xxxx/96.ts HTTP/1.1

    > Host: panel.xxxxx.com:8000

    > User-Agent: curl/7.58.0

    > Accept: */*

    >

    < HTTP/1.1 401 Unauthorized

    < Server: nginx

    < Date: Sat, 30 Jun 2018 15:22:54 GMT

    < Content-Type: text/html; charset=UTF-8

    < Connection: close

    < Access-Control-Allow-Origin: *

    <

    * Closing connection 0

    and solve this with

    LibreELEC:~ # curl -v -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36" 96.ts

    * Trying xx.xx.xx.xx...

    * TCP_NODELAY set

    * Connected to panel.xxxxx.com (xx.xx.xx.xx) port 8000 (#0)

    > GET /live/toto/xxxxx/96.ts HTTP/1.1

    > Host: panel.xxxxx.com:8000

    > Accept: */*

    > User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36

    >

    < HTTP/1.1 302 Found

    < Server: nginx

    < Date: Sat, 30 Jun 2018 15:23:02 GMT

    < Content-Type: text/html; charset=UTF-8

    < Connection: close

    < Access-Control-Allow-Origin: *

    < Location: 96.ts?token=shrx==

    <

    * Closing connection 0

  • I finally solved the issue, and as I supposed, it was the User-Agent that for unknown reason was refuse by the server, so not Kodi issue.


    To solve the issue, I have to download the m3u file and edit it. on each channel I added the following string at the end: |User-Agent=VLC


    So, links look like now:

    Quote:#EXTM3U
    #EXTINF:-1,Channel 1
    1.ts|User-Agent=VLC
    #EXTINF:-1,Channel 2
    2.ts|User-Agent=VLC
    ....

    Then load the file into PVR Simple client and it works.