FAQ  •  Register  •  Login

[CDS API] Folder and filename of videos

<<

kissskoool

Streaming enthusiast

Posts: 25

Joined: Mon Aug 05, 2013 1:15 pm

Post Fri Aug 09, 2013 3:23 am

[CDS API] Folder and filename of videos

Hi,

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

Thanks !
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Aug 09, 2013 8:13 am

Re: [CDS API] Folder and filename of videos

Why?
<<

kissskoool

Streaming enthusiast

Posts: 25

Joined: Mon Aug 05, 2013 1:15 pm

Post Fri Aug 09, 2013 2:43 pm

Re: [CDS API] Folder and filename of videos

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.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Fri Aug 09, 2013 3:38 pm

Re: [CDS API] Folder and filename of videos

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)
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Aug 09, 2013 3:48 pm

Re: [CDS API] Folder and filename of videos

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.
<<

kissskoool

Streaming enthusiast

Posts: 25

Joined: Mon Aug 05, 2013 1:15 pm

Post Fri Aug 09, 2013 4:21 pm

Re: [CDS API] Folder and filename of videos

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 !
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Fri Aug 09, 2013 4:31 pm

Re: [CDS API] Folder and filename of videos

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
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

kissskoool

Streaming enthusiast

Posts: 25

Joined: Mon Aug 05, 2013 1:15 pm

Post Sat Aug 10, 2013 12:59 am

Re: [CDS API] Folder and filename of videos

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
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Aug 10, 2013 2:02 pm

Re: [CDS API] Folder and filename of videos

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.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

rayandexter1

Serviio newbie

Posts: 1

Joined: Tue Mar 12, 2019 7:25 am

Post Tue Mar 12, 2019 7:37 am

Re: [CDS API] Folder and filename of videos

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!

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 14 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.