Squid Posted December 30, 2019 Share Posted December 30, 2019 @alturismo, what's with the xteve? is the alturismo/xteve now deprecated in favour of bl0m1/xteve? Should it be removed from CA? Quote Link to comment
alturismo Posted December 30, 2019 Author Share Posted December 30, 2019 (edited) 49 minutes ago, Squid said: @alturismo, what's with the xteve? is the alturismo/xteve now deprecated in favour of bl0m1/xteve? Should it be removed from CA? hi, bl0m1/xteve docker has nothing todo with me. i made a template for dnsforge/xteve which is a simple docker without tvheadend extras etc and as im also in the xteve help channel and alot unraid users likes the dnsforge one i added that one too, im also supporting the main app xteve in the discord channel thats why it made sence cause many unraid users made setup failures with the enviroments. the dnsforge maintainer is also in the xteve help channel and its ok for him to have his template on unraid, just as note. i hope its fine, otherwise i remove it again if not welcome. Edited December 30, 2019 by alturismo Quote Link to comment
Squid Posted December 31, 2019 Share Posted December 31, 2019 18 hours ago, alturismo said: hi, bl0m1/xteve docker has nothing todo with me. i made a template for dnsforge/xteve which is a simple docker without tvheadend extras etc and as im also in the xteve help channel and alot unraid users likes the dnsforge one i added that one too, im also supporting the main app xteve in the discord channel thats why it made sence cause many unraid users made setup failures with the enviroments. the dnsforge maintainer is also in the xteve help channel and its ok for him to have his template on unraid, just as note. i hope its fine, otherwise i remove it again if not welcome. Sorry, misquoted. but you've got dnsforge and the one you built yourself. Are they both valid, or it the original deprecated? Quote Link to comment
alturismo Posted January 1, 2020 Author Share Posted January 1, 2020 happy new Year and yes, both are valid, i d remove the template if one wouldnt be valid anymore Quote Link to comment
LondonDragon Posted January 12, 2020 Share Posted January 12, 2020 Hi guys, Just having a slight issue with this, on occasion from the logs it looks like it tries to open the IPTV Channel without the the authentication and fails to play the stream as it's unauthorised, as the the log: 2020-01-12 22:45:03 [xTeVe] [ERROR] Unauthorized (This error message comes from the provider) - EC: 4004 Is there a way to correct this? Thanks Quote Link to comment
alturismo Posted January 13, 2020 Author Share Posted January 13, 2020 6 hours ago, LondonDragon said: Hi guys, Just having a slight issue with this, on occasion from the logs it looks like it tries to open the IPTV Channel without the the authentication and fails to play the stream as it's unauthorised, as the the log: 2020-01-12 22:45:03 [xTeVe] [ERROR] Unauthorized (This error message comes from the provider) - EC: 4004 Is there a way to correct this? Thanks may check at the discord channel for xteve for help of the app itself. This error means usually - wrong user/pass - wrong user agent u can debug further by starting xteve in debug=3 Quote Link to comment
LondonDragon Posted January 13, 2020 Share Posted January 13, 2020 2 hours ago, alturismo said: may check at the discord channel for xteve for help of the app itself. This error means usually - wrong user/pass - wrong user agent u can debug further by starting xteve in debug=3 Most of the time it works without me changing anything, for example this morning its working again. So it's very strange behavior! Quote Link to comment
alturismo Posted January 13, 2020 Author Share Posted January 13, 2020 3 hours ago, LondonDragon said: Most of the time it works without me changing anything, for example this morning its working again. So it's very strange behavior! as u see in the error its something with your playlist and your provider, nothing we can do here ... if it works sometimes and sometimes not, may rise the playlist loads in xteve settings so its updated more often Quote Link to comment
Rick Gillyon Posted January 21, 2020 Share Posted January 21, 2020 A bit of help if possible. I use xteve to combine iptv and ota tv via hdhomerun. The hdhomerun m3u has e.g. #EXTINF:-1 tvg-ID="BBC2" tvg-chno="2" tvg-name="BBC Two" tvg-logo="https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s17154_h3_aa.png",BBC Two http://192.168.1.17:5004/auto/v102 With 192.168.1.17 being the address of the hdhomerun. I'm now trying to add a second hdhomerun on 192.168.1.18. I had assumed that if I added another m3u, identical to my existing one except with the .18 ip, xteve would see that if there are no connections left to .17 for a specific channel, it will use .18 (limited to 4 connections per m3u). Unfortunately, it looks to be ignoring the second source for the channel. Any idea how I can combine both hdhomeruns as one source/playlist? Quote Link to comment
alturismo Posted January 22, 2020 Author Share Posted January 22, 2020 7 hours ago, Rick Gillyon said: A bit of help if possible. I use xteve to combine iptv and ota tv via hdhomerun. The hdhomerun m3u has e.g. #EXTINF:-1 tvg-ID="BBC2" tvg-chno="2" tvg-name="BBC Two" tvg-logo="https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s17154_h3_aa.png",BBC Two http://192.168.1.17:5004/auto/v102 With 192.168.1.17 being the address of the hdhomerun. I'm now trying to add a second hdhomerun on 192.168.1.18. I had assumed that if I added another m3u, identical to my existing one except with the .18 ip, xteve would see that if there are no connections left to .17 for a specific channel, it will use .18 (limited to 4 connections per m3u). Unfortunately, it looks to be ignoring the second source for the channel. Any idea how I can combine both hdhomeruns as one source/playlist? i guess what u looking for is an fallback option, which xteve doesnt do and is not planned todo ... what u looking for is a tv backend server like tvheadend which can handle this. alternativ for xteve, assign alternative chan numbers, sample Channel1 (hdhr1) 25 Channel1 (hdhr2) 25.1 then u have 2 channels in xteve pointing to each hdhr, not what u want, but an alternative 1 Quote Link to comment
Rick Gillyon Posted January 22, 2020 Share Posted January 22, 2020 1 hour ago, alturismo said: i guess what u looking for is an fallback option, which xteve doesnt do and is not planned todo ... what u looking for is a tv backend server like tvheadend which can handle this. alternativ for xteve, assign alternative chan numbers, sample Channel1 (hdhr1) 25 Channel1 (hdhr2) 25.1 then u have 2 channels in xteve pointing to each hdhr, not what u want, but an alternative Thanks, I was hoping to dump tvheadend as it's such a PITA when channels move etc. Maybe not! On the alternate channel numbers, are you talking in the playlist? Is this going to lead to duplicated channels in my epg? Quote Link to comment
alturismo Posted January 22, 2020 Author Share Posted January 22, 2020 5 minutes ago, Rick Gillyon said: Thanks, I was hoping to dump tvheadend as it's such a PITA when channels move etc. Maybe not! On the alternate channel numbers, are you talking in the playlist? Is this going to lead to duplicated channels in my epg? as im using tvh ... about dupes, i d say yes as each channel (15, 15.1) has needs own epg i assume u ll see all channels with epg twice 1 Quote Link to comment
Rick Gillyon Posted January 22, 2020 Share Posted January 22, 2020 4 minutes ago, alturismo said: as im using tvh ... about dupes, i d say yes as each channel (15, 15.1) has needs own epg i assume u ll see all channels with epg twice Thanks, wrestling with tvh it is then! 🥵 Quote Link to comment
eds Posted January 24, 2020 Share Posted January 24, 2020 (edited) Hi Alturismo, For those of us not well skilled in docker and just want guide data for plex, is your guide2go app sufficient or should I use xteve_g2g_owi? What command to run at the unraid command prompt to get schedules direct account all setup with the docker? Thanks. Edited January 24, 2020 by eds punctuation Quote Link to comment
alturismo Posted January 25, 2020 Author Share Posted January 25, 2020 (edited) @eds depending now what u want todo guide2go will grab your guide(s) from SD, xteve is a proxy for plex which will handle the streams etc and u can assign the guide, sort channels, etc etc owi is to fetch guide data from open web interface enigma2 stb's .... so in the end, it depends what u want, need, ... the command(s) to run from the readme setup guide2go SD subscrition as follows or copy your existing .json files into your mounted /guide2go folder docker exec -it guide2go -configure /guide2go/lineup_name.json <<-- u can use several lineups, check cronjob.sh to test the cronjob functions docker exec -it guide2go ./config/cronjob.sh in the end, most common is probably xteve_g2g, idk many using a enigma2 stb i needed it cause SD had some 4k channels missing here, and as u need a proxy to get your streams into plex anyway .... is xteve a nice tool. Edited January 25, 2020 by alturismo Quote Link to comment
eds Posted January 25, 2020 Share Posted January 25, 2020 Thanks for getting back to me so quickly. So I decided for simplicity. I just need the guide and I have an SD account. So with the guide2go docker I ran all the necessary commands, created the json and have the cronjob script. When I run docker exec -it guide2go ./config/cronjob.sh, this is what I get: docker exec -it guide2go ./config/cronjob.sh sed: /guide2go/CBLguide.json: No such file or directory sed: /guide2go/CBLguide.json: No such file or directory System info ----------- 2020/01/25 00:37:14 [guide2go] Version: 1.0.6 Get data from Schedules Direct ------------------------------ 2020/01/25 00:37:14 [guide2go] Config file: /guide2go/CBLguide.json 2020/01/25 00:37:14 [ERROR] - open /guide2go/CBLguide.json: no such file or directory sed: /guide2go/SATguide.json: No such file or directory sed: /guide2go/SATguide.json: No such file or directory System info ----------- 2020/01/25 00:37:14 [guide2go] Version: 1.0.6 Get data from Schedules Direct ------------------------------ 2020/01/25 00:37:14 [guide2go] Config file: /guide2go/SATguide.json 2020/01/25 00:37:14 [ERROR] - open /guide2go/SATguide.json: no such file or directory sed: /guide2go/SATSport.json: No such file or directory sed: /guide2go/SATSport.json: No such file or directory System info ----------- 2020/01/25 00:37:14 [guide2go] Version: 1.0.6 Get data from Schedules Direct ------------------------------ 2020/01/25 00:37:14 [guide2go] Config file: /guide2go/SATSport.json 2020/01/25 00:37:14 [ERROR] - open /guide2go/SATSport.json: no such file or directory curl: (7) Failed to connect to 192.168.1.2 port 34400: Operation timed out curl: (7) Failed to connect to 192.168.1.2 port 34400: Operation timed out Is this to be expected? Not sure what those errors are about. I created a json file when the docker connected to SD. Also, I am not clear where the xml will be downloaded. The xmltv schedules direct docker allowed users to assign a custom directory. This does not appear to be the case here, so I assume it will download into the guide2go directory? Quote Link to comment
alturismo Posted January 25, 2020 Author Share Posted January 25, 2020 (edited) 14 minutes ago, eds said: Thanks for getting back to me so quickly. So I decided for simplicity. I just need the guide and I have an SD account. So with the guide2go docker I ran all the necessary commands, created the json and have the cronjob script. When I run docker exec -it guide2go ./config/cronjob.sh, this is what I get: docker exec -it guide2go ./config/cronjob.sh sed: /guide2go/CBLguide.json: No such file or directory sed: /guide2go/CBLguide.json: No such file or directory System info ----------- 2020/01/25 00:37:14 [guide2go] Version: 1.0.6 Get data from Schedules Direct ------------------------------ 2020/01/25 00:37:14 [guide2go] Config file: /guide2go/CBLguide.json 2020/01/25 00:37:14 [ERROR] - open /guide2go/CBLguide.json: no such file or directory sed: /guide2go/SATguide.json: No such file or directory sed: /guide2go/SATguide.json: No such file or directory System info ----------- 2020/01/25 00:37:14 [guide2go] Version: 1.0.6 Get data from Schedules Direct ------------------------------ 2020/01/25 00:37:14 [guide2go] Config file: /guide2go/SATguide.json 2020/01/25 00:37:14 [ERROR] - open /guide2go/SATguide.json: no such file or directory sed: /guide2go/SATSport.json: No such file or directory sed: /guide2go/SATSport.json: No such file or directory System info ----------- 2020/01/25 00:37:14 [guide2go] Version: 1.0.6 Get data from Schedules Direct ------------------------------ 2020/01/25 00:37:14 [guide2go] Config file: /guide2go/SATSport.json 2020/01/25 00:37:14 [ERROR] - open /guide2go/SATSport.json: no such file or directory curl: (7) Failed to connect to 192.168.1.2 port 34400: Operation timed out curl: (7) Failed to connect to 192.168.1.2 port 34400: Operation timed out Is this to be expected? Not sure what those errors are about. I created a json file when the docker connected to SD. Also, I am not clear where the xml will be downloaded. The xmltv schedules direct docker allowed users to assign a custom directory. This does not appear to be the case here, so I assume it will download into the guide2go directory? did u took a look in there ? how is your setup in there, please post your lines which u dont understand as these are my samples from the config i assume u didnt touched it yet Edited January 25, 2020 by alturismo Quote Link to comment
eds Posted January 25, 2020 Share Posted January 25, 2020 11 hours ago, alturismo said: did u took a look in there ? how is your setup in there, please post your lines which u dont understand as these are my samples from the config i assume u didnt touched it yet As indicated in my post above. this line: docker exec -it guide2go ./config/cronjob.sh Produces the following: sed: /guide2go/CBLguide.json: No such file or directory sed: /guide2go/CBLguide.json: No such file or directory System info ----------- 2020/01/25 11:54:48 [guide2go] Version: 1.0.6 Get data from Schedules Direct ------------------------------ 2020/01/25 11:54:48 [guide2go] Config file: /guide2go/CBLguide.json 2020/01/25 11:54:48 [ERROR] - open /guide2go/CBLguide.json: no such file or directory sed: /guide2go/SATguide.json: No such file or directory sed: /guide2go/SATguide.json: No such file or directory System info ----------- 2020/01/25 11:54:48 [guide2go] Version: 1.0.6 Get data from Schedules Direct ------------------------------ 2020/01/25 11:54:48 [guide2go] Config file: /guide2go/SATguide.json 2020/01/25 11:54:48 [ERROR] - open /guide2go/SATguide.json: no such file or directory sed: /guide2go/SATSport.json: No such file or directory sed: /guide2go/SATSport.json: No such file or directory System info ----------- 2020/01/25 11:54:48 [guide2go] Version: 1.0.6 Get data from Schedules Direct ------------------------------ 2020/01/25 11:54:48 [guide2go] Config file: /guide2go/SATSport.json 2020/01/25 11:54:48 [ERROR] - open /guide2go/SATSport.json: no such file or directory curl: (7) Failed to connect to 192.168.1.2 port 34400: Operation timed out curl: (7) Failed to connect to 192.168.1.2 port 34400: Operation timed out Is this to be expected? Also, all this command does docker exec -it guide2go -configure /guide2go/lineup_name.json Is log me into schedules direct then offers options to: Edit configuration file ----------------------- 1. Change credentials from Schedules Direct 2. Add lineup 3. Remove lineup 4. Manage channels 0. Exit Select entry: 0 I don't want to do any of these things so I exit. This creates a json file with my username and password. Now what? Quote Link to comment
alturismo Posted January 25, 2020 Author Share Posted January 25, 2020 (edited) @eds open the cronjob.sh in a editor ... so sample Quote use_guide2go="yes" ... ### List of created lineup json files in /guide2go # sample with 3 jsons lineups JsonList="HDTV.json SPORT.json UHD.json" replace names in json.list ... leave a message when u found it and have issues Edited January 25, 2020 by alturismo Quote Link to comment
eds Posted January 26, 2020 Share Posted January 26, 2020 3 hours ago, alturismo said: open the cronjob.sh in a editor ... so sample Quote use_guide2go="yes" ... ### List of created lineup json files in /guide2go # sample with 3 jsons lineups JsonList="HDTV.json SPORT.json UHD.json" replace names in json.list ... Dude, this is what I needed. Now I think I'm good. Thanks. Quote Link to comment
alturismo Posted January 26, 2020 Author Share Posted January 26, 2020 5 hours ago, eds said: Dude, this is what I needed. Now I think I'm good. Thanks. enjoy Quote Link to comment
relink Posted February 16, 2020 Share Posted February 16, 2020 I really want to use the xteve_guide2go container but I'm completely lost. I current use plain xteve, so I understand how to use use xteve. Where Im lost is how do I setup the guide2go portion? I don't understand any of the readme. What json file? where does it come from? how does it get there? how do i make sure it stays up do date? how do I run those commands? how do I actually get the info from guide2go into xteve? It also may not help that I have never really used schedules direct before. I had it back a few years ago when i used nextpvr, and nextpvr just had a login field for schedules direct and it did the rest automatically. Would anyone mind explaining how to get this going in a more step by step way? I hate being "that guy" but I really just don't get this one, and it doesn't seem to be popular enough for Google to be helpful. Quote Link to comment
alturismo Posted February 17, 2020 Author Share Posted February 17, 2020 @relink g morning, this is actually not the forum about the app but may some basics from the readme https://hub.docker.com/repository/docker/alturismo/xteve_guide2go Quoted some parts from readme Quote Container Path: /guide2go <> /mnt/user/appdata/xteve/_guide2go/ here are your guide2go files after setting them up Quote setup guide2go SD subscrition as follows or copy your existing .json files into your mounted /guide2go folder OR copy ... = if you have a EXISTING .json file from a previous g2g install ... which is created by running the command Quote docker exec -it "dockername" guide2go -configure /guide2go/"your_epg_name".json if u didnt changed ... docker exec -it xteve_g2g guide2go -configure /guide2go/epg.json <- epg.json could also be USA.json or whatever. follow the instructions ... setup your lineups etc ... do this for EACH lineup (SD provides you 4) and give EACH a unique name ... see further down. Quote Container Path: /config <> /mnt/user/appdata/xteve/_config/ after docker start check your config folder and do your setups, setup is persistent, start from scratch by delete them cron and xteve start options are updated on docker restart. cronjob.sh <- THIS IS MAJOR like in xteve ... also extra described in file sample_cron.txt <- described in file sample_xteve.txt <- described in file here u have the general configurations inside like in xteve the cronjob.sh ... for g2g u have to enable AND edit this line Quote ... ### List of created lineup json files in /guide2go # sample with 3 jsons lineups JsonList="HDTV.json SPORT.json UHD.json" ... . ### END Config jsonlist as described above ... the names u gave YOUR lineups, this is a SAMPLE entry about cron and xteve start options ... rather leave that alone until you understand the basic Quote to test the cronjob functions docker exec -it "dockername" ./config/cronjob.sh if u didnt changed ... docker exec -it xteve_g2g ./config/cronjob.sh u see the running job(s) you configured there ... sample_cron.txt from /_config Quote printf '45 04 * * * /config/cronjob.sh' > /etc/crontabs/root ### remove from here including this line ### ### edit your cron time ### rename to cron.txt ### restart docker, new cron time from then ### no cron.txt it ll update daily at 00:00 last sentence from this file, IF u DONT touch it, it ll update daily at 00:00 ... about how to run a command like docker exec ... in unraid, open the terminal and run it ... if thats the question. about how to get xteve reads the guide2go files, they are now in your mounted volume system inside xteve_g2g docker, so a XMLTV guide path could be /guide2go/USA.xml in xteve ... now this is all copy/paste from the readme(s), may leave a not where u actually stuck so may someone else can help you further. If the readme is so unclear or there is a failure please leave a message so i can correct it. 1 Quote Link to comment
relink Posted February 18, 2020 Share Posted February 18, 2020 Ah ok, I got it now. There is just a few missing details for someone who doesn't know how Schedules Direct works, or how Guide2Go works. Let me see if I can help a little bit for new users who don't know some of this stuff. My guide will use the defaults or suggestions for as much as possible. it not meant to be thorough, its meant to get you going. 1. Install the docker with all the default and suggested mappings. Container Path: /root/.xteve <> /mnt/user/appdata/xteve/ Container Path: /config <> /mnt/user/appdata/xteve/_config/ Container Path: /guide2go <> /mnt/user/appdata/xteve/_guide2go/ Container Path: /tmp/xteve <> /tmp/xteve/ Container Path: /TVH <> /mnt/user/appdata/tvheadend/data/ << not needed if no TVHeadend is used the only change I made was I renamed my “xteve” folder to “xteveG2G”. I only did this because I had a current installation of Xteve that I didn’t want to interfere with. 2. Go to “/mnt/user/appdata/xteve/_config/” and open “cronjob.sh” with a text editor. (Im using Atom) 1. Put a “yes” next to the API options you need and “no” by the ones you don’t. 2. Edit the JsonList with the channel lineups you want to have. Doesn’t have to be specific, just remember what it is. I literally made mine “1.json” and that’s it. 3. Put in your Xteve IP and Port Number 4. Setup either Emby or Plex, instructions are in the file, or you can google it. I don’t use Emby, but plex wasn’t too hard to figure out. 5. I don’t use TVHeadend with this so im not sure what needs to be done if you do. 6. Save the file and close it. 7. In the same folder you can leave the 2 “sample” files alone unless you want to change those settings from the default. 3. Now start the docker and open a terminal in unraid, I used the built in unraid web terminal which can be accessed from the top bar to the left of the power button. 1. Issue the following command; docker exec -it xteve_guide2go guide2go -configure /guide2go/1.json Notice the json file is the same as you put in the cronjob.sh file you edited earlier. 2. Follow the setup prompts, the setup process is very self explanatory. As for the lineup to pick that’s upto you. I personally chose the Dishnetwork option that had my locals too. 4. Once your done setting up here, then run the next command. docker exec -it xteve_guide2go ./config/cronjob.sh This will actually start pulling down the data, and it can get pretty big so give it some time. 5. Once the data has been downloaded now its time to set it up in Xteve. 1. in Xteve add a new XMLTV file with the local path of “/guide2go/1.xml”. Again notice it’s the same name as before but now its an XML file. So your lineup names will carry through. 6. That’s pretty much it, now you just need to go to each channel, set its XMLTV file and Channel and your done. 7. OPTIONAL FOR PLEX: I ran into an issue loading the xmltv file into Plex DVR using HTTP (which is how your supposed to do it). So I came up with a simple work around. Find the folder where “xteve.xml” is located, and map that folder into your Plex container. So far example: My Xteve.xml is in “/mnt/user/appdata/xteveG2G/data/” so I mapped that folder to “/epg” in my Plex container. Now when I went to setup my DVR I put the XMLTV path as “/epg/xteve.xml” instead of using the URL from xteve like usual. As far as setting up Xteve and Plex or Emby there are plenty of guides for that so I don’t need to get too specific. Sorry if I missed anything, I wrote this very quickly. 1 Quote Link to comment
alturismo Posted February 18, 2020 Author Share Posted February 18, 2020 may 2 additions, g2g needs long on the first run, as its building a cache it ll be way faster on updates due it runs daily ... and about the common plex bug, the file size where http breaks is ~ 20 mb, all over there needs filepath instead http link. small hint when u want to speed up and lower downloads and cpu usage on xml updates, u can shorten the .json list ... just be careful, especially on the last entry with the <;> faster then going through the SD setup with each channel etc ... thanks @relink for this nice small walkthrough. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.