2019-01-23, 21:36
OK the account has been closed.
(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.Does the "Clear Cache on Every Search" take too long?
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.
(2019-03-19, 21:19)primaeval 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.(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.Does the "Clear Cache on Every Search" take too long?
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.
The Timer service settings could also clear it on startup.
(2019-03-19, 22:51)Doctor Eggs Wrote:The way to do it is a bit confusing.(2019-03-19, 21:19)primaeval 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.(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.Does the "Clear Cache on Every Search" take too long?
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.
The Timer service settings could also clear it on startup.
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.
(2019-03-20, 09:34)primaeval Wrote:Thanks for the insight on this @primaeval, that makes sense.(2019-03-19, 22:51)Doctor Eggs Wrote:The way to do it is a bit confusing.(2019-03-19, 21:19)primaeval Wrote: Does the "Clear Cache on Every Search" take too long?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.
The Timer service settings could also clear it on startup.
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.
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.vide...in.py#L495
(2019-03-22, 15:10)Doctor Eggs Wrote:Try 0.0.17.(2019-03-20, 09:34)primaeval Wrote:Thanks for the insight on this @primaeval, that makes sense.(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.The way to do it is a bit confusing.
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.
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.vide...in.py#L495
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.
#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....ex/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....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....BC+One.%2A
(2019-03-22, 16:08)primaeval Wrote:(2019-03-22, 15:10)Doctor Eggs Wrote:Try 0.0.17.(2019-03-20, 09:34)primaeval Wrote: The way to do it is a bit confusing.Thanks for the insight on this @primaeval, that makes sense.
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.vide...in.py#L495
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.
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....ex/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....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....BC+One.%2A
(2019-03-26, 15:27)Doctor Eggs Wrote:Have you changed the auto-generated m3u links from stream_search to stream_search_regex ?(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.Try 0.0.17.
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.
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....ex/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....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....BC+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?
(2019-03-26, 17:39)primaeval Wrote:(2019-03-26, 15:27)Doctor Eggs Wrote:Have you changed the auto-generated m3u links from stream_search to stream_search_regex ?(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....ex/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....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....BC+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?
[EDIT] What is the full label of the ESPN channels? Post a screenshot if necessary.
(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.Have you changed the auto-generated m3u links from stream_search to stream_search_regex ?
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?
[EDIT] What is the full label of the ESPN channels? Post a screenshot if necessary.
Here is what it looks like:
(2019-03-27, 13:44)primaeval Wrote:Turns out I must have overwritten the m3u because the /stream_search_regex/ was gone. Thanks for the help.(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:
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.
(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....-0.0.2.zip
Acknowledgement: Based on a plugin by TheWiz