bwarthen 13 Posted September 13, 2024 Posted September 13, 2024 I've put together an plugin that will libraries and stream files for movies or shows that you've watched. What does it do? It builds folders, images, and stream files in the location you choose. If you're libraries contain stream files already it will just make a copy of those in the new location. It will delete the files and folders that roll off the watched list. Things to keep in mind: This will create folders based off all users watched history. So if you have multiple users there could be several folder structures created but it will not duplicate folder structures. This plugin allows you to choose between Movies, TV Shows or a mixture of both. You should do mixed content on it's own not with movies and tv shows also supplied. You will need to generate an emby api key for the application and store it in the settings. The clean All Libraries and Folders will delete all the stream files and folders this application creates in the location supplied in the configurations and recreate. This plugin will update as you watch items on the Emby server. This is not immediate as it takes time to run through and create the libraries and scan them. Emby.WatchedSuggestions.dll 3
kjhedges 67 Posted November 1, 2024 Posted November 1, 2024 I like the idea of this plugin. I did install the plugin, and tried to set it up, but somewhere along the lines, I lost the full dashboard contents and could not do anything in dashboard other than basic app config. I removed the plugin and restarted and dashboard came back. I will try this plugin again
bwarthen 13 Posted November 1, 2024 Author Posted November 1, 2024 The plugin can cause the dashboard to be slow to load while its working. It builds out the new libraries and triggers a library scan on them. You will see this behavior right after watching something to the end and on reboot of your server or initial install. Larger libraries can take longer.
kjhedges 67 Posted November 1, 2024 Posted November 1, 2024 I shall continue trying out the plugin. I do like the idea. I do indeed have a very large library with some 22 Users so I expect a some slow behavior. I will setup just before bedtime for me then it can run all night with what it needs to do. I am on Linux with my server, so Im not sure if permission might be an issue at all.
kjhedges 67 Posted November 2, 2024 Posted November 2, 2024 I tried this plugin again, But I appear to have some issue with where I select Movie Libraries Location The items that the plugin is creating though do not reside in that folder. So the created Library does not show any content. I also see in the Logs this line for every media item Error App: One or more errors occurred. (Access to the path '/opt/emby-server 'medianame' is denied.) 1 example Error App: One or more errors occurred. (Access to the path '/opt/emby-server\Dead Men Are Dangerous (1939)' is denied.)
mickle026 650 Posted November 2, 2024 Posted November 2, 2024 2 hours ago, kjhedges said: /opt/emby-server\Dead Men Are Dangerous (1939) / and \ in the same path. Suggestion: Programmer needs to use C# Path.Combine() from System.IO , rather than +"\" or +"/" when making paths in order to support all OS's.
filzituero 3 Posted November 3, 2024 Posted November 3, 2024 Hi, Is it possible to create a version of the plugin that generates metadata in French and changes the library name from "Because You Watched" to "Parce que vous avez regardé"? The plugin is amazing, by the way. Great job!
bwarthen 13 Posted November 3, 2024 Author Posted November 3, 2024 I will take a look at both suggestions when I get a chance.
bwarthen 13 Posted November 3, 2024 Author Posted November 3, 2024 (edited) Here is a new build that should work for linux using mickle026 Path.Combine() suggestion. Thanks for the information. Emby.WatchedSuggestions.dll Let me know if this works for you kjhedges Edited November 3, 2024 by bwarthen 1
bwarthen 13 Posted November 3, 2024 Author Posted November 3, 2024 Hi filzituero. I'm looking into this and will post a new dll file when I figure it out.
filzituero 3 Posted November 3, 2024 Posted November 3, 2024 Hi @bwarthen, Thanks for the quick update! I’m also using Linux, by the way. If you could upload the new version of the plugin with the fix you mentioned in your last post, that would be fantastic. I do have a couple of questions. First, when multiple users are involved, will the plugin display only the libraries created for each specific user, or will it show all libraries regardless of user? Secondly, is it possible to schedule library creation to run nightly instead of just at the end of a watch session? I only have three users, so it’s not a big issue for me, but I think others might find this option useful. I’m really excited about your plugin it’s a huge help in bringing relevant content to the home page, which is something Emby really lacks.
bwarthen 13 Posted November 4, 2024 Author Posted November 4, 2024 The dll for the new version is the second dll uploded in this thread. It creates a libraries on a per user basis and grant access to just that user. Hopefully you can download this dll here. Emby.WatchedSuggestions.dll 1
bwarthen 13 Posted November 4, 2024 Author Posted November 4, 2024 There is a job that comes with the plugin to schedule. If you mean to disable the real time updates. I can look into that.
filzituero 3 Posted November 27, 2024 Posted November 27, 2024 Hello, Did you have any time to work on the plugin Thanks
bwarthen 13 Posted November 27, 2024 Author Posted November 27, 2024 I had some medical issues come up and had to put it aside for the moment. Once I'm off the pain killers. I'll dig back in.
filzituero 3 Posted November 28, 2024 Posted November 28, 2024 Take your time and focus on your health that's the most important thing. Wishing you a speedy recovery!
bwarthen 13 Posted December 5, 2024 Author Posted December 5, 2024 I am currently in the testing phase of the latest updates that include language update first based on audio language settings and if that isn't set the server language setting. This should allow for multilanguage users to choose based on user preference. I've also added the ability to uncheck a box and prevent the auto updates. I will run this for a couple more days on my local instance and if everything goes well I will release over the weekend.
fillidill 175 Posted December 5, 2024 Posted December 5, 2024 @bwarthenThis is a really cool plugin! However, I am using the linux version of the plugin on my Synology and it still seems to create the structure incorrectly. Look at this example where it doesn't place the strm in the correct folder, instead the folder name is placed in the name of the file.
bwarthen 13 Posted December 5, 2024 Author Posted December 5, 2024 (edited) I will have to dig my old linux system out of the closet and get that up and running to test this out. I'll see if I can get it working correctly on both systems. It may take a bit to get it all updated again because it is mostly manual. It's on something similar to a raspberry pi. Just out of curiosity is there anything in the folders at all? Edited December 5, 2024 by bwarthen 1
fillidill 175 Posted December 6, 2024 Posted December 6, 2024 10 hours ago, bwarthen said: I will have to dig my old linux system out of the closet and get that up and running to test this out. I'll see if I can get it working correctly on both systems. It may take a bit to get it all updated again because it is mostly manual. It's on something similar to a raspberry pi. Just out of curiosity is there anything in the folders at all? Yes, all the metadata of the movie/show is there. It only seems to be the .strm that is not placed correctly. Attached is an example of a tv show. Disregard the nfo files as I think those are automatically created by Emby (my libraries are set to save them along the media files).
filzituero 3 Posted December 8, 2024 Posted December 8, 2024 On 12/5/2024 at 6:41 PM, bwarthen said: I am currently in the testing phase of the latest updates that include language update first based on audio language settings and if that isn't set the server language setting. This should allow for multilanguage users to choose based on user preference. I've also added the ability to uncheck a box and prevent the auto updates. I will run this for a couple more days on my local instance and if everything goes well I will release over the weekend. hey @bwarthen Did the testing work as expected, and is it ready to be published?
bwarthen 13 Posted December 9, 2024 Author Posted December 9, 2024 (edited) Here is the latest updates. I've added a checkbox for real time updates or not. I've added language updates that pulls the language from the users audio settings first and then if that is set to auto it will pull the server language setting. @fillidillPlease feel free to try this version and let me know if you problem persists. If so I will start working on your issue next. Emby.WatchedSuggestions.dll Edited December 9, 2024 by bwarthen 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now