BETA: API & Feeds

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?
/dvr/files .Airing.Channel

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
runtime/panic.go:260 (0x450d55)
runtime/signal_unix.go:835 (0x450d25) (0x168bd05) (0x168bcd8) (0x16f4e5a) (0xc45647)[email protected]/db.go:780 (0x791501) (0xc453cf) (0x1147870) (0x168b7de) (0x168fac4)[email protected]/context.go:169 (0x168b593) (0x168b4c8)[email protected]/context.go:169 (0x1681963) (0x1681657)[email protected]/context.go:169 (0x16815ca) (0x16815af)[email protected]/context.go:169 (0x1681487) (0x1680dfa)[email protected]/context.go:169 (0xa7d7a1)[email protected]/recovery.go:107 (0xa7d78c)[email protected]/context.go:169 (0xa7c8e6)[email protected]/logger.go:240 (0xa7c8c9)[email protected]/context.go:169 (0x119b7b9)[email protected]/sessions.go:65 (0x119b7a5)[email protected]/context.go:169 (0x11959e1)[email protected]/gzip.go:47 (0x11959b9)[email protected]/context.go:169 (0x1682205) (0x16821f1)[email protected]/context.go:169 (0xa7b9b0)[email protected]/gin.go:598 (0xa7b618)[email protected]/gin.go:554 (0xa7b151)
net/http/server.go:2947 (0x7162cb)
net/http/server.go:1991 (0x7115a6)
runtime/asm_amd64.s:1594 (0x46eb40)

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?

All the ids are strings

1 Like

I'm digging in and exploring, very cool stuff! Are the thumbnails for "videos" supposed to be the artwork for the "video groups" they are in? Or can they be the thumbnails that each video gets generated?

1 Like

I'm going to set them to thumbnails to match what's happening on tvOS.

Also, right now, uploaded art is broken in the API responses as they have no host name, they are just paths. This is how it works in Channels as the clients handle adding the host on to it since they know what they're communicating with. It's trickier with API responses, but obviously important, as the URLs will be useless to anything consuming the API data.

This was resolved in the latest pre-release.

Image upload URLs are full URLs now.

1 Like

Very cool stuff! :sunglasses:

It's great to be able to get a lot information related to recordings and video contents.

Would it also be possible to add information about channels and their sources?

I know you can get information about channels at but that's a lot to digest without any kind of filtering/sorting. Some API magic would help. :slight_smile:

Some channels are present in multiple sources and it would be cool to be able to look up one channel and see all the sources it is in. Just one example.

1 Like

There’s no plans for exposing channels or guide data in the api right now. It’s focused on your library contents.

Thank you for your reply. The fact that you said "right now" gives me hope for the future. I'm good with that. :grin:

Until then, I'll implement my own script for handling the data from the URL I mentioned. That will keep me busy and out of trouble. :laughing:


Great work on the documentation for the API's!

Is it possible to add the channel number that something was recorded from to the Recordings API for Episodes and Movies?
It currently appears under DVR > Manage > Movies&Shows and Library > Movies&TV Shows.