Very cool, this is fun exploring and learning from. For now I just found a little typo:
Fixed. Also fixed the copy buttons.
I found from the latest beta that Tablo was not in it I had to use Docker
Nice. I've added upcoming DVR jobs to my calendar (BusyCal) and a feed showing recent DVR imports to my RSS reader (Reeder.) I just had to edit the copied URL to include my server's internal IP address (10.0.1.xx instead of xxxxxxxxxxxx.u.channelsdvr.net) and also change https:// to http:// for these to work. I'll tinker with Home Assistant and other integration ideas next. This is very cool, working great!
Maybe I'm misunderstanding something but if I set the API and Feed Explorer to output JSON and Videos, I this this API:
I was expecting that it would return the JSON for videos that were added to the Video Sources directories defined in the Local Content section the the settings web UI. What it returns is null ("").
The videos do show up by selecting "All Recordings".
Weird. When I drop videos into the directory, Channels sees it and imports it.
My video source path defined in Local Content is something like this:
Then under the /video directory I have a bunch or group folders that contain the actual video files.
I don't have any nested folders under the /groupx/ path.
Setting the type to "All Recordings" and right-most pulldown to "Imports" does return all the videos I would expect.
Does it work if you select RSS or ATOM instead of JSON for Videos?
It is only outputs a null response if "All Video Groups" is selected with Videos. If I change the "All Video Groups" pulldown to select one of my video groups, then it output the correct response, showing all the videos in the selected group.
Do you see anything when you open this link in a browser?
Yah, unless you read the whole Topic my post was in, you probably took it out of context.
It's not supposed to work that way, but currently is.
Thanks for adding Video Groups
Only thing I see missing so far is the channel recorded from.
Can you add this to Recordings?
I just noticed that this URL throws an error in the log when called or when selected in the API page.
2023/02/22 02:09:29 [Recovery] 2023/02/22 - 02:09:29 panic recovered:
runtime error: invalid memory address or nil pointer dereference
go.etcd.io/[email protected]/db.go:780 (0x791501)
github.com/gin-gonic/[email protected]/context.go:169 (0x168b593)
github.com/gin-gonic/[email protected]/context.go:169 (0x1681963)
github.com/gin-gonic/[email protected]/context.go:169 (0x16815ca)
github.com/gin-gonic/[email protected]/context.go:169 (0x1681487)
github.com/gin-gonic/[email protected]/context.go:169 (0xa7d7a1)
github.com/gin-gonic/[email protected]/recovery.go:107 (0xa7d78c)
github.com/gin-gonic/[email protected]/context.go:169 (0xa7c8e6)
github.com/gin-gonic/[email protected]/logger.go:240 (0xa7c8c9)
github.com/gin-gonic/[email protected]/context.go:169 (0x119b7b9)
github.com/gin-contrib/[email protected]/sessions.go:65 (0x119b7a5)
github.com/gin-gonic/[email protected]/context.go:169 (0x11959e1)
github.com/gin-contrib/[email protected]/gzip.go:47 (0x11959b9)
github.com/gin-gonic/[email protected]/context.go:169 (0x1682205)
github.com/gin-gonic/[email protected]/context.go:169 (0xa7b9b0)
github.com/gin-gonic/[email protected]/gin.go:598 (0xa7b618)
github.com/gin-gonic/[email protected]/gin.go:554 (0xa7b151)
Which version of the server? A lot changed last night. Do you have videos in your library? Please submit diagnostics.
People find typos in my code often. It is kind of embarrassing, but it happens to the best of us.
What's worse is when the higher ups make me change the whole narrative in a msgbox. You're blessed to work with a small company.
Documentation for the Server API just went up.
Are Movie identifiers strings or numbers?