OliveTin for Channels: An Interface for Misc Channels DVR Scripts & Tricks

I went ahead and sent samples from 4-5 of the channels, across a SLM and non-SLM source (both from IPTVboss before that).

Let's focus on one channel you have in "Favs", with this channel-id:

"US MGM+ DRIVE-IN"

And, this current airing info:

{"Airings":[{"Source":"xmltv:IPTVBoss","Channel":"127123","Time":1743784500,"Duration":6900,"Title":"Wonder Boys","EpisodeTitle":"Movie (2000)","Summary":"Movie (2000) Grady (Michael Douglas) is a 50-ish English professor who hasn't had a thing published in years -- not since he wrote his award winning Great American Novel 7 years ago. This weekend proves even worse than he could imagine as he finds himself reeling from one misadventure to another in the company of a new wonder boy author.","Image":"https://zap2it.tmsimg.com/assets/p24840_p_v10_ar.jpg","SeriesID":"Wonder Boys","ProgramID":"Wonder Boys/Movie (2000)","SearchScore":0.09372028248709982,"Raw":{"xmltv":"\u003ctv source-info-name="IPTVBoss"\u003e\n\u003cchannel id="MGM+DriveIn.us1"\u003e\n \u003cdisplay-name\u003eUS MGM+ DRIVE-IN\u003c/display-name\u003e\n \u003cdisplay-name\u003eUS MGM+ DRIVE-IN\u003c/display-name\u003e\n \u003cicon src="https://cdn.iptvboss.pro/logos/USA/MGM%2BDriveIn.us.png"\u003e\u003c/icon\u003e\n \t\u003clcn\u003e127123\u003c/lcn\u003e\n\u003c/channel\u003e\n\n\u003cprogramme start="20250404163500 +0000" stop="20250404183000 +0000" channel="MGM+DriveIn.us1"\u003e\n \u003cdesc lang="en"\u003eMovie (2000) Grady (Michael Douglas) is a 50-ish English professor who hasn't had a thing published in years -- not since he wrote his award winning Great American Novel 7 years ago. This weekend proves even worse than he could imagine as he finds himself reeling from one misadventure to another in the company of a new wonder boy author.\u003c/desc\u003e\n \u003cepisode-num system="dd_progid"\u003eMV00084664.0000\u003c/episode-num\u003e\n \u003cicon src="https://zap2it.tmsimg.com/assets/p24840_p_v10_ar.jpg"\u003e\u003c/icon\u003e\n \u003clength units="minutes"\u003e115\u003c/length\u003e\n \u003csub-title lang="en"\u003eMovie (2000)\u003c/sub-title\u003e\n \u003csubtitles type="teletext"\u003e\u003c/subtitles\u003e\n \u003ctitle lang="en"\u003eWonder Boys\u003c/title\u003e\n \u003c/programme\u003e\u003c/tv\u003e"}}],"Channel":{"CallSign":"US MGM+ DRIVE-IN","Categories":["US CA UK MOVIES"],"ChannelID":"US MGM+ DRIVE-IN","DeviceID":"M3U-EPGPROBSTSdirect","Genres":[],"HD":true,"Hidden":false,"Image":"https://cdn.iptvboss.pro/logos/USA/MGM%2BDriveIn.us.png","Name":"US MGM+ DRIVE-IN","Number":"127123","Station":"MGM+DriveIn.us1","Tags":[]}}

Piping that value through the jq statement I'm using, gives me this:

127123

So, back to some data from you. Using this URL:

http://$dvr/devices/ANY/channels

Can you post the M3U dataset for "GuideNumber":"127123"?

I did find a problem with collection names that contain spaces, which I fixed. Otherwise, the data you provided me was all handled fine -- so no issues there.

Pull the most recent :latest when you have a moment, and try producing an M3U for your EPG Problems collection, and let me know how it goes.

Hmmm....getting a HTTP 500 error. Maybe :latest hasn't propagated yet, though it did show an update available.

Pushed another update a few moments ago, for a different reason -- but I was able to pull it right away. So, if you could try again...

I was able to generate a m3u from that EPG_Problems collection (I renamed it to avoid things like that spaces in names issue). The 500 error was because of a file permissions error on this new m3u - I'll have to sort that but it's an easy fix.

I am still getting no guide data in my exports for those other channels. I'm going to keep investigating and try to simplify it so I can determine if it is a CDVR, PLM, or O4C hiccup. Will keep you posted!

As an update, I just tested that EPG_Problems collection m3u and while the source has 10 channels - the output has just 1, so there's definitely something up there. I don't want to muddy up the thread any more, but when you have some time can we work through this via messages or a Github issue?

1 Like

I created its own thread but maybe OliveTin is the better place if anyone could do this project. DirecTV offers a free service called Myfree DirecTV. Is it possible to create a container for it? I'm willing to share my username and password if needed.

That wouldn't work because DRM.

All of the channels on there tho can be gotten with other containers (tubi, plex, pluto).

New bnhf/olivetin:latest (aka bnhf/olivetin:2025.04.21) pushed today with support for generating an M3U for cc4c and/or a JSON for ADBTuner from the YouTube TV live guide.

More details here:

Any reason why I am getting this ?

exit status 1

/config/yttv_m3u_json.sh: line 51: /config/data/192.168.50.58-8089/YouTubeTV.json: No such file or directory
cat: /config/data/192.168.50.58-8089/YouTubeTV.json: No such file or directory

OK, so the output (hosted) JSON file isn't being created. Are you seeing anything in Standard Error that might be of use? I'm thinking the directory 192.168.50.58-8089 doesn't exist yet, but it'd be nice to confirm that...

Correct it does not exist in the data.

I'll modify the script to make sure the directory is created if it doesn't exist. Thanks for letting me know. It'll be a bit before I can push an update.

@Edwin_Perez Fix pushed. I tested it with a server directory I hadn't hosted any files from before, and both the directory and file were created as expected.

File created and write to names are different.

It creates this file YouTubeTV.json

but it is trying to write to this file ...

jq: error: Could not open file /config/yttv_m3u_json.json: No such file or directory

yttv_m3u_json.json is an intermediate file that's created based on the .csv file you provide. That intermediate JSON file is then used to create either the M3U for cc4c or the JSON for ADBTuner. In the case of ADBTuner, the final file is named YouTubeTV.json.

I just tested, and yttv_m3u_json.json does not need to exist in advance. What does the CSV file you created look like? Can you post it here?

I guess i need to create the csv file missed that part btw the file is empty.

Sorry, I meant CSV file you created...

Which file?