Jump to content

Problem Creating Playlists with Java API


nz987tip

Recommended Posts

nz987tip
Hello,

I'm trying to use the Java API to convert M3U playlists into Emby.  The API attempts to do this with an HTTP GET, while the API does a POST.

 

Create Playlist via web GUI:

===========================

 

http://000.000.000.001:8096/emby/Playlists?Name=TestEmbyGui&Ids=8917e95272fb6aba425df1d2179a836c&userId=803643a6650847721111a960eeeebc7f

 

Request.HttpMethod: GET

Request.PathInfo: /emby/Playlists

Request.QueryString: Name=TestEmbyGui&Ids=8917e95272fb6aba425df1d2179a836c&userId=803643a6650847721111a960eeeebc7f

Request.RawUrl: /emby/Playlists?Name=TestEmbyGui&Ids=8917e95272fb6aba425df1d2179a836c&userId=803643a6650847721111a960eeeebc7f

 

 

Create Playlist via API:

========================

 


Post parameters : [userId=803643a6650847721111a960eeeebc7f, format=json, Ids=5b4e882625803ea3c0daa10a8696ad87,2C85af84ce364e80c2b359c3e46ff65a67, Name=embyTest]

Response Code : 400

Result : {"ResponseStatus":{"ErrorCode":"ArgumentException","Message":"No item exists with the supplied Id","StackTrace":"[CreatePlaylist: 01/24/2016 20:46:20]:\n[REQUEST: {Name:embyTest,Ids:\"5b4e882625803ea3c0daa10a8696ad87,2C85af84ce364e80c2b359c3e46ff65a67\",UserId:803643a6650847721111a960eeeebc7f}]\nSystem.ArgumentException: No item exists with the supplied Id\n  at MediaBrowser.Server.Implementations.Playlists.PlaylistManager+<CreatePlaylist>c__async0.MoveNext () <0x8167b5df0 + 0x00342> in <filename unknown>:0 \n--- End of stack trace from previous location where exception was thrown ---\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x8167d8f50 + 0x00038> in <filename unknown>:0 \n  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x8167d8b90 + 0x00118> in <filename unknown>:0 \n  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x8167d8ac0 + 0x000b3> in <filename unknown>:0 \n  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x808a01030 + 0x00042> in <filename unknown>:0 \n  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x808a8f540 + 0x0001f> in <filename unknown>:0 \n  at MediaBrowser.Api.PlaylistService+<Post>c__async0.MoveNext () <0x8167b51f0 + 0x0052f> in <filename unknown>:0 ","Errors":[]}}

 

What needs to be done with the Ids to get the API to recognize them?   I'm currently doing this to get the Ids from the Library DB:

 

     bytes = rs.getBytes("guid");

     etbi.setGuidId(asUuid(bytes).toString().replaceAll("-", ""));

 

When I query using the guid from the web gui attempt to create a playlist - I get no rows:                        

              

0 rows returned in 0ms from: select *

    from TypedBaseItems

where guid = X'8917e95272fb6aba425df1d2179a836c'

;

 

Appreciate any help.    

 

 

Running Emby on FreeNAS 9.3 host.

Link to comment
Share on other sites

nz987tip

I'm using the CreatePlaylist method in the API.  After getting an ApiClient and authenticating with AuthenticateUserAsync, I instantiate a PlaylistCreationRequest object and populate the required elements.

Link to comment
Share on other sites

i've checked the java code and it is definitely a Post not a Get. Does the server request log offer any clues?

Link to comment
Share on other sites

nz987tip

It appears the GET may have been for the web gui re-display of the playlist after creating it.  I'm not able to see the POST for creating the playlist in the Chrome developer tools.   Here is the server log for the CreatePlaylist POST from the gui:

 

 

2016-01-24 20:24:09.1077 Info HttpServer: HTTP POST http://000.000.000.1:8096/emby/Playlists?Name=TestEmbyGui&Ids=8917e95272fb6aba425df1d2179a836c&userId=803643a6650847721111a960eeeebc7f. UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
2016-01-24 20:24:09.1119 Info HttpServer: HTTP Response 200 to 000.000.000.2. Time: 4ms. http://000.000.000.1:8096/emby/Playlists?Name=TestEmbyGui&Ids=8917e95272fb6aba425df1d2179a836c&userId=803643a6650847721111a960eeeebc7f
Link to comment
Share on other sites

Redshirt

I'm using the CreatePlaylist method in the Java ApiClient and it's working for me, so the issue must be a missing property in the PlaylistCreationRequest, or some other factor.

 

Looking at your URL's your not specifying the MediaType (Audio or Video). That may be the issue.

Edited by Redshirt
  • Like 1
Link to comment
Share on other sites

nz987tip

When I specify MediaType, i get this error:

 

Error CodeFormatExceptionMessageGuid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

Link to comment
Share on other sites

nz987tip

Sorry - continued:

 

When i don't specify MediaType, I get this error:   No item exists with the supplied Id

 

Do you create playlists using Id's from the Library DB?   If so, how are you handling the GIUDs?    I'm just getting the bytes from the result set into a byte array and convert using Java's UUID.

Link to comment
Share on other sites

There should no handling or guid's client-side. as far as you're concerned it's just a string of arbitrary characters.

Link to comment
Share on other sites

nz987tip

I can't explain the error below ( No item exists with the supplied Id).  

 

[CreatePlaylist: 01/27/2016 02:27:18]: [REQUEST: {Name:embyTestSOAPUI,Ids:5b4e882625803ea3c0daa10a8696ad87,UserId:803643a6650847721111a960eeeebc7f}] System.ArgumentException: No item exists with the supplied Id at MediaBrowser.Server.Implementations.Playlists.PlaylistManager+<CreatePlaylist>c__async0.MoveNext () <0x814714340 + 0x00342> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x8148cc9f0 + 0x00038> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x8148cc630 + 0x00118> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x8148cc560 + 0x000b3> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x807f96030 + 0x00042> in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x80879c540 + 0x0001f> in <filename unknown>:0 at MediaBrowser.Api.PlaylistService+<Post>c__async0.MoveNext () <0x814713740 + 0x0052f> in <filename unknown>:0
 
Querying the table:
 
   select *
    from TypedBaseItems
where guid = X'5b4e882625803ea3c0daa10a8696ad87'
;
 
 
Result:

1 rows returned in 0ms from: select *

from TypedBaseItems

where guid = X'5b4e882625803ea3c0daa10a8696ad87'

;

Link to comment
Share on other sites

Not sure what is going wrong for you but here is my code using the Java ApiClient to create a playlist.  Maybe you can spot something you forgot to do:

                        PlaylistCreationRequest request = new PlaylistCreationRequest();
                        request.setUserId(TvApp.getApplication().getCurrentUser().getId());
                        request.setMediaType("Audio");
                        request.setName(text);
                        request.setItemIdList(getCurrentAudioQueueItemIds());
                        TvApp.getApplication().getApiClient().CreatePlaylist(request, new Response<PlaylistCreationResult>() {
                            @Override
                            public void onResponse(PlaylistCreationResult response) {
                                TvApp.getApplication().showMessage("Playlist Saved", "Audio queue saved as new playlist: "+text);
                                TvApp.getApplication().setLastLibraryChange(Calendar.getInstance());
                            }

                            @Override
                            public void onError(Exception exception) {
                                TvApp.getApplication().getLogger().Debug(exception.toString());
                            }
                        });

Link to comment
Share on other sites

  • 4 weeks later...
nz987tip

I was able to get back into this and get a good response (200) for 21 playlist entries, however the playlist created in Emby was empty.

 

I'm using Apache HTTP client - below is the debug output.  Any thoughts on why the playlist was created, but the 21 entries were not?

 

2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "POST /emby/Playlists HTTP/1.1[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "User-Agent: Mozilla/5.0[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "X-MediaBrowser-Token: ed30b871d7624212aa5559ae59bae843[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "UserId: 803643a6650847721111a960eeeebc7f[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "Client: Java[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "Device: PC[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "DeviceId: 001[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "Version: Windows 10[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "Content-Length: 819[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "Host: 000.000.000.1:8096[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 >> "[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:86 - http-outgoing-0 >> "format=json&MediaType=Audio&Ids=b6003c52f212a260ea51c84289830a22%2C5516c33d854e760d0c2b9c1cb629d5d2%2C58d1a5f05665439a00fe7fa6f10720be%2C351934ce23c0e4b9a5974d3bf1765be9%2Ce348d0c3e367cd7ad3cefe44a684fbbe%2Caa2305d51e7b73e4f8909de91d9ef079%2C68a65c1cb3a523460842696766d5a915%2Ccf10dc7ecffb4de16186c0301e59952b%2C099101746ad728a140a6f433d26058ce%2Cea2ddb002bc82f4801f4870204d9d377%2C9ae8393ff7e7d9b34bb6556e3d63490b%2C6e42496721ddbf47f8a09c5d956402ce%2C7506027a360026f1ca8bc46566954152%2Cb264b70fa6b6b4b5e0a802cc9ad34b2c%2C4da4fc6f27998df6b188d54db0ab528d%2Cf5e31cf295728c174cccb1e14b6d5ad8%2Cab4d49fd4f48928583d48aae42e2fa5e%2Cc7bbcd487e293dff4ecdabdcf6a32e4a%2C7ce145eab6dc556f4878548c3da2bf1b%2C8f066c1cfbce6f40257f064ddb0a7789%2Cc9de2631631d5460920c22e4ab5cd4d5&userId=803643a6650847721111a960eeeebc7f&Name=CreamTest"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "X-UA-Compatible: IE=Edge[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "X-Frame-Options: SAMEORIGIN[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "Vary: Accept-Encoding[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "X-Powered-By: ServiceStack/4.00 Unix/Mono[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "Access-Control-Allow-Origin: *[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "Access-Control-Allow-Headers: Content-Type, Authorization, Range, X-MediaBrowser-Token, X-Emby-Authorization[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "Content-Encoding: deflate[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "Expires: -1[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "Server: Mono-HTTPAPI/1.1[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "Content-Type: text/html[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "Date: Wed, 17 Feb 2016 04:22:51 GMT[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "Content-Length: 3485[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "[\r][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "[0xb5]Z{s[0xdb]6[0x12][0xff][0xfb]2[0x93][0xef][0x0]+iE6[0x12]%J[0x8e]c[0xcb][0xa2]2[0xb6][0xe5][0x8c][0xd3]K[0xd3][0x9b]X[0xbd][0x97][0xe3][0xeb][0x80]$h[0xd2][0xe2]C%![0xd9]n[0x9a][0xef]~[0xbb][0x0]H[0x82][0x94][0x9c]t[0xae][0xd7]q([0x91][0xc0]b_[0xd8][0xfd]a[0x97][0xca]t[0xcf][0xcf]<[0xfe][0xb0]b$[0xe4]I<{[0xfa]d[0x8a][0xdf]$[0xa6][0xe9][0x8d][0xd3]ai]t[0xc4] [0xa3]>~[0xf3][0x88][0xc7]lv[0x96]3[0xca][0xd9][0xdf]b[0xfa][0x10]G[0x5]'[0x97])][0x15]a[0xc6]I[0x16][0x90][0xe1]h`[0xbf][0x1a][0x8c][0x86][0xf6][0x1][0x19][0xee]OF[0xa3][0xc9]K{:[0x90][0xab]`y[0xc2]8[0x5]A|[0xd5]g[0xbf][0xac][0xa3][0x8d][0xd3]9[0xcb]R[0xce]R[0xde]_[0x80][0x6][0x1d][0xe2][0xc9]'[0xa7][0xc3][0xd9]=[0x1f][0xa0]"[0xc7][0xc4][0xb]i^0[0xee][0xac]y[0xd0]?[0x14][0xba][0x14][0xfc]!f[0x4]uV[0x84]^![0x94]<[0xfd]q[0xfe][0xaf][0x1e][0xb9][0xb0][0xe1][0x1a][0xc1]5[0x86]k[0x1f][0xae][0x97]p[0x1d][0xf4][0xc8][0xfc][0x1d]\[0xb][0xb8][0xe6][0xe4][0xd3][0xd3]'[0x84]$4[0xbf][0x89][0xd2][0x9][0x19][0x1e][0xe3][0xd3][0x8a][0xfa]~[0x94][0xde][0x94][0x8f]^[0x16]g[0xf9][0x84]<[0xdb][0xdf][0xdf][0x17][0xcf][0x1](6![0xf6]xu?[0xb0]_[0xae][0xee][0xc9]I[0x1e][0xd1][0xb8]G[0xfe][0xce]r[0x9f][0xa6][0x14][0x4][0xb0]x[0xc3]x[0xe4]Q[0xa0][0xfe][0xfc][0xf4][0xc9][0x85]-e[0xa0]v}[0x1a]G7 [0xc7][0x3][0xc3]X[0xae]q[0x1b][0xed][0x3][0xa3]j[0xa1][0xc6]L0oj5[0x1a][0x2][0xed][0x90][0xd8][0xe2]KL[0xb9][0xd4][[0xde][0xe4][0xd9]:[0xf5]A[0xcd]7[0xa7][0xf8]'[0xc7][0xb3][0xdc]gy[0xdf][0xcd]8[0xcf][0x92][0x9])[0xb2]8[0xf2][0x89][\r][0xcb][0x9e][0x5]A [0xb5]{[0x16][0xa7][0xcb]B*[0xa8][0xa8]y[0xb6]j[0x90][0xfa][0x1][0xfe]}[0x85][0x9f]FT[0xf9][0xb2][0xa9]c[0xa5]>[0xb8]l[[0xe9][0xc0][0xc6]?1[0x1e]G)[0xeb][0x87],[0xba][0x9][0xb9][0xb4][0xf5][0xf8]Q[0xef]U[0xfa][0x9f]J[0xb][0xea][0x8d]#c[0xb1][0xe][0x9][0xdc][0xcc]hM+[0xae]rs[0xd4]Z[0xdc][0x87][0xfe][0x9d][0x12][0x9b]fy[0xa2][0xdc]^[0xee][0xfe][0xf0][0xe0][0xa8]Zr"[0x97]TS[0xe7][0x87]o[0xec]q[0xad][0xa6][0xcf][0xbc],[0xa7]<[0xca]@W0[0x8f][0xe5]hR[0xb5][0xf8][0xad]&OD[0xef]nq%OX[0xd4][0x16]7<[0xdb]-+[0xcd]J1'[0x93]0[0xdb][0xb0]\[0xb][0xbc]/[0xe8]dE[0xae]$[0x4][0xf]eE$ir[0x16][0x3][0xf5][0x86][0x1d][0xcb][0x9]?*V[0x90][0xe1][0x13][0xd2]O[0xb2]_[0xfb]Q*6[0xc9][0xcd][0xee][0xdb][0xd3][0xe5]L[0x9c]yK[0xc9][0xfd];[0x81]%D[0x13][0xd2]"Vd[0x93] [0xca][0xb][0xde][0xf7][0xc2]([0xf6][0xc9][0x8b][0xdf][0xb7]hqr[0xfa][0xee][0xbc][0x11][0xbc][0xe0][0xa3][0x18][0xf0][0x87]M[0xca][0x1b]-n[0x1b][0x1][0xeb]y[0x9e][0xf4]w[0xcc]([0xcc][0xc4],[0xe0][0x8a][0xe7][0xc5]v[0xba][0xaa]Y-[0x82]0][0xf][0xf5][0xd0],B[0xea]gw[0x13][0x91]YB[0x2]^}[0xfb]+[0xb1]~[0x17]F[0x9c][0xf5][0x8b][0x15][0xf5][0xd8]$[0xcd][0xee]r[0xba][0x92]J[0xad][0xf3][0x2][0xb6]z[0x95]E[\r][0x98][0xa8][0xc2][0xd3][0xcd]b[0xbf][0xd4][0xb6]G[0x16]s[0xbc][0x4][0x9e][0xe1][0xd7]\[0x8f][0xaf][0xe8]W&[0xa1][0xaa]f[0x12][0xd0]$[0x8a][0xc1][0x91]%[0xb2] [0x97]y+A[0xe][0xa5]y[0x90]G[0xa5][0x91][0x10]M[0x88]Lq[0xe9][0x12]@[0x9][0xb9]v[0xfe]NEg[0xdb][0x91][0xf3]E[0x13][%[0x16]`[0xfa]+D[0x90][0xc8][0x87][0xb6][0x10][0xfb][0xf0][0xab][0xf0][0x97]Di[0xff].[0xf2]y[0x88][0xe9][[0xa2][0x2][0x6]y[0x10][0xa3][0xdf][0xc3][0xc8][0xf7]Y[0xba]cKAN[0x9c]Q[0xae]=[0x97][0xa1]T[0x6][0xe9]#[0xdb][0x80]&[0xb4][0x8e][0x7][0xd4][0xdd][0x1e]j[0xce][0x9c]H[0xcd]w[0x81][0xb4][0xa2][0xaa][0xe2][0xb6][0x96][0xd6][0xd4]G[0xba][0x10][0xff][0x81][0xbf]H[0xdb]/[0x7][0x1a][0xf7][0x9a]R[0xdb][0xe2][0xc9][0x16][0xcd][0xc5][0x87]v[0xce][0xd4][0xb8][0x80][0xf1][0xf1][0x8e]\|x[0xfa][0xa4]ERk[0xb7]u[0xfc]m;[0xb4]N[0xa8][0x16][0xe7][0x8a][0xad][0x9e]'jI[0xf3][0x88]%D![0xbc]=[0x1c]~SQ[0xdc][0x97];[0xfc]jX!4[0xe8]+[0xb5].[0xe3]i[0xcb][0xc5][0xf5][0x81][0xa3]B[0xac][0xe][0xaf]v[0xc6][0xec]N[0xb]%[0xd4][0x1e][0xfd]_[0xc3][0xaa][0xa1];[0xec][0x18]!_[0xa8]4Fz[0x86][0xb6][0xd4][0xfb]=![0xb4][0xc0]zg[0xb6][0xf8]0[0x89]i[0x9][0xa2][0xb3]]Y][0xa2][0xc6][0xf9][0xc9]\m[0x16][0xb8][0xc8]]F[0x1c]j;[0x80][0xcf][0x82][0xc5][0xcc][0xe3]e[0xc0][0x10][0x89][0xf6];f[0xf0][0xd4][0xf0]Y[0xe1][0xf5][0x88]E[0xb]O!p[0x85]q[0xfd][0xf2][0xa4]zs[0xf2][0xe6]d>[0xd2][0xe8][0x1f][0xa5][0x9c][0xef][0x9f][0xcf][0xcf][0x8e]*[0x4]Vg[0xf2]vtJ[0xc3]s[0xdc][0xd4][0xad]bcX[0x95][0x16]jC[0xa5][0x8f][0xcb]R[0x2][0x9f][0xb4][0x93][0x2]}'3Z[0x9e][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "<[0xa7]) @[0xe][0xb5][0x85]^[0xeb][0xe4]r[0xf1]W[0xe9]D[0xd5]TSU[0xe7]K[0xab]d[0xd2][0xfc][0x87][0x8e];m[0x1c]^[0xb2]J[0xe3][0xf1][0xf8]+*[0x89]-[0xfa]Su*[0x85]>[0xae][0x96][0xd0][0xba][0xd6][0xe9][0x19][0xf4][0x12]w[0xfd][0xdb]"K[0x9b]![0xa1]Q$[0xb4]X[0x96][0xe9]U[0xe5]J[0x15][0xc2]UIC][0x10][0xb8][0xe6]r[0x14][0xa5][0xc8][0xf0][0x10][0x6]6"[0xa5][0x82]$[0x19]F[0xe2][0x91][0xb4]O[0xf1][0xfc][0xc6][0xa5][0xc6][0xb0]'[0xfe][0xac]W[0xa6][0xa0][0xc7][0xc2][0xc8]g[0xf7][0x90][0xba][0xca][0x9f][0xb5][0xee][0xb5][0x19][0x90]2[0xda][0xb0][0xd4][0xfd][0x11][0xf8]h[0xdb]^Wg[\r][[0xd4][0x16])[0xa5][0x9b][0x19][0xd1][0x1f][0xbf],A[0xad]Y[0x4][0xed][0xeb]EP[0x85][0x10][0x2]@+[0x18]lV-APW;;[0xda][0x18][\r][0x91][0xe4]VT[0xde]P[0x0]p1[0xde].L[0xe][0xb7] \[0xeb][0x19][0x9a][0x1e]X[0x9c][0xff]sq[0xf2][0xe1]\[0xd5][0xc2][0xe5]9QYWf[0xf9][0xfe]vm[0xb0][0x89][0x8a][0xc8][0x8d][0xd9]n,m[\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "9[0xfd]i[0xb1][0xf8][0xf1][0xfd][0xce][0xba]e[0xb8][0xa3][0x8f][0xa9][0x8b][0x81][0xad][0xea]g:[0x10][0xb5][0xfd][0xc]1g:(;f[0xec]E[0xe4][0x90][0x1f]mH[0xe4];[0x1d][0xc][0x80][0xce]l:[0x80]g9[0x11][0xda]3[0xbd][0x85][0x9e]F[0xad][0x6]{:[0x88]f[0xe4][0x86][0xa5][0xc][0xaa]y[0xe6][0x13][0xf7][0x81]L[0xa1][0x8b][0xce]Y[0xe0]t[0xb0][0x97].&[0x83][0x1][0xe0][0xf5]&[0xf2]X[0xc1]a[0xff][0xac][0x94][0xf1][0xce][0xec]R[0x8e]\[0xe2][0xc8]t@g[0x4]l[0x9d][0xba][0xb3][0x9d][0xfd][0xb9][0xb][0xda][0x80][0x12][\r]-[0xb1][0xc9][0xc2][0xae][0x9a][0xd4][0xc2]n[0xe9][0x6][0x10],[0x8f]V|[0x82][0xfe][0xfb][0x1e][0xdc]g[0x98][0x9d][0xd9]&bwD[0xf8][0xd2][0xa7][0x9c][0x16][0xd9]:[0xf7][0x18]J[0x14]k[0xdd]Y[0x90]g[0x9][0xc9][0x0]-[0xa2][0x94][0xc6]d[0x9d][0xc7][0x13][0x14][0xd8]`[0x8c]V[0x80][0x11][0xf6][0xd1][0xc8][0xb2][0xf][0xe][0xad][0xa1]5[0x1a][0x8f]&[0x87][0xc3][0xa3][0x83][0x1]K[0xdc][0x87]A[0xe9][0x87][0xe2]ug[0xf6][0xbb]I5[\r][0xa2][0x94]d<[0x84][0xde]([0xc0][0xa6][0x8b][0x17]@[0x1][0xc9][0xc1]Ak;3[0xfc][0xac][0xc4][0xfc][0xaf][0xac][0xee][0x93][0xb8]3[0x83][0x8f]?[0xcc][0xc8]+6[0x9d][0x19]|[0xfc]aF[0xb7][0xc8][0xe8][0xb6]d[0xa4][0xc5]i[0x19][0x1a][0x18][0xd2]24[0x84][0x9c]r[0xb8][0xca])9[0x7]3[0xe1]x[0xb6][0x8][0xa3][0x2]:[0xcb]U[0x96][0xf3][0xa2][0xe][0x12]RF[0x9]P(Z[0x4][0x19]8;([0x84]bu[0xab][0xa6][0xdc]5[0x9c] [0xb0][0x87][0xa9][0x17]G[0xde][0xd2][0xe9][0xf8][0x99]g[0xa1][0xe][0x96][0x7][0xa5]O[0xf1][0x9e]&[0xcc]I[0xd7]q|[0xdc][0x99][0x9d][0xc5]Y[0xc1][0xc8]?[0x0][0x85][0xb2];[0xd8]d[0xb1]N:CY[0xd1]RY[0xbd]pjdc}'c}[0x86]:[0xec][0xdd][0x9][0x9e][0xd6][0xf7][0x97][0x80][0x15][0xdf]~K@[0x85]u[0x2]+[0xad][0xbb][0x1c][0xfa][0x8]c[0x9d][0xc2]1JW[0xcc][0xe8]~3>[0x93][0xcb]H[0x91]{[0x95][0xef][0xe9]-[0xbd][0xb7]<?[0xbd]-,/K[0xc4][0xe3] [0x8e][0xdc]b[0x80][0x1e][0x19]a:[0xda][0xc3][0xd1]h,[0x1f][0xad][0xdb][0xa2][0xf3][0xcd][0xf8][0x1c]8[\r]$+x[0xe8][0x9a][0xe6]T=[0xe9][0xba][0xe9]o[0xc1][0xea][0xec]D[0xff][0xf][0x6]d[0xba]wu6?Y[0x9c]\[0xe1][0x82][\r][0xcd]Qi[0xe2]T[0xaa][0xf7][0x0]QSx[0x96][0x96][0xf5][0xa4][0xaf][0x9f][0xc3]@[0xb0]N=<s[0x8c][0xc8]7[0xe1][0x90][0xcd][0x19]_[0xe7]).[0xb3]n[0x18]?[0x8f][0x19].>}x[0xeb][0xe3][0xfc]1[0xf9]\[0xae]l,[0x85][0xda][0xf1][0xd1][0xb5][0xc5][0xe9][0xc3][0x82][0xde][0xe0][0xb6][0x9]2[0x8d][0x5][0xa3]^[0xa8]s[0x9]Rd[0x2]aI[0xc][0xd4]?r[0x86][0xbd][0x98][0xa5][0xe][0x87][0x98][0xb2][0xe0][0xe6][0x86][0x87][0xc7]$[0x9a][0xc2][0x1d]|[0xbd]xa[0x92][0x0]t[0xee][0x11][0x9c][0xbe][0x8a][0xae][0xe5][\r][0xb2][0x17]U[0xe0]s[0xab][0xcd][0x9d][0xe6]y[0x8f]H[0x11]B[0xb2][0x5][0xbd]n\[0x8d][0x96][0xeb]P0[0x1c] [0x11]?[0xa3][0x10]Z[0xf5]rbp[0xcd]B[0xdc][0x7][0x80]nN[0xf6][0x1c][0xd2]-x[0xe][0xc7]E[0x97][0xbc][0x86]gh[0x9b][0xf1][0xe5]'.6[0xb8][0x5][0x89][0x10]C[0xc7]i[0xc][0x8c]+[0xda][0xff]u[0xd8]?[0xba]6[0x8d][0xab][0x93][0xfe][0xbf][0xaf][0xcd][0xc1]M[0x8f]t[0x9f][0xdb][0xe4][0xf9][0x8][0xb6][0xba]vI[0xb5][0xb8]![0xb9][0xd0]$[0x17]5[0xd3][0x8f]w[0x1f]/[0xbf]CF[0x8f][0xe8]h[0xe1][0xbb][0xd4][0x13]n[0xc]M[0x8b]g?[0xad]V,[0x17]j[0x99][0xe4][0x5][0xcc][0x15]k[0x17][0xf4]6l[0x9c]{[0x97][0xdd][0x95]s[0xa0][0x8a][0xa6][0xce]:[0x8d]~Y[0xb3][0xbf][0xb2][0x87]Bwdb~"[0xe8][0xa6][0xd0][0xf9][0xf4][0xf9]x{[0xbb][0x92][0xdd]{U[0x92]-[0x9][0x84]a[0x2][0x1b]f[0x92]([0x0][0xdb][0x0]E[0x8c][0xa5]i[0x92][0xf0]jy[\r]R[0x96][0xc7][0xa5][0xfe]a[0xad][0xc7][0xb2][0xa5]A[0xa6]4[0xa0][0xce][0xd5][0xf5]q[0x8b]u[0xd6][0xe2]K[0xad][0xd5][0xba][0x8][0xe1][0xb6]bL[0x81][0xb1][0xdc]h[0xee][0xc6][0xc8][0x17][0x98][0xe0][0xd6]Wn[0xdc][0xd0][0x18][0x8c][0x94]5[0x2][0xf2]J[0x88][0xe3][0x10][0x84][0x1c][0xb3]d[0xd1][0xed][0x1e][0x97][0x93]*[0x14][0x4]M7]'.[0xcb][0xbb][0x15][0x1d]<[0x3][0xa7][0xdd][0xb4]*l*Z[0xdc][0x8e][0xc7]h[0xdd],[0x83][0xf2]#[0xad][0x89][0x13][0x88][0xb6].[0xcf][0xd7][0xac][0xb]![0xd7][\r]h\0[0xa9]R9[0xaf]6[0x1][0xc8] [0xc2][0xd1][0x9a][0x9][0xc9][0xdc][)[0xe0][0xb3]f[0xab][0xd4][0xb0][0x8e][0x9a][0xa4]rN[0xe1][0x7][0x9][0x7][0xef]@[0x19]%[0xde]*Z!-BKT|?[0x6]F[0x17][0x1d][0xec][0x80]B3g[0x88][0x8][0xf9][0x8]U[0x0]^[0x83][0x13][0x80][0x15][0x82][0x12]J[0xac][0xd7][0xc4]O[0x2][0xcc][0x13][0xfc][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "[0x93]cM[0x15][0xe9][0x80]Z[0x93]2F[0x87][0xbd][0x3]Sxa0[0x7]N[0x6]&[0x9a][0xd0][0xcd]@[0xc6][0xb0][0x2]m[0x93]j[0xd7][0xac]pZO[0x9b]p[0x9d][0xd0][0x14]*R\[f7[0x12]@[0xb1][0xdc]\)x[0xea]+S[0xa8]v[0x84][0xdc][0x15][0xfe]0[0xf1][0x6][0x8b]`C([0xf2][0xd1]0[0xae][0xfe]c^[0xbf]0?[0x9a][0x3][0x8b][0xdd]3[0xf][0x96]][0xd9][0xd7]"[0x9d]5[0x86]PM[0x1a][\r]`%S(*q[0xfb][0x86][0xdd][0x17]>:[0xa2][0xa5][0x0][0xf8][0xa5][0xb9][0x0][0xb1][0xf4][\r][0xf8][0xf1]_P[0x80][0x8a][0xec][0xed][0xe][0xba][0xf0])[0x18][0xe3][0xdc][0xf]p[0xaa][0x85]b[0xc2][0xde]1+to+%[0x9d][0xff]'[0x88][0xc1][0x9][0xd2][0x98][0xb8][0x80][0xa3][0xbf][0x90]3[0x9d]I[0xa7][0xc1]0J[0xa1][0xc1])[0xb6][0x94]S[0xa9][0xbb][0x85][0xb6][0xcb][0x6][0xda][0xfe][0xf6][0x1b]Y[0xd6][0x11]22[0xc5][0xe4][0xcf]?w[0x9b][0xbc]d[0xcc][0xcb]T[0x16]A[0xed]BDw[0xa7]~<[0xeb][0xaa][0xb7]1[\r]Xja[0x7]P[0xbf][0x10][0xe4][0x9c][0x88][0xda][0xc3][0xe9]Dng[0x86][0xe6][0x89][0x0][[\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "s[0xa1][0x82][0xe0][0xb3][0xa9][0xef][0x8b]q[0x1][0x1d][0x80]d[0xe5][0x8c][0xaf][0xe4][0x94][0x9c][0x6][0x95][0xe4]2[0xeb][0xdd]VB[0xaa]t[0xfd][0xd4][0xc6][0x81][0xab][0xe1][0xb5][0xe][0x1b]h{[0xaa][0x8d]>[0x89]u[0x9b]E[0xa9][0xd1][0x85][0xa3]F[0xe2][0x8a][0x80]i[0xdf]A[0xd8]S[0xf8][0xd0][0x3][0x14][0xaf]Q[0xbe][0xc4][0x1f][0xcd]S[0x9c]Bc%[0x8a]'X[0xd5]G[0x13]#|y[0xdf][0x85][0x1a][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "* [0xd4][0x18][0x8a][0xa9][0xea][0x8e][0x8b]6h[0xca]se[0xa4][0x90]$[0xf0]W[0xe3][0xc][0x7][0xc5][0xe][0xdf][0x87][0xb5][0xbb][0x1][0xb6]P`[0xa8][0x89][0x13][0xb7][0x86]8I[0xa4]p[0xec]a[0xdc][0xed][0xad][0xe0]a[0xdb][0xe1][0xa0][0xb][0xe]K[0xbd]Dw[0x86][0x8b][0x12][0xba]d[0x1f][0xb2][0xbb][0xc2][0x8]{I[0xb9]TL[0xc2]7Z[0xbc]{[0x93][0xb4]mj2h[0xc5]W+[0xb6][0xf2][0xad][0x93]1[0x97]'c[0x8e][0xf6][0xa8][0x17][0xaa][0x95][0xf1][0xa5][0xef]$[0xc3]<[0xbb][0x3][0x8e][0xc9]U~[0xad][0x6][0xb7][0xbc][0xb6]3by[0x1d][0x8e][0xc0][0xa1][0xe]H[0xee]W[0xdc]u[0xf][0xc9][0xb1][0xcf][0xb2]\[0xde]2[0x1a][0xa5]%[0x99][0xcf]b[0xd0][0xe4]S[0xe7][0xad][0xf]y<~[0xe5]yG[0xaf][0xe][0x82]`4[0xa4][0x87][0xee][0xe8][0xf0][0x88][0x1e][0x8d]^z#[0xef][0xc0]?[0x1a][0xed][0x8f][0xed][0xa0]SU4[0xf7]x[0x86]<nt[0xcb][0xf6][0xbe]kB[0xbc][0xaa][0xd9][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "[0x96][0x1d][0x82][0x87][0xd9][0x17][0xe][0x12][0x9f][0x95][0xb4]]q[0x18][0xf4]m[0xc5]"*[0xde][0x9e][0xc3][0xf2]ARDl[0x10]Y[0x0]([0xdc]H[0xe9]&[0xba][0xa1]<[0xcb]-|[0xb3]y[0x2][0xbd]4[0x14]F[0xc0]{o[0x90]A[0x15]D[0xbf]D&[0x8b]G[0xa3]j[0x15]LP[0x1]:[0xf1][0x8b][0xc5][0xf][0xef]@[0x8a]Ho[0xf4][0x84])^[0x81][0x80]q[0xf5][0xb4][0x83][0xcd][0x82]%[0xd3]3[\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "[0x1e]J[0xba]F[0xd4][0xd4]}[0xf4]'[0xb2][0xa3][0xad][0xe9]V=[0x15][0xc0][0x18]2[0x97][0xef]d[0xb1],[0xc3][0xa7][0x0]J[0xf9][0xc2][0x90]h[0xf9][0xf4][0x9][0xae]W=[0x92]^[0x1b][0xb1]*[0xa2][0xd0][0xab][0xc]qB53l#[0xda][0x0][0xb1][0x8d][0xcc][0x82][0x96][0xb]0[0x18][0xa7][0x99][0x5][0xbd][0x8b]*[0xd6]{[0x0]tX[0x12][0xb1][0xb8]VK[0xc5][0xb][0xc6][0x19][0xc]sY[0xcb][0xb][0xc0]9[0x85][0xbd][0x90][0xec]bK[0xbe][0x9]|[0xf]F[0xef][0xa6]Gx^\T[0xe0][0xa4][0x88]t9[0xc0]G[0x8][0x7]B[0xe8]l[0xf0][0x98][0xef][0xe2][0xeb]J[0xac]p[0x8c]rB[0xe][0xbc][0x16][0xd5][0x18]V>Hh*^[0xb2][0xe4]7D[0xac][0x81][0xa0][0x9e][0xd6][0xd9][0xf4]x[0x8][0x1e][0x17]p[0x1a]"[0x1f]V[0x95]r[0xe0][0xd9][0xb0][0xa1][0x82]h-[0xb1][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "[0xd6]~[0x19][0xb9]d[0xb1]ajI[0x19][0xf9][0x85][0x3][0x9a]G[0xbe]%[0x8a][0x9][0x3][0xe0][0x9][0xc4][0xf1][0xb7][0xbe][0x3]3P[0x3][0x80][0x17][0xd5][0xfd][0x8][0xd3][0xf6]/(x[0xf][0xb1][0xf0][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "h[0xae][.P[0x85][0xa8]S[0xcd][[0x5][0xec])[0x83][0xb2][0xbd][0x5][0xce]@[0x0]C^[0x16];X[0xf][0x1b][0xa1]y[0x5]R[0xb0][0xef][0xc1](r[0x1a][[0xa0][0xdf][0xa6][0xd0]-^Fn[0xc]a[0xa9][0xed][0xcc][0x9e][0xee]y[0xf0]M[0xc1][0xf8][0x2][0x81][0xef][0x14]x[0x19][0x82]cO[0xc7][0xb8]Z[0xf9][0xaa][0x8e][0x16]aX[0x1a][0xe0];:?[0xc7][0x11][0x1b][0xf3][0xda][0x9e][0xf4]m%[0x13][0x18]XE[0x96]s[0xa3][0xee][0xc7]zn][0xec]y[0xc9][0xca][0xa0]W`[0xdb]u[0xcf][0x15]_&[0xf9]NTF[0xa5][0xdb][0xbf][0xae][0x9f]in[0x81][0xf4][0xae]E[0xf8][0xb3][0xb3]v[0xbc][0xee]!~`[0xad]![0xa6][0x1b][0xc9].[0xff]CJ[0xc3]X[0xb1]W,Y!^[0x9][0xfa][0xec][0xe][0xe8][0xe7][0xe5][0xdb][0x1]O[0xbc][0xc7]S[0xa9][0x4][0x98][0x15]mTp[0xe2][0x9a][0x6]ou[0xb0][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "[0x90][0x16]?[0x84]Kt[0xd6][0x8e][0x1e][0xc9]_[0xdb]G[0xd5][0xf7][0x9d][0xe1]/?[0x86]`(~O[0x17][0xcf][0xda][0xad][0x8a][0x87]mg[0xd4][0x91]\[[0x8f][0x18]"1[0x6])[0xe4][0x8b][0x8e]z[0xc0][0x2]![0xfc][0xc1][0xdc]5[0xa8][0xd2][0x81]A[0xdf][0x1][0x8c][0xc]@[0x18][0xac][0xe8].K[0xa2][\n]"
2016-02-16 22:22:48 DEBUG wire:72 - http-outgoing-0 << "[0x83][0xc4][0x99][0xc8]b[0xa7]MP[0xa5][0x93]8[0xbd][0x0]C@6|[0x81][0x91]I[0xb6]a'q[0xfc][0x81][0xa6]7[0xc][0xea][0xf0][0x1d][0x83]j[0xed][0xe7]-[0x3]![0x86]6v[0x8f]lFfu[0x1e][0x7][0xf0][0x1c][0x8c][0xe0][0xb2][0x1d][0xad]~[0xdf][0xd8][0x88][0xe][0xa3][0xc6][0xd0][0xa8]n[0xbd] &[0xde][0xd3][0xf7]F`[0xcb]CC=[0x8d][0xe0]x[0xdd][0xd8]N $8[0xc1][0xa8][0xdd][0xa9]m[0xec]F}[0x6]+7[0xf6]c-[0x8c][0xe0]$Z[\r][0xa1][\n]"
2016-02-16 22:22:48 DEBUG wire:86 - http-outgoing-0 << "[0xf0][0x93][0xf][0x9a][0x12][0x92][0x1d][0x8c][0x94])2[0xd4]+[0x12][0x98][0x9d][0xc1]$ [0xa1][\r]0[0xd8][0xb7][0xcb][0xdd][0x1e][0xc][0xc8][0xf5][0xb5]x[0x8d]W[0xbd]=[0x82]:I[0xbe][0x93][0x9e][0x8a][0xff]b5[0xfb]/"
2016-02-16 22:22:48 DEBUG headers:124 - http-outgoing-0 << HTTP/1.1 200 OK
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << X-UA-Compatible: IE=Edge
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << X-Frame-Options: SAMEORIGIN
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << Vary: Accept-Encoding
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << X-Powered-By: ServiceStack/4.00 Unix/Mono
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << Access-Control-Allow-Origin: *
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << Access-Control-Allow-Headers: Content-Type, Authorization, Range, X-MediaBrowser-Token, X-Emby-Authorization
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << Content-Encoding: deflate
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << Expires: -1
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << Server: Mono-HTTPAPI/1.1
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << Content-Type: text/html
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << Date: Wed, 17 Feb 2016 04:22:51 GMT
2016-02-16 22:22:48 DEBUG headers:127 - http-outgoing-0 << Content-Length: 3485
2016-02-16 22:22:48 DEBUG MainClientExec:284 - Connection can be kept alive indefinitely
Link to comment
Share on other sites

I'm sorry, if you want to use this then you're going to have to help out by comparing the requests and responses to the javascript version that is used in the web client. It should not be that difficult using the chrome debugger. Or if you're flexible on languages, then consider the javascript version. I just don't have time to look into this myself, at least, not until our own apps need to use those methods and we run into the issue ourselves.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...