Jump to content

Export movie list?


Apotheosis
Go to solution Solved by Tikuf,

Recommended Posts

Apotheosis

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

Link to comment
Share on other sites

  • Solution
Tikuf

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
Link to comment
Share on other sites

That worked. Thanks.

 

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

 

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

Link to comment
Share on other sites

Latchmor

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

Link to comment
Share on other sites

Koleckai Silvestri

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
Link to comment
Share on other sites

Latchmor

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
Link to comment
Share on other sites

Apotheosis

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

Link to comment
Share on other sites

  • 4 weeks later...

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
Link to comment
Share on other sites

Koleckai Silvestri

 

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 2 months later...
  • 7 years later...
Jinroh

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.

Link to comment
Share on other sites

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

 

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