Page 1 of 1

[CDS API] Folder and filename of videos

PostPosted: Fri Aug 09, 2013 3:23 am
by kissskoool
Hi,

Is it possible to get the folder path and real filename of each videos with the CDS API ?

Thanks !

Re: [CDS API] Folder and filename of videos

PostPosted: Fri Aug 09, 2013 8:13 am
by zip
Why?

Re: [CDS API] Folder and filename of videos

PostPosted: Fri Aug 09, 2013 2:43 pm
by kissskoool
Because i'm developping a media browser based on Serviio, and i need the folders paths to retreive the different subtitles i have in the media folder.

For now Serviio allows the use of only one subtitle, and i need my media browser let the user choose different srt for a movie.

I also need the folder path of tv shows, to associate a poster to it.

Re: [CDS API] Folder and filename of videos

PostPosted: Fri Aug 09, 2013 3:38 pm
by will
This would solve the first problem https://bitbucket.org/xnejp03/serviio/i ... e-subtitle

As for the second, if you browse to V_S you get a list of TV shows, each of which has a thumbnailUrl pointing to the shows poster (as of Serviio 1.3)

Re: [CDS API] Folder and filename of videos

PostPosted: Fri Aug 09, 2013 3:48 pm
by zip
kissskoool wrote:Because i'm developping a media browser based on Serviio, and i need the folders paths to retreive the different subtitles i have in the media folder.

This would only allow you to use it on the same machine, not remotely though.

Paths will not be served, it's also not very secure.

Re: [CDS API] Folder and filename of videos

PostPosted: Fri Aug 09, 2013 4:21 pm
by kissskoool
will, thank you for the link !
It's exactly what i need.
But is this ehancement already available in the serviio 1.3 ?

About your solution for TV shows posters, are you talking about video thumbnails generated for each episode, or a poster for the whole show ?

zip, i don't understand what you mean by : "This would only allow you to use it on the same machine, not remotely though."

Thanks !

Re: [CDS API] Folder and filename of videos

PostPosted: Fri Aug 09, 2013 4:31 pm
by will
kissskoool wrote:will, thank you for the link !
It's exactly what i need.
But is this ehancement already available in the serviio 1.3 ?

No, I raised it near the end of 1.3 development, maybe for 1.4, I would like it for the same reasons for ServiiGo.

About your solution for TV shows posters, are you talking about video thumbnails generated for each episode, or a poster for the whole show ?

The series containers now have thumbnails with the introduction of folder thumbnails showing the shows poster (i.e this format http://thetvdb.com/banners/_cache/posters/81189-22.jpg)


zip, i don't understand what you mean by : "This would only allow you to use it on the same machine, not remotely though."

Thanks !


He means that data would only be of use to a CDS client running on the same machine as the server, i.e. only a web app, it would be useless to mobile clients etc

Re: [CDS API] Folder and filename of videos

PostPosted: Sat Aug 10, 2013 12:59 am
by kissskoool
No, I raised it near the end of 1.3 development, maybe for 1.4, I would like it for the same reasons for ServiiGo.


I hope this ehancement of the API would come before the 1.4. It would be very useful to let the user choose among several subtitles !
will, you're the ServiiGo developper ?
Your android app is very well done and very useful.
Can we choose to use the preferred sub in the ServiiGo app ?

The series containers now have thumbnails with the introduction of folder thumbnails showing the shows poster (i.e this format http://thetvdb.com/banners/_cache/posters/81189-22.jpg)


Cool ! Thanks, i will work on it as soon as possible.

He means that data would only be of use to a CDS client running on the same machine as the server, i.e. only a web app, it would be useless to mobile clients etc


I know that the CDS API can deliver datas only to an app on the same machine.
But can the users watch several movies simultaneously using my webapp on my server ?

Thx

Re: [CDS API] Folder and filename of videos

PostPosted: Sat Aug 10, 2013 2:02 pm
by will
kissskoool wrote:will, you're the ServiiGo developper ?
Your android app is very well done and very useful.
Can we choose to use the preferred sub in the ServiiGo app ?

Yes I am, thank you. No not at the moment, hense my request for it. I've only recently got a video player implemented with support for subtitles, so hadn't really thought about it until now.

I know that the CDS API can deliver datas only to an app on the same machine.
But can the users watch several movies simultaneously using my webapp on my server ?

Thx


No, it can deliver data to a client running anywhere, its just that a client that isn't running on the same machine, wouldn't have access to the file system, so would have no use for the original path to the file.

Yes, although depending on the profile used (and if the video needs transcoding), then the number of users supported will be proportional to the CPU power.

Re: [CDS API] Folder and filename of videos

PostPosted: Tue Mar 12, 2019 7:37 am
by rayandexter1
kissskoool wrote:I hope this ehancement of the API would come before the 1.4. It would be very useful to let the user choose among several subtitles !
will, you're the ServiiGo developper ?
Your android app is very well done and very useful.
Can we choose to use the preferred sub in the ServiiGo app ?

The series containers now have thumbnails with the introduction of folder thumbnails showing the shows poster (i.e this format http://thetvdb.com/banners/_ essay writer)



Choosing among several subtitles lines would be very useful indeed! Thank you!