Solved v19 - EDIT: Can't play interal url item from PVR channel
#16
(2021-09-05, 00:55)burekas Wrote:
(2021-09-05, 00:39)jbinkley60 Wrote: OK.  Thanks for trying.  It was a long shot.  Once I can see the code and test myself, I might be able to help further.


Jeff

@jbinkley60 

These are the addons to install:
The main addon - https://f2h.io/7aycxf0kijiu
You will need this resolver addon too - https://f2h.io/b6rq8m7r6hp8
Regarding the "LiveStreamer" I think it's optional but here it too - https://f2h.io/q3ko8yh0rgtv

The main Addon data, replace it with your after install the main zip file, so you will have the 'Favorites' list etc - https://f2h.io/ss1g9rxv97df

For testing - open your browser and put one of this urls:
http://127.0.0.1:65007/?url=plugin://plu...=2&mode=11


Focus on 'default.py', on these functions:
- PlayChannelByID
- PlayChannel (There is where the "ListItem" located)
- All start with "mode == 11" (line 816)
There are a lot of log printings Smile So you can change them as you need.

Thanks.

Is the code current at these links ?

These are the addons to install:
The main addon - https://f2h.io/7aycxf0kijiu
You will need this resolver addon too - https://f2h.io/b6rq8m7r6hp8
Regarding the "LiveStreamer" I think it's optional but here it too - https://f2h.io/q3ko8yh0rgtv

The main Addon data, replace it with your after install the main zip file, so you will have the 'Favorites' list etc - https://f2h.io/ss1g9rxv97df

I should have time Sunday to start loading the addons and data so I can look at this closer.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#17
Hi @jbinkley60 

This is the most update code, install the addons from here:
1) The resolver addon - https://f2h.io/kwfgln1tydc4 (Focus on: service.py, livestreamerXBMCLocalProxy.py)
2) The main addon - https://f2h.io/o1qeiz3jzq1c      (Focus on: default.py -> from: " elif mode == '11' ")
3) The "remote" addon - https://f2h.io/wvepg6wvcbjj
4) You should also install the pvr client: pvr.iptvsimple (From Kodi official repo)
* Regarding the "LiveStreamer" I think it's optional but here it too - https://f2h.io/q3ko8yh0rgtv

Addon data copy and replace from here:
1) The main addon - https://f2h.io/rohynu6q0sev
2) The "remote" addon - https://f2h.io/vsjkdqn5odym
3) The PVR client addon - https://f2h.io/m1avl21t00h1

As I said, the problem of playing an internal plugin item by using the external url by using a browser was solved (You may test it before try the "real" problem)
http://127.0.0.1:65007/?url=plugin://plu...=2&mode=11
The issue now is playing the same external url as a url from an iptv list as described in this thread: https://forum.kodi.tv/showthread.php?tid=364385
* It seems like a problem with the "Demuxer", or maybe it something else.
Read also my last comment here regarding the "sendData" arg (#15)
(I also posted there the log, you will see there some of my debug text, in the code I uploded for you they don't exist)

The channel from the Live TV channels that you need to try is the third channel (With the "12" text on its title)

Thanks again.
Reply
#18
CDVDDemuxFFmpeg::Open - error probing input format is an error when ffmpeg can't read the input file / stream properly.  I suspect it is related to the URL, either the name or the content isn't appearing (i.e. stream not starting).  Is this a scenario where the call in Kodi 17.6 was UTF-8 encoded to ffmpeg and now isn't ?  If so, ffmpeg hasn't changed and may still need UTF-8 encoding, if it was before. 


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#19
(2021-09-10, 03:17)jbinkley60 Wrote: CDVDDemuxFFmpeg::Open - error probing input format is an error when ffmpeg can't read the input file / stream properly.  I suspect it is related to the URL, either the name or the content isn't appearing (i.e. stream not starting).  Is this a scenario where the call in Kodi 17.6 was UTF-8 encoded to ffmpeg and now isn't ?  If so, ffmpeg hasn't changed and may still need UTF-8 encoding, if it was before. 


Jeff

How can I know?
And how can I know where do I need to encode/decode?

Just to remind you again that running the url from the browser is now working, also by playing it from the addon itself.
The problem is when trying running it from the PVR channels (Live TV).

By the way, it may be another problem and not the demuxer.
Reply
#20
I did a search and found a this thread and this thread on this topic that point to input stream settings on the adaptive stream addon.  I am not sure if you've seen this.



Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#21
(2021-09-10, 15:00)jbinkley60 Wrote: I did a search and found a this thread and this thread on this topic that point to input stream settings on the adaptive stream addon.  I am not sure if you've seen this.



Jeff

I checked them but it doesn't seems to be related to the problem with playing it from the pvr channel.
If it was an issue with the inputstream settings so even the external url and the internal addon options wouldn't have been working, but they work.
But thanks for trying.
I will wait when you will check it with my code.
Reply
#22
@jbinkley60 

I found a solution for the problem, you can see how in this thread:
https://forum.kodi.tv/showthread.php?tid=364399

In short, instead of create a pvr channel in a format of exteranl url I make it as internal url (without the 'http..")
And modified the code because the args are different.

Thanks for your help.
Reply
#23
That's funny.  I had started writing that in an earlier response and erased it.  You can call addons directly and pass variables by sys.argv.  It is much cleaner.  I do it all the time.  I ended up not mentioning it because I wasn't sure you had control over the source and thus were limited to URLs.  I am glad you found a solution.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply

Logout Mark Read Team Forum Stats Members Help
v19 - EDIT: Can't play interal url item from PVR channel0