Kodi Community Forum
Beta PVR Plugin Player - Play Addon Streams in the PVR - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Beta PVR Plugin Player - Play Addon Streams in the PVR (/showthread.php?tid=304658)

Pages: 1 2 3 4 5 6 7 8 9


RE: PVR Plugin Player - Play Addon Streams in the PVR - DarrenHill - 2019-01-23

OK the account has been closed.


RE: PVR Plugin Player - Play Addon Streams in the PVR - cicarito2 - 2019-01-23

(2019-01-23, 21:36)DarrenHill Wrote: OK the account has been closed.
 Nod


RE: PVR Plugin Player - Play Addon Streams in the PVR - Doctor Eggs - 2019-03-19

Is there a way to Rebuild the Cache? I see the Reset Cache when I bring up the context menu on Folders. This deletes the cache.json file but what I would like to do is delete the file and then rebuild cache.json based on the folders. 

I am using PlayOn Browser. Everything works great until the PlayOn Server is restarted. When that happens all of the links change and everything in cache.json is broken.

I can get around it if I reset the cache and then add the folder again, but it would be nice to have that built in.


RE: PVR Plugin Player - Play Addon Streams in the PVR - primaeval - 2019-03-19

(2019-03-19, 21:10)Doctor Eggs Wrote: Is there a way to Rebuild the Cache? I see the Reset Cache when I bring up the context menu on Folders. This deletes the cache.json file but what I would like to do is delete the file and then rebuild cache.json based on the folders. 

I am using PlayOn Browser. Everything works great until the PlayOn Server is restarted. When that happens all of the links change and everything in cache.json is broken.

I can get around it if I reset the cache and then add the folder again, but it would be nice to have that built in.
Does the "Clear Cache on Every Search" take too long?
The Timer service settings could also clear it on startup.


RE: PVR Plugin Player - Play Addon Streams in the PVR - Doctor Eggs - 2019-03-19

(2019-03-19, 21:19)primaeval Wrote:
(2019-03-19, 21:10)Doctor Eggs Wrote: Is there a way to Rebuild the Cache? I see the Reset Cache when I bring up the context menu on Folders. This deletes the cache.json file but what I would like to do is delete the file and then rebuild cache.json based on the folders. 

I am using PlayOn Browser. Everything works great until the PlayOn Server is restarted. When that happens all of the links change and everything in cache.json is broken.

I can get around it if I reset the cache and then add the folder again, but it would be nice to have that built in.
Does the "Clear Cache on Every Search" take too long?
The Timer service settings could also clear it on startup.  
Crap...I hate when I'm that guy that doesn't see an obvious setting...I was going back and forth between this add-on and Stream Searcher and didn't realize that that option was available in this add-on.

It works great but I'm now having an issue when I use it with Refresh Folders Period (hours) set to "1". 

When that is enabled, I click on a channel and a blank dialog box appears with the channel name at the top. Normally when there is more than one entry for a channel, it will list the different channels available.

Here is the log:
https://pastebin.com/TkNYkBQC

My settings are Clear Cache on Every Search = True and Refresh Folders Period (hours) = 1
I open the channel AMC and I get the blank dialog
I then change the Refresh Folders Period (hours) = 0
I open the channel AMC and it works.


RE: PVR Plugin Player - Play Addon Streams in the PVR - primaeval - 2019-03-20

(2019-03-19, 22:51)Doctor Eggs Wrote:
(2019-03-19, 21:19)primaeval Wrote:
(2019-03-19, 21:10)Doctor Eggs Wrote: Is there a way to Rebuild the Cache? I see the Reset Cache when I bring up the context menu on Folders. This deletes the cache.json file but what I would like to do is delete the file and then rebuild cache.json based on the folders. 

I am using PlayOn Browser. Everything works great until the PlayOn Server is restarted. When that happens all of the links change and everything in cache.json is broken.

I can get around it if I reset the cache and then add the folder again, but it would be nice to have that built in.
Does the "Clear Cache on Every Search" take too long?
The Timer service settings could also clear it on startup.   
Crap...I hate when I'm that guy that doesn't see an obvious setting...I was going back and forth between this add-on and Stream Searcher and didn't realize that that option was available in this add-on.

It works great but I'm now having an issue when I use it with Refresh Folders Period (hours) set to "1". 

When that is enabled, I click on a channel and a blank dialog box appears with the channel name at the top. Normally when there is more than one entry for a channel, it will list the different channels available.

Here is the log:
https://pastebin.com/TkNYkBQC

My settings are Clear Cache on Every Search = True and Refresh Folders Period (hours) = 1
I open the channel AMC and I get the blank dialog
I then change the Refresh Folders Period (hours) = 0
I open the channel AMC and it works. 
The way to do it is a bit confusing.

To always search:
Clear Cache on Every Search = True
Refresh Folders Period (hours) = 0

To refresh the cache every hour:
Clear Cache on Every Search = False
Refresh Folders Period (hours) = 0
play a channel once to seed the cache file
Refresh Folders Period (hours) = 1

The logic is based on a fresh install where there has never been a cache refresh before.

You're welcome to try to make it more logical.
https://github.com/primaeval/plugin.video.pvr.plugin.player/blob/master/main.py#L495


RE: PVR Plugin Player - Play Addon Streams in the PVR - Doctor Eggs - 2019-03-22

(2019-03-20, 09:34)primaeval Wrote:
(2019-03-19, 22:51)Doctor Eggs Wrote:
(2019-03-19, 21:19)primaeval Wrote: Does the "Clear Cache on Every Search" take too long?
The Timer service settings could also clear it on startup.   
Crap...I hate when I'm that guy that doesn't see an obvious setting...I was going back and forth between this add-on and Stream Searcher and didn't realize that that option was available in this add-on.

It works great but I'm now having an issue when I use it with Refresh Folders Period (hours) set to "1". 

When that is enabled, I click on a channel and a blank dialog box appears with the channel name at the top. Normally when there is more than one entry for a channel, it will list the different channels available.

Here is the log:
https://pastebin.com/TkNYkBQC

My settings are Clear Cache on Every Search = True and Refresh Folders Period (hours) = 1
I open the channel AMC and I get the blank dialog
I then change the Refresh Folders Period (hours) = 0
I open the channel AMC and it works.   
The way to do it is a bit confusing.

To always search:
Clear Cache on Every Search = True
Refresh Folders Period (hours) = 0

To refresh the cache every hour:
Clear Cache on Every Search = False
Refresh Folders Period (hours) = 0
play a channel once to seed the cache file
Refresh Folders Period (hours) = 1

The logic is based on a fresh install where there has never been a cache refresh before.

You're welcome to try to make it more logical.
https://github.com/primaeval/plugin.video.pvr.plugin.player/blob/master/main.py#L495  
Thanks for the insight on this @primaeval, that makes sense.

Unfortunately the folder location inside PlayOn Browser changes when the PlayOn server is restarted. So when it's restarted, the reference in the "folders" file is broken and PlayOn throws an error. 

Since the PlayOn server restart doesn't happen a lot, I'm going to just set the Clear Cache on Every Search = 1 and if I get an error, I'll just re-add the folder. Unless you have a better way to go about this.

Also, is there a way to have an exact match search? I have added channels "ESPN" and "ESPN2" which match exactly with the channel names in the addon but when I go to play either of those, it brings up the dialog box with both of the PlayOn streams.


RE: PVR Plugin Player - Play Addon Streams in the PVR - primaeval - 2019-03-22

(2019-03-22, 15:10)Doctor Eggs Wrote:
(2019-03-20, 09:34)primaeval Wrote:
(2019-03-19, 22:51)Doctor Eggs Wrote: Crap...I hate when I'm that guy that doesn't see an obvious setting...I was going back and forth between this add-on and Stream Searcher and didn't realize that that option was available in this add-on.

It works great but I'm now having an issue when I use it with Refresh Folders Period (hours) set to "1". 

When that is enabled, I click on a channel and a blank dialog box appears with the channel name at the top. Normally when there is more than one entry for a channel, it will list the different channels available.

Here is the log:
https://pastebin.com/TkNYkBQC

My settings are Clear Cache on Every Search = True and Refresh Folders Period (hours) = 1
I open the channel AMC and I get the blank dialog
I then change the Refresh Folders Period (hours) = 0
I open the channel AMC and it works.   
The way to do it is a bit confusing.

To always search:
Clear Cache on Every Search = True
Refresh Folders Period (hours) = 0

To refresh the cache every hour:
Clear Cache on Every Search = False
Refresh Folders Period (hours) = 0
play a channel once to seed the cache file
Refresh Folders Period (hours) = 1

The logic is based on a fresh install where there has never been a cache refresh before.

You're welcome to try to make it more logical.
https://github.com/primaeval/plugin.video.pvr.plugin.player/blob/master/main.py#L495    
Thanks for the insight on this @primaeval, that makes sense.

Unfortunately the folder location inside PlayOn Browser changes when the PlayOn server is restarted. So when it's restarted, the reference in the "folders" file is broken and PlayOn throws an error. 

Since the PlayOn server restart doesn't happen a lot, I'm going to just set the Clear Cache on Every Search = 1 and if I get an error, I'll just re-add the folder. Unless you have a better way to go about this.

Also, is there a way to have an exact match search? I have added channels "ESPN" and "ESPN2" which match exactly with the channel names in the addon but when I go to play either of those, it brings up the dialog box with both of the PlayOn streams.  
 Try 0.0.17.
I've added in a search_stream_regex url that will search by python regexes.
So you could add in a
ESPN$
search to match only ESPN.
You'll have to modify the m3u by hand to add in the search_stream_regex url.
Here is an example channels.m3u that will match BBC One in various forms
Code:
#EXTM3U
#EXTINF:-1 tvg-id="BBC One" tvg-name="BBC One" group-title="English" tvg-logo="BBC One.png",BBC One
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One
#EXTINF:-1 tvg-id="BBC One$" tvg-name="BBC One$" group-title="English" tvg-logo="BBC One$.png",BBC One$
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One%24
#EXTINF:-1 tvg-id="BBC One.*" tvg-name="BBC One.*" group-title="English" tvg-logo="BBC One.*.png",BBC One.*
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One.%2A



RE: PVR Plugin Player - Play Addon Streams in the PVR - Doctor Eggs - 2019-03-26

(2019-03-22, 16:08)primaeval Wrote:
(2019-03-22, 15:10)Doctor Eggs Wrote:
(2019-03-20, 09:34)primaeval Wrote: The way to do it is a bit confusing.

To always search:
Clear Cache on Every Search = True
Refresh Folders Period (hours) = 0

To refresh the cache every hour:
Clear Cache on Every Search = False
Refresh Folders Period (hours) = 0
play a channel once to seed the cache file
Refresh Folders Period (hours) = 1

The logic is based on a fresh install where there has never been a cache refresh before.

You're welcome to try to make it more logical.
https://github.com/primaeval/plugin.video.pvr.plugin.player/blob/master/main.py#L495    
Thanks for the insight on this @primaeval, that makes sense.

Unfortunately the folder location inside PlayOn Browser changes when the PlayOn server is restarted. So when it's restarted, the reference in the "folders" file is broken and PlayOn throws an error. 

Since the PlayOn server restart doesn't happen a lot, I'm going to just set the Clear Cache on Every Search = 1 and if I get an error, I'll just re-add the folder. Unless you have a better way to go about this.

Also, is there a way to have an exact match search? I have added channels "ESPN" and "ESPN2" which match exactly with the channel names in the addon but when I go to play either of those, it brings up the dialog box with both of the PlayOn streams.     
 Try 0.0.17.
I've added in a search_stream_regex url that will search by python regexes.
So you could add in a
ESPN$
search to match only ESPN.
You'll have to modify the m3u by hand to add in the search_stream_regex url.
Here is an example channels.m3u that will match BBC One in various forms
Code:
#EXTM3U
#EXTINF:-1 tvg-id="BBC One" tvg-name="BBC One" group-title="English" tvg-logo="BBC One.png",BBC One
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One
#EXTINF:-1 tvg-id="BBC One$" tvg-name="BBC One$" group-title="English" tvg-logo="BBC One$.png",BBC One$
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One%24
#EXTINF:-1 tvg-id="BBC One.*" tvg-name="BBC One.*" group-title="English" tvg-logo="BBC One.*.png",BBC One.*
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One.%2A
 

Thanks for your help on this @primaeval. The ESPN$ regex works great. I am still having an issue with ESPN2 matching both ESPN and ESPN2. I have tried a bunch of different regexes but I haven't been able to get it to work. 

ESPN2 matches both
ESPN2$ matches both
ESPN2+ matches both
ESPN2.* matches both
ESPN\d matches only ESPN

Is there something I'm not doing right?


RE: PVR Plugin Player - Play Addon Streams in the PVR - primaeval - 2019-03-26

(2019-03-26, 15:27)Doctor Eggs Wrote:
(2019-03-22, 16:08)primaeval Wrote:
(2019-03-22, 15:10)Doctor Eggs Wrote: Thanks for the insight on this @primaeval, that makes sense.

Unfortunately the folder location inside PlayOn Browser changes when the PlayOn server is restarted. So when it's restarted, the reference in the "folders" file is broken and PlayOn throws an error. 

Since the PlayOn server restart doesn't happen a lot, I'm going to just set the Clear Cache on Every Search = 1 and if I get an error, I'll just re-add the folder. Unless you have a better way to go about this.

Also, is there a way to have an exact match search? I have added channels "ESPN" and "ESPN2" which match exactly with the channel names in the addon but when I go to play either of those, it brings up the dialog box with both of the PlayOn streams.     
 Try 0.0.17.
I've added in a search_stream_regex url that will search by python regexes.
So you could add in a
ESPN$
search to match only ESPN.
You'll have to modify the m3u by hand to add in the search_stream_regex url.
Here is an example channels.m3u that will match BBC One in various forms
Code:
#EXTM3U
#EXTINF:-1 tvg-id="BBC One" tvg-name="BBC One" group-title="English" tvg-logo="BBC One.png",BBC One
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One
#EXTINF:-1 tvg-id="BBC One$" tvg-name="BBC One$" group-title="English" tvg-logo="BBC One$.png",BBC One$
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One%24
#EXTINF:-1 tvg-id="BBC One.*" tvg-name="BBC One.*" group-title="English" tvg-logo="BBC One.*.png",BBC One.*
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One.%2A
 

Thanks for your help on this @primaeval. The ESPN$ regex works great. I am still having an issue with ESPN2 matching both ESPN and ESPN2. I have tried a bunch of different regexes but I haven't been able to get it to work. 

ESPN2 matches both
ESPN2$ matches both
ESPN2+ matches both
ESPN2.* matches both
ESPN\d matches only ESPN

Is there something I'm not doing right?  
Have you changed the auto-generated m3u links from stream_search to stream_search_regex ?

[EDIT] What is the full label of the ESPN channels? Post a screenshot if necessary.


RE: PVR Plugin Player - Play Addon Streams in the PVR - Doctor Eggs - 2019-03-27

(2019-03-26, 17:39)primaeval Wrote:
(2019-03-26, 15:27)Doctor Eggs Wrote:
(2019-03-22, 16:08)primaeval Wrote:  Try 0.0.17.
I've added in a search_stream_regex url that will search by python regexes.
So you could add in a
ESPN$
search to match only ESPN.
You'll have to modify the m3u by hand to add in the search_stream_regex url.
Here is an example channels.m3u that will match BBC One in various forms
Code:
#EXTM3U
#EXTINF:-1 tvg-id="BBC One" tvg-name="BBC One" group-title="English" tvg-logo="BBC One.png",BBC One
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One
#EXTINF:-1 tvg-id="BBC One$" tvg-name="BBC One$" group-title="English" tvg-logo="BBC One$.png",BBC One$
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One%24
#EXTINF:-1 tvg-id="BBC One.*" tvg-name="BBC One.*" group-title="English" tvg-logo="BBC One.*.png",BBC One.*
http://localhost:60666/?plugin://plugin.video.pvr.plugin.player/stream_search_regex/BBC+One.%2A

Thanks for your help on this @primaeval. The ESPN$ regex works great. I am still having an issue with ESPN2 matching both ESPN and ESPN2. I have tried a bunch of different regexes but I haven't been able to get it to work. 

ESPN2 matches both
ESPN2$ matches both
ESPN2+ matches both
ESPN2.* matches both
ESPN\d matches only ESPN

Is there something I'm not doing right?     
Have you changed the auto-generated m3u links from stream_search to stream_search_regex ?

[EDIT] What is the full label of the ESPN channels? Post a screenshot if necessary.   

Here is what it looks like:
Image


RE: PVR Plugin Player - Play Addon Streams in the PVR - primaeval - 2019-03-27

(2019-03-27, 13:41)Doctor Eggs Wrote:
(2019-03-26, 17:39)primaeval Wrote:
(2019-03-26, 15:27)Doctor Eggs Wrote: Thanks for your help on this @primaeval. The ESPN$ regex works great. I am still having an issue with ESPN2 matching both ESPN and ESPN2. I have tried a bunch of different regexes but I haven't been able to get it to work. 

ESPN2 matches both
ESPN2$ matches both
ESPN2+ matches both
ESPN2.* matches both
ESPN\d matches only ESPN

Is there something I'm not doing right?     
Have you changed the auto-generated m3u links from stream_search to stream_search_regex ?

[EDIT] What is the full label of the ESPN channels? Post a screenshot if necessary.      

Here is what it looks like:
Image 

I need to see what the ESPN channels look like in PlayOn Browser to see what the regexes should be.
Sometimes there is extra program information in the label that would get matched.

At a guess I would say you are not using the stream_search_regex urls in the m3u.
Post your m3u.


RE: PVR Plugin Player - Play Addon Streams in the PVR - primaeval - 2019-03-27

@Doctor Eggs and everyone else.

You might like to try my new addon:

IPTV Addons

plugin.video.iptvsimple.addons


https://github.com/primaeval/plugin.video.iptvsimple.addons
  • Kodi 18 only.
  • Add addon streams to IPTV Simple Client.
  • Merge playlists into single m3u file.
  • Merge xmltv epg source into single epg xml file.

It is similar to "xmltv Meld" but more focused for IPTV Simple Client post-Leia.


RE: PVR Plugin Player - Play Addon Streams in the PVR - Doctor Eggs - 2019-03-28

(2019-03-27, 13:44)primaeval Wrote:
(2019-03-27, 13:41)Doctor Eggs Wrote:
(2019-03-26, 17:39)primaeval Wrote: Have you changed the auto-generated m3u links from stream_search to stream_search_regex ?

[EDIT] What is the full label of the ESPN channels? Post a screenshot if necessary.      

Here is what it looks like:
Image 

I need to see what the ESPN channels look like in PlayOn Browser to see what the regexes should be.
Sometimes there is extra program information in the label that would get matched.

At a guess I would say you are not using the stream_search_regex urls in the m3u.
Post your m3u.  
Turns out I must have overwritten the m3u because the /stream_search_regex/ was gone. Thanks for the help.

I'll check out the new IPTV Addons


RE: PVR Plugin Player - Play Addon Streams in the PVR - Spideman_RT - 2019-07-09

(2017-01-21, 16:15)primaeval Wrote: PVR Plugin Player

plugin.video.pvr.plugin.player


* Play Addon Streams from the Kodi PVR via IPTV Simple Client.
* Stream Search function.
* Creates m3u file for import into IPTV Simple Client.
* Import Channel List from xmltv file.

Quick Start:

Channels \ context menu \ Import Channels
Locate your xmltv.xml file.
Check in Channels to make sure they are correct.

Channels \ context menu \ Make m3u
Outputs to
userdata\addon_data\plugin.video.pvr.plugin.player\channels.m3u

Setup IPTV Simple Client
System \ Add-ons \ My Add-ons \ PVR clients \ PVR IPTV Simple Client \ Configure \ M3U Playlist path
userdata\addon_data\plugin.video.pvr.plugin.player\channels.m3u

Start Kodi TV
maybe clear data to load channels

Play Channel
Choose how to link the PVR Channel to an Addon Stream.
Guess needs Folders to be added first.
Browse to the stream.
Search will always use the Guess dialog.

Install:
https://github.com/primaeval/repository.primaeval/raw/master/zips/repository.primaeval/repository.primaeval-0.0.2.zip

Acknowledgement: Based on a plugin by TheWiz

Hi primaeval I followed the instructions and created the M3U list. In the simple client when I select the location for the m3u as local I cannot access  userdata\addon_data\plugin.video.pvr.plugin.player\channels.m3u from the simple client. I also have enabled to see hidden folders in kodi. what am I doing wrong? I'm using a raspberry pi 3B with libreelec and kodi 18.1


This forum uses Lukasz Tkacz MyBB addons.