POTATO TV (IPTV Stalker addon)

FYI - It looks like VIPER EPG has not being updated or maintained for the last 7 months. Since then many channels have been either changed, added, or deleted. Thus there are many 'holes' in the VIPER EPG. Have not looked at PACh guide.
IF you really want a complete guide it is so easy to use MC2MXL in conjunction with SCHEDULES DIRECT and pull your own guide. I pull 2 weeks of EPG and refresh every 2 weeks, rinse/repeat.

BTW Couch P - Is it possible to use your addon and point to my own guide instead of pointing to VIPER or PACh? I currently keep my guide on a USB thumb drive connected to a NVIDIA SHIELD and access it on KODI app.
 
the validation time of the cache file on the 2nd device has not been expired
since it's still valid, the 2nd device won't generate a new token and it choose to use the previous one (stored in the tablet)
although a new token has been changed which was generated by the 1st device (tv box)

the recommended solution:

1. you could try to clear the caches & create a new token thru' the potato addon on the 2nd device

and here's the complete steps:
Screen_Shot_2017-06-30_at_7.21.33_AM.png

Potato, what is actually a "Token"? I've been seeing that since the first day i installed the Addon when i hit the clear cache option but i'm not really sure what's that.. or when it is necessary to "create" or not a new one.. can you please explain me that? when i use VLC for example i don't see any option to create or not a "token" so what's the importance of it within the addon or Kodi i guess is where it has to be used? Thanks. Always learning something new from you.
 
BTW Couch P - Is it possible to use your addon and point to my own guide instead of pointing to VIPER or PACh? I currently keep my guide on a USB thumb drive connected to a NVIDIA SHIELD and access it on KODI app.


yep! my addon can also refer to your epg file, and of course with little efforts

I will easily add your epg file into the epg source list ONLY IF you also agree to share your epg file on a public server/host

if you don't have your own server, you can use the DROPBOX service for hosting your file

  • install its desktop aplication
    Code:
    https://www.dropbox.com/downloading
  • generate your epg file
  • copy your xml file to your local dropbox folder
  • copy the link and share it
    e.g.
    Code:
    https://www.dropbox.com/s/abcdefghij/guide.xml?raw=true



Potato, what is actually a "Token"? I've been seeing that since the first day i installed the Addon


token == session token == session ID

Code:
https://en.wikipedia.org/wiki/Session_(computer_science)
https://en.wikipedia.org/wiki/Session_ID

in simple words, it's like when you're staying in a hotel

session == your room
token == combination of your ID + room # + period of stay


how token works on stalker:
http://iptvtalk.net/showthread.php?...amp-MAC-quot-versus-quot-Donation-Only-quot-)




when i hit the clear cache option but i'm not really sure what's that.. or when it is necessary to "create" or not a new one.. can you please explain me that?

a new token == a new session == new caches

thus create a new token means create new caches

potato's caches directory:

Code:
 Kodi/userdata/addon_data/plugin.video.potatoTV/[your_portal]


when i use VLC for example i don't see any option to create or not a "token" so what's the importance of it within the addon or Kodi i guess is where it has to be used?

VLC only works with the "donation only" account and it will automatically create new caches each time when you open a new playlist

my addon can work with both "donation only" and "donation + MAC" accounts
it will also automatically create new caches ONLY when the session token is expired

you don't have to click the "CLEAR CACHES" too often (the addon will do it automaticaly ONLY when it's needed)

the "CLEAR CACHES" is definitely needed when you're using the same "donation + MAC" account (shared) with 2 different devices/gadgets in a short time
if not, the last token stored in the caches created by 2nd device won't be accepted and the 2nd device will fail to pull the streaming data

if you're using the "donation only" account, the "CLEAR CACHES" will only offer you to create new caches/playlist





Thanks. Always learning something new from you.

that's a spirit I'd like to hear from you mate :)

if you're afraid to fall, you wouldn't know how to ride a bike :D
 
Ok Couch P -
Here is a link to my guide as I set this up per your instructions:
Note: This guide was generated 7/12 and includes 2 wks of data out till 7/26. Hope it works.

https://www.dropbox.com/s/pz3xqq9c85o2wpg/guide.xml?dl=0


wow! 2 week guide @ 75MB
what a giant epg!

@those who have android tv boxes with 1MB RAM
I suggest you should stick with either viper's or pach's
the giant epg will eat your resource

rgturk.jpg


rgturk2.jpg



DOWNLOAD
in my repo (v1.9.9-r9)



@rgturk100

each time after updating your xmltv file...
DO NOT DELETE the previous/current xml file (in your local DROPBOX folder)
you could just overwrite / replace the old file with the newer one ---> in order to keep the dropbox link unchanged!
Code:
https://www.dropbox.com/s/pz3xqq9c85o2wpg/guide.xml?dl=0
 
Quick Question. Do I need to download the drop box file for EPG to work? Reason being I chose the RGTurk epg in couch potato add on, cleared cache, new token, etc...And comes up blank. Thanks Guys, and thanks for sharing with community.
 
I guess i have a "donation only" account as i use it with VLC sometimes with the direct link. So, when configuring the Potato Addon, to proper do this, do i have to put any MAC # in there just leave the mac field in blank?
 
Quick Question. Do I need to download the drop box file for EPG to work? Reason being I chose the RGTurk epg in couch potato add on, cleared cache, new token, etc...And comes up blank. Thanks Guys, and thanks for sharing with community.

thanks for the feedback mate :)

EDIT:

the latest addon (v1.9.9-r10) has fixed the issue


CP - will do..
75MB EPG is large I know, but it loads fast on the NVIDIA SHIELD.
Thanks for adding it to your app.!! :)


EDIT:

your xml file has been copied to a new host




I guess i have a "donation only" account as i use it with VLC sometimes with the direct link. So, when configuring the Potato Addon, to proper do this, do i have to put any MAC # in there just leave the mac field in blank?

not necessary mate

with my addon, using either "donation only" or "donation + MAC" will give the same result
my addon is able to detect the exact type of your account

the difference usage between those accunts :

1. mobile reason (compatible with any M3U playlist loaders) ---> "donation only"

2. security reason (it has 2 "guards" : donation # + MAC) ---> "donation + MAC"
 
Last edited:
  • Like
Reactions: crazed 9.6
Still having problems playing the channels on the PVR side. Did all you said about cache clearing, PVR settings again, etc and nothing. Also uninstalled Kodi and did a fresh install and still won't play channels on the "TV" side. All channels opens through the Potato addon very well but not from PVR or from the EPG. When clicking from the EPG it says "Channel couldn't be played. check log..". So after doing everything and checking all configuration seems fine i decided to check the log. This is what it says:

Code:
8:56 T:4364  NOTICE: AddOnLog: PVR IPTV Simple Client: Loaded 827 channels.
14:18:56 T:2740  NOTICE: EPG::CEpgContainer::Start - EPG thread started
14:19:03 T:4500  NOTICE: AddOnLog: PVR IPTV Simple Client: EPG Loaded.
14:21:47 T:5980  NOTICE: DVDPlayer: Opening: pvr://channels/tv/All channels/pvr.iptvsimple_1296159645.pvr
14:21:47 T:5980 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:21:47 T:3808  NOTICE: Creating InputStream
14:21:47 T:3808   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401
14:21:47 T:3808   ERROR: CCurlFile::Open failed with code 401 for http://p1.iptvprivateserver.tv/live/DONATION/DONATION/393.ts
14:21:47 T:3808   ERROR: XFILE::CFileCache::Open - failed to open source <http://p1.iptvprivateserver.tv/live/DONATION/DONATION/393.ts>
14:21:47 T:3808   ERROR: CDVDInputStreamPVRManager::Open - error opening [http://p1.iptvprivateserver.tv/live/DONATION/DONATION/393.ts]
14:21:47 T:3808   ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All channels/pvr.iptvsimple_1296159645.pvr]
14:21:47 T:3808  NOTICE: CDVDPlayer::OnExit()
14:21:47 T:5980  NOTICE: CDVDPlayer::CloseFile()
14:21:47 T:5980  NOTICE: DVDPlayer: waiting for threads to exit
14:21:47 T:5980  NOTICE: DVDPlayer: finished waiting
14:21:47 T:5980  NOTICE: CDVDPlayer::CloseFile()
14:21:47 T:5980  NOTICE: DVDPlayer: waiting for threads to exit
14:21:47 T:5980  NOTICE: DVDPlayer: finished waiting
14:21:51 T:5980  NOTICE: DVDPlayer: Opening: pvr://channels/tv/All channels/pvr.iptvsimple_1764260607.pvr
14:21:51 T:5980 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:21:51 T:5276  NOTICE: Creating InputStream
14:21:51 T:5276   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401
14:21:51 T:5276   ERROR: CCurlFile::Open failed with code 401 for http://p1.iptvprivateserver.tv/live/DONATION/DONATION/45.ts
14:21:51 T:5276   ERROR: XFILE::CFileCache::Open - failed to open source <http://p1.iptvprivateserver.tv/live/DONATION/DONATION/45.ts>
14:21:51 T:5276   ERROR: CDVDInputStreamPVRManager::Open - error opening [http://p1.iptvprivateserver.tv/live/DONATION/DONATION/45.ts]
14:21:51 T:5276   ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All channels/pvr.iptvsimple_1764260607.pvr]
14:21:51 T:5276  NOTICE: CDVDPlayer::OnExit()
14:21:51 T:5980  NOTICE: CDVDPlayer::CloseFile()
14:21:51 T:5980  NOTICE: DVDPlayer: waiting for threads to exit

*Changed the values where it says DONATION.

These two and the other tested channels they do open inside the Addon but not on the PVR.
 
sorry mate
There's NO PVR issues here on my side! :)


393.ts --> "ABC New York HD"
abc.jpg

45.ts --> "CBS New York HD"
cbs.jpg



Code:
14:21:47 T:3808   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401

well...
your log obviously reported that you got an authorization error when you're trying to accessing the link
Code:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

  1. were you using VPN ?
  2. was your same account being shared with 2 or more devices at the same time ?



14:21:47 T:3808 ERROR: CCurlFile::Open failed with code 401 for http://p1.iptvprivateserver.tv/live/DONATION/DONATION/393.ts
14:21:51 T:5276 ERROR: CCurlFile::Open failed with code 401 for http://p1.iptvprivateserver.tv/live/DONATION/DONATION/45.ts
Code:


if you've got a Stalker's direct-stream url in your log like this one:
Code:
http://[PORTAL]/live/[ID]/[PASSWORD]/[CHANNEL].ts

it means that my addon can perform its job properly ;)

now open your file-manager and go to potato's cache directory
Code:
Kodi/userdata/addon_data/plugin.video.potatoTV/[PORTAL]

open the following cache files:

  • channels.json
  • potato.m3u

when the PVR mode is ON,
PVR client will read all items stored in the playlist (potato.m3u)

and when you click a channel,
my addon will work as a middleware which will convert the link in the playlist (potato.m3u) to a Stalker's direct-stream url stored in channels.json

for example:
when you click "ABC New York HD" channel on PVR client
my addon will open the potato.m3u to get the channel's local link
Code:
http://[local_IP:local_PORT]/play?channel=ABC+New+York+HD

then my addon will open the channels.json to find the Stalker's direct-stream url
Code:
http://[PORTAL]/live/[ID]/[PASSWORD]/393.ts


so, once again,
if you've already got a Stalker's direct-stream url in your log like this one:
Code:
http://[PORTAL]/live/[ID]/[PASSWORD]/[CHANNEL].ts

it means that my addon can perform its job properly!

so next time,
when you get the same issue and you also get any Stalker's direct-stream url in your log,

you could also try to open the Stalker's direct-stream url instantly with VLC
and you must open the same url as the one stored in your log at about the same time, in order to perform apple-2-apple comparison


These two and the other tested channels they do open inside the Addon but not on the PVR.

since I'm not a "blind-guessing" kind nerd
if you could also show me a related video, that would be so helpful - "a picture is worth a thousand words"
 
I don't know how to upload a picture here. It ask me for an URL and i don't have any host site to put it.

The same channels that on the PVR don't open, they do work if i open them in the Potato Addon (that's what i mean when i say inside the addon). I don't really understand what's happening, why the PVR won't open them. I'm not using my account in different devices, only my computer. Sometimes i use VLC and all channels work fine there. Only the PVR is giving me this issue. I did an Iptv Reset just in case and still the same, only "free" channels opens in the PVR, but sub ones like hbo, espn or so do not.

I tried what you said of opening the Stalker's direct-stream url instantly with VLC, one of the channels that don't open with the PVR like this one:
hxxp://MYPORTAL/live/MYDONATION/MYDONATION/2.ts and it worked very well. Also tried a couple of other channels and they also opened with VLC (remember all channels works if i open them with Potato Addon also). So the problem is specifically with my PVR or something making a conflict with it.
 
sorry about your rare issue mate :)

too bad, you haven't answered my 2 questions :(

and I would also ask you for a small favour which can help me for tracing your issue
Screen_Shot_2017-07-17_at_9.51.12_AM.png


for example:
if you got this url in your log
Code:
14:21:47 T:3808 ERROR: CCurlFile::Open failed with code 401 for http://p1.iptvprivateserver.tv/live/DONATION/DONATION/393.ts

please c/p the url instantly on the VLC

Screen_Shot_2017-07-17_at_9.54.52_AM.png


It will tell us whether the url is ok or not


you can use a free-service host to upload your screenshots
Code:
https://postimages.org/


EDIT:

sorry I forgot about this one

you can also try to create a small playlist for a test

Code:
#EXTM3U
#EXTINF:-1, BAD CHANNEL
http://p1.iptvprivateserver.tv/live/DONATION/DONATION/393.ts


c/p those codes uusing any text-editor and save it as "[your_directory]/BAD.m3u"

then open the kodi pvr simple client's settings
under general settings:
  • Location = local path
  • M3U playlist path = [your_directory]/BAD.m3u

then disable live-tv, clear all data, re-enable live-tv
 
Last edited:
Yes, that's what i did. The links opened fine on VLC and on the Potato Addon:

This one was on VLC
hbo_vlc.jpg
[/url][/IMG]


Same channel on Potato
HBO.jpg
[/url][/IMG]



But still nothing on the PVR side (TV). Just the "Working" spins for about 1 sec then nothing. Still the error on log file
PVR_hbo.jpg
[/url][/IMG]
 
EDIT:

sorry I forgot about this one

you can also try to create a small playlist for a test

Code:
#EXTM3U
#EXTINF:-1, BAD CHANNEL
http://p1.iptvprivateserver.tv/live/DONATION/DONATION/393.ts


c/p those codes uusing any text-editor and save it as "[your_directory]/BAD.m3u"

then open the kodi pvr simple client's settings
under general settings:
  • Location = local path
  • M3U playlist path = [your_directory]/BAD.m3u

then disable live-tv, clear all data, re-enable live-tv


Just did this. Same result. Channel says "working" for about 1 sec then nothing.

bad.jpg



and this is the log
Code:
23:26:35 T:896 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:26:35 T:5804  NOTICE: Creating InputStream
23:26:36 T:5804   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401
23:26:36 T:5804   ERROR: CCurlFile::Open failed with code 401 for http://p1.iptvprivateserver.tv/live/DONATION/DONATION/301.ts
23:26:36 T:5804   ERROR: XFILE::CFileCache::Open - failed to open source <http://p1.iptvprivateserver.tv/live/DONATION/DONATION/301.ts>
23:26:36 T:5804   ERROR: CDVDInputStreamPVRManager::Open - error opening [http://p1.iptvprivateserver.tv/live/DONATION/DONATION/301.ts]
23:26:36 T:5804   ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All channels/pvr.iptvsimple_329952215.pvr]
23:26:36 T:5804  NOTICE: CDVDPlayer::OnExit()
23:26:36 T:896  NOTICE: CDVDPlayer::CloseFile()
:
 
weird!

that's obviously tell us my addon is OK (thanks God lol)

so, the culprit might be on your pvr client (but I still don't know why)


btw, here is a thread talking about the similar issue like yours (vlc = OK | pvr client = NO)
Code:
https://forum.kodi.tv/showthread.php?tid=273606
 
weird!

that's obviously tell us my addon is OK (thanks God lol)

so, the culprit might be on your pvr client (but I still don't know why)


btw, here is a thread talking about the similar issue like yours (vlc = OK | pvr client = NO)
Code:
https://forum.kodi.tv/showthread.php?tid=273606

Thank you Potato. I told you it is something very weird. Your addon is awesome and i know it's working very good. But anyway thank you again for your help. I'm done for the day so I'll read the link you posted tomorrow and will try to find where the problem could be with the PVR. I'll test changing my account also to Donation+Mac and will let you know if i find something.
 
Today i was reading the link you posted and some others around internet, also tried re-installing Kodi, in this case Krypton 17 and still nothing with the PVR Simple Client, same results as with Kodi 16. No body has a clue why this issue is happening. The only use why i would need the PVR is for the EPG (Guide), so nice it looks all in color but without been able to watch anything that sucks :(. Is there any way the get EPG with VLC? i know that with the Potato Addon we can't expect more than what you have done so far.. :rolleyes: