Project Nsx Library Manager

  • Thread starter Thread starter ivaano
  • Start date Start date
  • Views Views 15,803
  • Replies Replies 62
  • Likes Likes 25
is it possible to add multiple libraries? i have several drives that id like to add instead of just one?
You can create a new database for each library, but you will need to close and open the app specifying which library you want to use.
open your config.json file and change this setting
"NsxLibraryDbConnection": "Data Source=N:\\Tools\\nsx-library-manager-win-x64-v0.4.1.0\\data\\nsxLibrary.db",
to
"NsxLibraryDbConnection": "Data Source=N:\\Tools\\nsx-library-manager-win-x64-v0.4.1.0\\data\\anotherlibrary.db",

Open the app again and the new db should be created, probably there will be a warning because the security token will be different from what is in your browser, but that will only reset your cookie settings, to go back to your previous library, close the app revert your config and open again, you can have as many databases as you want.
 
You can create a new database for each library, but you will need to close and open the app specifying which library you want to use.
open your config.json file and change this setting
"NsxLibraryDbConnection": "Data Source=N:\\Tools\\nsx-library-manager-win-x64-v0.4.1.0\\data\\nsxLibrary.db",
to
"NsxLibraryDbConnection": "Data Source=N:\\Tools\\nsx-library-manager-win-x64-v0.4.1.0\\data\\anotherlibrary.db",

Open the app again and the new db should be created, probably there will be a warning because the security token will be different from what is in your browser, but that will only reset your cookie settings, to go back to your previous library, close the app revert your config and open again, you can have as many databases as you want.

Thank you so much for the reply! I was actually able to accomplish this using shortcuts directly to the other drives and it worked out perfectly! I appreciate the other solution as well!

On a separate note, is there a setting to only display titles with missing the most recent update rather than every update that is missing? For example, if there is a title and the most recent update is set for "Owned = Yes" then ignore it and remove it from the list. As of right now if a title is missing ANY update, it comes up on the list. So titles are listed there because it's missing the first 2-3 updates but the most recent is present. I hope that makes sense.

Love the tool and appreciate everything you've done, its an amazing library and keeps things super organized! Thanks!
 
Thank you so much for the reply! I was actually able to accomplish this using shortcuts directly to the other drives and it worked out perfectly! I appreciate the other solution as well!

On a separate note, is there a setting to only display titles with missing the most recent update rather than every update that is missing? For example, if there is a title and the most recent update is set for "Owned = Yes" then ignore it and remove it from the list. As of right now if a title is missing ANY update, it comes up on the list. So titles are listed there because it's missing the first 2-3 updates but the most recent is present. I hope that makes sense.

Love the tool and appreciate everything you've done, its an amazing library and keeps things super organized! Thanks!
Are you referring to the "Missing Updates" page?, because it should work as you describe, titles will show only if the most recent update is missing, however I think there is a bug when the library is refreshed and not reloaded, I need to check, because I saw some discrepancies right now, let me know if this is the page you were referring.
 
Are you referring to the "Missing Updates" page?, because it should work as you describe, titles will show only if the most recent update is missing, however I think there is a bug when the library is refreshed and not reloaded, I need to check, because I saw some discrepancies right now, let me know if this is the page you were referring.

Hello! Yes this is the page I am referring to, for some reason it is displaying all titles if I am missing any update for that title not just the most recent which is basically all of them haha excluding any titles without any update of course. thanks for the reply!
 
Any instruction for install into synology docker container manager?
you need to pull the image from ghcr, check this stackoverflow for instructions on how to pull images from ghcr,

add ghcr to dsm

other than that the instructions of the volumes and ports you need to expose are on the readme file

  • To run the container from the ghcr registry you need to mount the library folder, for example:
    • docker run --name nsxlibrarymanager -p 8080:8080 --mount type=bind,source=/home/ivan/roms/library,target=/app/library ghcr.io/ivaano/nsxlibrarymanager:latest
  • additionally you can also mount the following optional folders:
    • renamer (used to put the files you want to rename that are not in the library) --mount type=bind,source=/home/ivan/dumps,target=/app/renamer/in
    • backup (used to move titles when removing duplicates) --mount type=bind,source=/home/ivan/backup,target=/app/backup
    • config (used to store app configuration) --mount type=bind,source=/home/ivan/config,target=/app/config
    • data (used to store app databases) --mount type=bind,source=/home/ivan/data,target=/app/data
 
Hello. Thank you very much for your work. Please help me, how to add my games folder?
On settings page click the button "Add new Library Path", then put the absolute path to your library, select Recursive if you want and you can also select a collection if you want the titles from that location to be added to a collection.

If you are running this on a container, there is only one exposed path by default "/app/library", if you want to add multiple paths to your container you need to mount those volumes
 
1.PNG
I added keys and specified the path D:\Switch\Games\. I also checked the recursive option. But the games in the directory are still not displayed. The games are in folders, each with its own name.
warn: Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer[100]
Unhandled exception rendering component: A task was canceled.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at Microsoft.AspNetCore.Components.Routing.NavigationLock.System.IAsyncDisposable.DisposeAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.<ProcessDisposalQueueInExistingBatch>g__GetHandledAsynchronousDisposalErrorsTask|79_0(Task result)
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
Unhandled exception in circuit 'iLfgTd0NyUhktsIvtxmQLTwCvf1yoF8Qyr59vZAFZaw'.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at Microsoft.AspNetCore.Components.Routing.NavigationLock.System.IAsyncDisposable.DisposeAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.<ProcessDisposalQueueInExistingBatch>g__GetHandledAsynchronousDisposalErrorsTask|79_0(Task result)
 
Last edited by SergeyIgnat,
I added keys and specified the path D:\Switch\Games\. I also checked the recursive option. But the games in the directory are still not displayed. The games are in folders, each with its own name.
warn: Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer[100]
Unhandled exception rendering component: A task was canceled.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at Microsoft.AspNetCore.Components.Routing.NavigationLock.System.IAsyncDisposable.DisposeAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.<ProcessDisposalQueueInExistingBatch>g__GetHandledAsynchronousDisposalErrorsTask|79_0(Task result)
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
Unhandled exception in circuit 'iLfgTd0NyUhktsIvtxmQLTwCvf1yoF8Qyr59vZAFZaw'.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at Microsoft.AspNetCore.Components.Routing.NavigationLock.System.IAsyncDisposable.DisposeAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.<ProcessDisposalQueueInExistingBatch>g__GetHandledAsynchronousDisposalErrorsTask|79_0(Task result)
That is an error on the frontend, and I'm not sure what Task was cancelled, what page did you see this error was it settings or was it the library?, did you click "Save Configuration" button in settings?, you can change the debug level in your appsettings, change it to Debug to see if you get more insightful info on what the problem is
 
Everything was simple. After saving the configuration, I pressed the refresh library button. And everything worked. Just in case, I installed .NET Runtime 8 and ASP.NET Core Runtime 8.
 
Everything was simple. After saving the configuration, I pressed the refresh library button. And everything worked. Just in case, I installed .NET Runtime 8 and ASP.NET Core Runtime 8.
Great, the exe already contains the .net framework thats why is so heavy but I only tested it on a machine with no sdk installed on linux not windows, but I'm glad it worked for you.
 
The refresh button doesn’t do anything, but it ends up breaking my database—so I always stick to using the red one. Also, a useful update could be to disable the warning about missing DLCs or updates until there’s an actual change in their metadata. That way, you can safely ignore the warning and still be notified when something changes. This would be especially helpful for games like Smash Bros., which currently have placeholder DLCs that aren’t available for download yet.
 
would you ever considering merging ownfoil or something similiar into this?
It seems like it has alot of the right bits and pieces to become a self-hosted tinfoil shop replacement. Ownfoil development has slowed down.

Thanks for all your work and we appreciate you!
 
would you ever considering merging ownfoil or something similiar into this?
It seems like it has alot of the right bits and pieces to become a self-hosted tinfoil shop replacement. Ownfoil development has slowed down.

Thanks for all your work and we appreciate you!
 
I loved your project. It was my lifesaver when it came to organizing my library. Without it, I would have wasted a lot of time. Just one thing: I notice that sometimes titledb.db is 0kb, probably when it's unavailable on the source server. Is there an alternative server to download it from besides hangover6674?
 

Site & Scene News

Popular threads in this forum