Jump to content

Export movie list?


Go to solution Solved by Tikuf,

Recommended Posts

Apotheosis
Posted

Hi All,

 

Does anyone know of a way to export your list of movies from MB? I used to use My Movies collection and that would give me a funky html page with cover art etc. I'm not too concerned about this, a text list would suffice?

 

Thanks

  • Solution
Posted

Or you could use the mb api to get a list of all the movies (and details)

http://localhost:8096/mediabrowser/Users/[put-the-user-id-in-here]/Items?SortBy=SortName&SortOrder=Ascending&IncludeItemTypes=Movie&Recursive=true&StartIndex=0

your user id can be found in the address bar of the browser when you go to users and click on your user name (the long string after the userId= )

  • Like 2
Posted

That worked. Thanks.

 

Using a hash isn't very intuitive but it works.

 

It's not really designed for public consumption :).

Posted

Yeah I realised that after I ran it. There's a bit too much info on the page. However, I don't need it anyway, just trying it out!

Cheers

Latch

Koleckai Silvestri
Posted (edited)

Or you could use the mb api to get a list of all the movies (and details)

http://localhost:8096/mediabrowser/Users/[put-the-user-id-in-here]/Items?SortBy=SortName&SortOrder=Ascending&IncludeItemTypes=Movie&Recursive=true&StartIndex=0

your user id can be found in the address bar of the browser when you go to users and click on your user name (the long string after the userId= )

 

I get the following error:

http://localhost:8096/mediabrowser/Users/WayneFlix/Items?SortBy=SortName&SortOrder=Ascending&IncludeItemTypes=Movie&Recursive=true&StartIndex=0
 
Snapshot of GetItems generated by ServiceStack on 1/9/2014 6:53:05 PM
view json datasource from original url: http://localhost:8096/mediabrowser/Users/WayneFlix/Items?SortBy=SortName&SortOrder=Ascending&IncludeItemTypes=Movie&Recursive=true&StartIndex=0& in other formats: json xml csv jsv
Response Status
Error CodeRequestBindingException 
Message
Unable to bind request 
Stack Trace at ServiceStack.Host.RestHandler.GetRequest(IRequest httpReq, IRestPath restPath) 
at ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)
 
{"ResponseStatus":{"ErrorCode":"RequestBindingException","Message":"Unable to bind request","StackTrace":"   at ServiceStack.Host.RestHandler.GetRequest(IRequest httpReq, IRestPath restPath)\r\n   at ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)"}}
Edited by Wayne Luke
Posted (edited)

Instead of WayneFlix go to the dashboard and click on your username under Users and you'll see your userid in the address bar.

 

Enter that (without the [ ])

 

Cheers

Edited by Latchmor
Koleckai Silvestri
Posted

That worked. Thanks.

 

Using a hash isn't very intuitive but it works.

Posted

Or you could use the mb api to get a list of all the movies (and details)

http://localhost:8096/mediabrowser/Users/[put-the-user-id-in-here]/Items?SortBy=SortName&SortOrder=Ascending&IncludeItemTypes=Movie&Recursive=true&StartIndex=0

your user id can be found in the address bar of the browser when you go to users and click on your user name (the long string after the userId= )

Works for me, thanks gives me what I need. It would be nice to have a way to export a list with coverart but no biggie

  • 4 weeks later...
Posted

I tried the api with  http://localhost:8096/mediabrowser/Users/MediaCenter/Items?SortBy=SortName&SortOrder=Ascending&IncludeItemTypes=Movie&Recursive=true&StartIndex=0

but gets the error:

Response Status Error Code RequestBindingException Message Unable to bind request Stack Trace en ServiceStack.Host.RestHandler.GetRequest(IRequest httpReq, IRestPath restPath) en ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)   Any idea about what it's wrong? Thanks in advance
Koleckai Silvestri
Posted

 

I tried the api with  http://localhost:8096/mediabrowser/Users/MediaCenter/Items?SortBy=SortName&SortOrder=Ascending&IncludeItemTypes=Movie&Recursive=true&StartIndex=0

but gets the error:

Response Status Error Code RequestBindingException Message Unable to bind request Stack Trace en ServiceStack.Host.RestHandler.GetRequest(IRequest httpReq, IRestPath restPath) en ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)   Any idea about what it's wrong? Thanks in advance

 

 

You're missing a userid. See post #4 and #5 above...

  • Like 1
Posted

The user id you entered is a user NAME not a user ID.  See Latchmor's post from above:

 

Instead of WayneFlix go to the dashboard and click on your username under Users and you'll see your userid in the address bar.

 

Enter that (without the [ ])

 

Cheers

  • Like 1
Posted

Thanks a lot. It works now with the ID.

Posted

Oh nice.  I been looking for this info

  • 2 months later...
  • 7 years later...
Posted

Very old topic, but are this API still avaible ?
I try with UserID but i get

Access token is invalid or expired.

whereas i'm logged into another tab in same browser.

Happy2Play
Posted
14 minutes ago, Jinroh said:

Very old topic, but are this API still avaible ?
I try with UserID but i get

Access token is invalid or expired.

whereas i'm logged into another tab in same browser.

Yes things have changes a little here with more security.  You can get to the api via the link at the bottom of the dashboard but can be problematic with current "CORS" requirements.

Via Settings-Api Keys generate your key to use.  Same parameters as above

http://localhost:8096/emby/Users/{USERID}/Items?StartIndex=0&Recursive=true&SortOrder=Ascending&IncludeItemTypes=Movie&SortBy=SortName&api_key={APIKEY}

 

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