Jump to content

Test - MDB List to Collections


Recommended Posts

bakes82
Posted

This follows the same functionality as the Trakt version expect its for MDBLists (Movies - mdblist.com)  If you are using public lists I dont believe you need an api key, if you use private lists, I believe you do, this could use extra testing.  Otherwise logic and functionality is the same, I just swapped out the trakt api piece for the mdblist api.

@rbjtech@shorty1483@zerodayz

 

2024.07.07.1 • Refactored code to match trakt version

Emby.MDBListCollections.dll

  • Like 5
akacharos
Posted

Thanks for the plugin, brilliant idea!
However, it's not working for me :(.

It says  NOT found Item although many of the content is available in the libraries
Log shows 

2024-07-08 01:45:49.709 Info MDBListCollectionsCreateCollectionsTask: Getting list https://mdblist.com/lists/garycrawfordgc/bbc-shows from MDBList.com

2024-07-08 01:45:50.097 Info MDBListCollectionsCreateCollectionsTask: Count of MDB list items = 268

2024-07-08 01:45:50.098 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item 430061

2024-07-08 01:45:50.098 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item 434451

2024-07-08 01:45:50.098 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item 449991

2024-07-08 01:45:50.098 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item 427633

2024-07-08 01:45:50.098 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item 445992

2024-07-08 01:48:08.798 Info TaskManager: Executing Create Collections From MDB Lists

2024-07-08 01:48:08.798 Info Server: http/1.1 Response 204 to host2. Time: 1ms. POST http://host1/emby/ScheduledTasks/Running/b4babfc84b625c85d9262a3a0b18edef?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=26434bb4-eaf3-4396-8912-0c445d4cda79&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us

2024-07-08 01:48:08.802 Info MDBListCollectionsCreateCollectionsTask: CollectionId: 0

2024-07-08 01:48:08.805 Error MDBListCollectionsCreateCollectionsTask: Error on collection Outer Space

*** Error Report ***

Version: 4.8.8.0

Command line: C:\Users\***\AppData\Roaming\Emby-Server\system\EmbyServer.dll

Operating system: Microsoft Windows 10.0.19045

Framework: .NET 6.0.30

OS/Process: x64/x64

Runtime: C:/Users/***/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll

Processor count: 36

Data path: C:\Users\***\AppData\Roaming\Emby-Server\programdata

Application path: C:\Users\***\AppData\Roaming\Emby-Server\system

System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.

at Emby.MDBListCollections.ScheduledTasks.CreateCollectionsTask.DeleteCollectionItems(MDBCollectionEO collection)

at Emby.MDBListCollections.ScheduledTasks.CreateCollectionsTask.ProcessCollection(MDBCollectionEO collection, PluginUIOptions pluginUiOptions, MdbListApi mdbListApi, User adminUser)

at Emby.MDBListCollections.ScheduledTasks.CreateCollectionsTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)

Source: Emby.MDBListCollections

TargetSite: Void DeleteCollectionItems(Emby.MDBListCollections.Models.MDBCollectionEO)

2024-07-08 01:48:08.806 Info TaskManager: Create Collections From MDB Lists Completed after 0 minute(s) and 0 seconds

2024-07-08 01:48:12.273 Info Server: http/1.1 POST http://host1/emby/ScheduledTasks/Running/b4babfc84b625c85d9262a3a0b18edef?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=26434bb4-eaf3-4396-8912-0c445d4cda79&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0

2024-07-08 01:48:12.274 Info TaskManager: Executing Create Collections From MDB Lists

2024-07-08 01:48:12.274 Info Server: http/1.1 Response 204 to host2. Time: 1ms. POST http://host1/emby/ScheduledTasks/Running/b4babfc84b625c85d9262a3a0b18edef?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=26434bb4-eaf3-4396-8912-0c445d4cda79&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us

2024-07-08 01:48:12.276 Info MDBListCollectionsCreateCollectionsTask: CollectionId: 0

2024-07-08 01:48:12.277 Error MDBListCollectionsCreateCollectionsTask: Error on collection Outer Space

 

bakes82
Posted
1 hour ago, akacharos said:

Thanks for the plugin, brilliant idea!
However, it's not working for me :(.

It says  NOT found Item although many of the content is available in the libraries
Log shows 

2024-07-08 01:45:49.709 Info MDBListCollectionsCreateCollectionsTask: Getting list https://mdblist.com/lists/garycrawfordgc/bbc-shows from MDBList.com

2024-07-08 01:45:50.097 Info MDBListCollectionsCreateCollectionsTask: Count of MDB list items = 268

2024-07-08 01:45:50.098 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item 430061

2024-07-08 01:45:50.098 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item 434451

2024-07-08 01:45:50.098 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item 449991

2024-07-08 01:45:50.098 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item 427633

2024-07-08 01:45:50.098 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item 445992

2024-07-08 01:48:08.798 Info TaskManager: Executing Create Collections From MDB Lists

2024-07-08 01:48:08.798 Info Server: http/1.1 Response 204 to host2. Time: 1ms. POST http://host1/emby/ScheduledTasks/Running/b4babfc84b625c85d9262a3a0b18edef?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=26434bb4-eaf3-4396-8912-0c445d4cda79&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us

2024-07-08 01:48:08.802 Info MDBListCollectionsCreateCollectionsTask: CollectionId: 0

2024-07-08 01:48:08.805 Error MDBListCollectionsCreateCollectionsTask: Error on collection Outer Space

*** Error Report ***

Version: 4.8.8.0

Command line: C:\Users\***\AppData\Roaming\Emby-Server\system\EmbyServer.dll

Operating system: Microsoft Windows 10.0.19045

Framework: .NET 6.0.30

OS/Process: x64/x64

Runtime: C:/Users/***/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll

Processor count: 36

Data path: C:\Users\***\AppData\Roaming\Emby-Server\programdata

Application path: C:\Users\***\AppData\Roaming\Emby-Server\system

System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.

at Emby.MDBListCollections.ScheduledTasks.CreateCollectionsTask.DeleteCollectionItems(MDBCollectionEO collection)

at Emby.MDBListCollections.ScheduledTasks.CreateCollectionsTask.ProcessCollection(MDBCollectionEO collection, PluginUIOptions pluginUiOptions, MdbListApi mdbListApi, User adminUser)

at Emby.MDBListCollections.ScheduledTasks.CreateCollectionsTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)

Source: Emby.MDBListCollections

TargetSite: Void DeleteCollectionItems(Emby.MDBListCollections.Models.MDBCollectionEO)

2024-07-08 01:48:08.806 Info TaskManager: Create Collections From MDB Lists Completed after 0 minute(s) and 0 seconds

2024-07-08 01:48:12.273 Info Server: http/1.1 POST http://host1/emby/ScheduledTasks/Running/b4babfc84b625c85d9262a3a0b18edef?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=26434bb4-eaf3-4396-8912-0c445d4cda79&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0

2024-07-08 01:48:12.274 Info TaskManager: Executing Create Collections From MDB Lists

2024-07-08 01:48:12.274 Info Server: http/1.1 Response 204 to host2. Time: 1ms. POST http://host1/emby/ScheduledTasks/Running/b4babfc84b625c85d9262a3a0b18edef?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=26434bb4-eaf3-4396-8912-0c445d4cda79&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us

2024-07-08 01:48:12.276 Info MDBListCollectionsCreateCollectionsTask: CollectionId: 0

2024-07-08 01:48:12.277 Error MDBListCollectionsCreateCollectionsTask: Error on collection Outer Space

 

Whats the config look like? I assume you selected Series and a library that contains Series?  Also if you look at the meta for the show "A Good Girl's Guide to Murder" it has the tvdbid of 430061?

 

For the Out Space error, did it make a collection but then did you delete it?

akacharos
Posted

My bad for pasting the log with the wrong selector. Here's the movie one:

2024-07-08 04:00:43.148 Info TaskManager: Executing Create Collections From MDB Lists

2024-07-08 04:00:43.148 Info Server: http/1.1 Response 204 to host2. Time: 1ms. POST http://host1/emby/ScheduledTasks/Running/b4babfc84b625c85d9262a3a0b18edef?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=26434bb4-eaf3-4396-8912-0c445d4cda79&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret4_x&X-Emby-Language=en-us

2024-07-08 04:00:43.150 Info MDBListCollectionsCreateCollectionsTask: Getting list https://mdblist.com/lists/hdlists/outer-space-space-exploration-movies from MDBList.com

2024-07-08 04:00:43.500 Info MDBListCollectionsCreateCollectionsTask: Count of MDB list items = 96

.....

2024-07-08 04:00:43.501 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item tt0047947

2024-07-08 04:00:43.501 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item tt0042393

2024-07-08 04:00:43.501 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item tt0042897

---

2024-07-08 04:00:43.504 Info TaskManager: Create Collections From MDB Lists Completed after 0 minute(s) and 0 seconds

image.png.2ecdde7b56dd34ed510d47254a5ff22a.png

bakes82
Posted
9 minutes ago, akacharos said:

My bad for pasting the log with the wrong selector. Here's the movie one:

2024-07-08 04:00:43.148 Info TaskManager: Executing Create Collections From MDB Lists

2024-07-08 04:00:43.148 Info Server: http/1.1 Response 204 to host2. Time: 1ms. POST http://host1/emby/ScheduledTasks/Running/b4babfc84b625c85d9262a3a0b18edef?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=26434bb4-eaf3-4396-8912-0c445d4cda79&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret4_x&X-Emby-Language=en-us

2024-07-08 04:00:43.150 Info MDBListCollectionsCreateCollectionsTask: Getting list https://mdblist.com/lists/hdlists/outer-space-space-exploration-movies from MDBList.com

2024-07-08 04:00:43.500 Info MDBListCollectionsCreateCollectionsTask: Count of MDB list items = 96

.....

2024-07-08 04:00:43.501 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item tt0047947

2024-07-08 04:00:43.501 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item tt0042393

2024-07-08 04:00:43.501 Info MDBListCollectionsCreateCollectionsTask: NOT Found Item tt0042897

---

2024-07-08 04:00:43.504 Info TaskManager: Create Collections From MDB Lists Completed after 0 minute(s) and 0 seconds

image.png.2ecdde7b56dd34ed510d47254a5ff22a.png

Change the "Library to add collection to" from "Collections" to whatever library has the Movies  or Series: It then creates a collection in that library, which also shows on the left nav bar also.  I guess I can filter out the "Collections" from that list.
image.thumb.png.98edbc8a009050b85db6d062b4a863f9.png

  • Like 1
akacharos
Posted

oh , now I grasp the "Library to add collection to" selection, got it 👍

Do you think it's possible to make this a multi-selector?  That is to search from multiple libraries to match Items of the MDB List.

bakes82
Posted

Why wouldn’t you have those items in the same library?

Posted

Also here, working well now. Thanks!

akacharos
Posted
On 7/8/2024 at 5:00 AM, bakes82 said:

Why wouldn’t you have those items in the same library?

I have a library for English speaking movies and another one for foreign films.

  • 4 weeks later...
Posted
This version of the plugin is no longer supported. Please update to the latest version. at Emby.MDBListCollections.ScheduledTasks.CreateCollectionsTask.CheckPluginExpiration() at Emby.MDBListCollections.ScheduledTasks.CreateCollectionsTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

Error with latest plugin version (same as with the Trakt Plugin). Server 4.8.8.0.

@LukeIs this a familiar error message? Does this need to be fixed on server or on the plugin side?

  • 3 weeks later...
dsmitty166
Posted
On 8/13/2024 at 3:49 PM, shorty1483 said:
This version of the plugin is no longer supported. Please update to the latest version. at Emby.MDBListCollections.ScheduledTasks.CreateCollectionsTask.CheckPluginExpiration() at Emby.MDBListCollections.ScheduledTasks.CreateCollectionsTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

Error with latest plugin version (same as with the Trakt Plugin). Server 4.8.8.0.

@LukeIs this a familiar error message? Does this need to be fixed on server or on the plugin side?

This is a plugin issue. The developer set it to expire. 

rbjtech
Posted

Use - 

 

 

  • Like 1
  • 6 months later...
Posted
On 7/7/2024 at 6:54 AM, bakes82 said:

This follows the same functionality as the Trakt version expect its for MDBLists (Movies - mdblist.com)  If you are using public lists I dont believe you need an api key, if you use private lists, I believe you do, this could use extra testing.  Otherwise logic and functionality is the same, I just swapped out the trakt api piece for the mdblist api.

@rbjtech@shorty1483@zerodayz

 

2024.07.07.1 • Refactored code to match trakt version

Emby.MDBListCollections.dll 94 kB · 14 downloads

Hello bro why you setup this to expire this plugin not working anymore :(

bakes82
Posted
2 hours ago, dustart said:

Hello bro why you setup this to expire this plugin not working anymore :(

Simple to not give it out for free….. there is some other guy selling a version for a few $ a month that’s semi comparable.

  • Disagree 1
  • Agree 1
  • 4 months later...
bakes82
Posted

I made some updates like active periods for "holiday" collections, custom images, and better pretty reporting.
With no active license it will still generate the report of what media would have been added to the collection.

You can see samples/readme here:

https://github.com/bakes82/Emby.MDBListCollections

DLL Attached.

Im looking for a couple users on 4.9 to test, Ill have to generate and DM activation keys. @rbjtechinterested?

Emby.MDBListCollections.dll

Posted

What's the licence price?

bakes82
Posted
5 hours ago, sh0rty said:

What's the licence price?

Dont know yet but if you look at https://acdb.tv its 2-5 per month for a max of 120 collections, so thats 60 per year and you need to manage outside of emby. Im probably thinking 2-3 per month all in emby with unlimited collections and then a discounted yearly plan ex 20, but mine will be per emby server (most people dont have more than 1). I also dont have the overhead of having to manage web infrastructure.  I also have the exact same plugin but using Trakt lists, so I can probably do some kind of bundle pricing just need to check out what I need to do for that in the payment/licensing system, but thats all non plugin related.

  • Like 1
chander421
Posted

Best movies list i know are from letterboxd... Any plan about it?

bakes82
Posted
9 hours ago, chander421 said:

Best movies list i know are from letterboxd... Any plan about it?

It can technically be done via scraping since they dont have an API, initial runs and cache refreshes would take longer Ideally would want API access but per their site "Access to the Letterboxd API is available by request only. If you’d like to be considered for access, please email details of your intended use to api@letterboxd.com. Please include the title of your app or project clearly in the subject line, and note that while we read all applications, we are unable to individually reply, or to guarantee access. At this time we are not granting access for data-analysis, visualization or recommendation projects, for LLM or GPT-related use, for private or personal projects, or for any usage that recreates current or planned features of our paid subscription tiers."

{
  "43015": {
    "TmdbId": 14537,
    "ImdbId": "tt0056058",
    "LastUpdated": "2025-07-30T18:04:12.4843207Z",
    "Url": "https://letterboxd.com/film/harakiri/"
  },
  "51700": {
    "TmdbId": 389,
    "ImdbId": "tt0050083",
    "LastUpdated": "2025-07-30T18:04:12.8015802Z",
    "Url": "https://letterboxd.com/film/12-angry-men/"
  },
}

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