FAQ  •  Register  •  Login

Playlist management, login and search (CDS API)

<<

Decap_dk

Streaming enthusiast

Posts: 20

Joined: Thu Aug 09, 2012 8:26 am

Post Tue Jan 15, 2013 6:57 pm

Playlist management, login and search (CDS API)

Hi

I am developing a CDS playback application and want to add playlists to this. From what I gather when I login I get a authtoken that is needed whenever I play a media file (resource URI). For how long is this token valid. If I am to save a playlist of items for use at a later state this authtoken will become invalid. Can I then just replace with a new auth token and playback using this or is other parts of the media URI also changed?

Also is there any plans of adding a search capability to the CDS API?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 15, 2013 7:03 pm

Re: Playlist management, login and search (CDS API)

Yes, just replace the token.

Search is planned.
<<

Decap_dk

Streaming enthusiast

Posts: 20

Joined: Thu Aug 09, 2012 8:26 am

Post Wed Jan 16, 2013 5:57 am

Re: Playlist management, login and search (CDS API)

zip wrote:Yes, just replace the token.

Search is planned.


For how long is a token valid?

And cool about the search capabilities.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Wed Jan 16, 2013 8:08 am

Re: Playlist management, login and search (CDS API)

Its valid until you either call the /cds/logout endpoint with the token, or until the server process is restarted.
Will

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

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 15 guests

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