FAQ  •  Register  •  Login

Serviio CDS controller

<<

cina

Serviio newbie

Posts: 14

Joined: Wed Nov 11, 2015 4:02 pm

Post Wed Mar 01, 2017 4:52 pm

Serviio CDS controller

Hi!

I'm trying to implement CDS API controller function in a javascript driven web page. Apart from that I'm able to retrieve database items with browse, search API calls and successfully enumerate all renderers in my LAN. cdsAnonymousAccess is true.

If I request a CDS API controller play function I get <405 Method Not Allowed> response from server. I have absolutely no clue so far of the problem. I tried several different renderers uuids so far and objectIds of different items in library. I do not specify parentId in JSON as DOCS states this is optional. My headers are correct according to the API DOCS.

What else do I need to start playback on my DLNA client?

Please help.

Thank you,
Cina.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Mar 01, 2017 5:49 pm

Re: Serviio CDS controller

Are you doing a POST?
<<

cina

Serviio newbie

Posts: 14

Joined: Wed Nov 11, 2015 4:02 pm

Post Wed Mar 01, 2017 6:01 pm

Re: Serviio CDS controller

Sorry I made a request.open('GET'... by mistake.

I'll correct and report back.

Thanks.
<<

cina

Serviio newbie

Posts: 14

Joined: Wed Nov 11, 2015 4:02 pm

Post Wed Mar 01, 2017 6:26 pm

Re: Serviio CDS controller

I got it working but now I have new issues.

Now I got 500 Internal server error..

Serviio log says:
2017-03-01 19:22:20,285 WARN [ServiioStatusService] NumberFormatException occurred. Returning error code 500 to the REST layer. Message: For input string: "R3$F1122$F1132$MI20049"

My JSON objectId is "V_F^FOL*R3$F1122$F1132$MI20049"
V_F^FOL* is stripped?
<<

cina

Serviio newbie

Posts: 14

Joined: Wed Nov 11, 2015 4:02 pm

Post Wed Mar 01, 2017 6:37 pm

Re: Serviio CDS controller

It was a FILE object returned by search which gave me error 500
A MOVIE/EPISODE are starting to play as expected.

Thanks for your help.

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 2 guests

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