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

Yes. Pay Per View on Peacock. Putting in the channel number of my Encoder.

OK, so it does have a channel number in Channels DVR.

Yes. What I meant to say it doesn’t have a station ID to match with the channel. It just has one hour blocks and it’s just label HDMI encoder. I was thinking that’s what you meant by SeriesID I guess I got confused.

Try a fresh manual recording of something (anything really, and it can be short) and post the OliveTin stdout here for that recording. We should be able to tell what's going on from that. See this post for an example:

I have a 1 min recording set for 10:50 PM CST. Here is the logs from that.

*   Trying XXX.XXX.XXX.XX:XXXX…
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to XXX.XXX.XXX.XX (XXX.XXX.XXX.XX) port XXXX (#0)
> POST /dvr/jobs/new HTTP/1.1
> Host: XXX.XXX.XXX.XX:XXXX
> User-Agent: curl/7.82.0
> Accept: */*
> Content-Length: 406
> Content-Type: application/x-www-form-urlencoded
> 
} [406 bytes data]
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Cache-Control: no-cache, no-store
< Content-Type: application/json; charset=utf-8
< Set-Cookie: session=MTY5NjczNjg3OHxEdi1CQkFFQ180SUFBUkFCRUFBQUl2LUNBQUVHYzNSeWFXNW5EQW9BQ0hSekxteHZaMmx1Qm5OMGNtbHVad3dDQUFBPXyQR4oCUeHSFRZkdg9P-zR6XzOYiVy314afDyxUKcGnzA==; Path=/; Expires=Mon, 07 Oct 2024 03:47:58 GMT; Max-Age=31536000; SameSite=Lax
< X-Channels-Dvr-Identifier: 
< Date: Sun, 08 Oct 2023 03:47:58 GMT
< Content-Length: 464
< 
{ [464 bytes data]

100   870  100   464  100   406   6617   5790 --:--:-- --:--:-- --:--:-- 12608
* Connection #0 to host XXX.XXX.XXX.XX left intact

I was able to find the test in my library but when I click on the metadata it’s doesn’t show “Pro wrestling” as the genre. Just shows blank. I am putting Pro wrestling in the genre field.

1 Like

This is the output from stderr, I want to see stdout.

That's my bad.

{"ID":"1696737000-ch5002","Name":"Test","Time":1696737000,"Duration":60,"Channels":["5002"],"Channel":"","DeviceID":"","RuleID":"","Serial":0,"FileID":"","Skipped":false,"Failed":false,"Dead":false,"Error":"","Airing":{"Source":"manual","Channel":"5002","Time":1696737000,"Duration":60,"Title":"Test","Summary":"Test","Image":"https://tmsimg.fancybits.co/assets/p9467679_st_h6_aa.jpg","Genres":["Pro wrestling"],"SeriesID":"manual/5002"},"UpdatedAt":1696736878482}
1 Like

That one should work.
What does it look like (screenshot) in DVR > Manage > Shows after it recorded

OK, so it's working like it should.
Try editing the metadata on that one. What does it look like.
You should see Genres has Pro wrestling, like my example from above


You may need to add Categories Sports, or Sports event

I see it there but for some reason my smart rule for Pro wrestling for my collection "Wrestling" . The recording isn't show up there.


.

Can't help you there as I don't use collections.
You may want to start a new Topic about that.
The manual recording is working like it should.

Gotcha. Thanks for the help though really appreciate it!

1 Like

Is this something that did get added to OliveTin For Channels? Whenever @mjitkop posts channel lineup changes it always reminds me that I want to install that on my server, and then I think this would be a perfect reason for install the overall OliveTin project.

I haven't added it yet -- but plan to. The text and e-mail notifications are a wrinkle I need to iron out, but it shouldn't be overly difficult. Stay tuned!

2 Likes

This project is pretty amazing. I've been somewhat following it, but without time to dip my toe in until today. Thank you for contributing this.

I'd be interested in a post on how to use the TWiT data generated by this. I see the xml in my /data directory, but I'm not sure how to use it with Channels.

Assign that XML file in the Source:

Then map it to your TWiT.tv channel:

Thanks! I matched my data to yours (aside from the path under XMLTV Guide Data), and my guide data says "TWiT Tech Podcast Network Live Stream" with no other program data, so clearly I've messed something up.

The main screen shows "Generate TWiT.tv Guide Data (Running!)", and the log shows "exit status 1"

Here are my settings:

I redownloaded all my guide data.

Could you post the stdout and stderr from the OliveTin log for the TWiT.tv action please.

I'd like to see what's up with the exit code 1.