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?
All the ids are strings
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?
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.
Very cool stuff!
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
http://127.0.0.1:8089/devices/ANY/channels but that's a lot to digest without any kind of filtering/sorting. Some API magic would help.
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.
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.
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.
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.