kingy444 117 Posted April 6, 2019 Posted April 6, 2019 I was wanting to give some extra definition to the 3D movies in my Library (just to make them a bit more noticible compared to other types) I get there is the overlay option, but i actually want a completely seperate cover I have tried putting a 3d.png file in Emby-Server\cache\coverart\4.0.96.0\MetroCase and manually editing the XML config for coverart so it could use this file but the covers just come back using 'default.png' I'm assuming this is a failback in your code. I know i have the right directory because i replaced default.png with my custom png and the setting worked, but i want to add a new one not replace the ones you have already. Any chance you could look to add this in? Happy for it to be a manual process, just allow us to put files in there etc.
Luke 42077 Posted April 7, 2019 Posted April 7, 2019 So you want this in addition to the overlay? I don't quite understand. Thanks.
kingy444 117 Posted April 7, 2019 Author Posted April 7, 2019 So you want this in addition to the overlay? I don't quite understand. Thanks. If we had this i wouldnt use overlay. this would function as more of an alfer alternative method of identifying them i would want it to use thw below cover (as an example - who really wants ot orange )
kingy444 117 Posted April 8, 2019 Author Posted April 8, 2019 I think CoverArt is way too complex already well i can see your obviously reverting to default.png when the value does not match one of the predefined values what if we simply put a file_exists check before that defaulting occurs. that way minimal changes to the frontend and lets people game enough to play with xml have custom covers pretty much a 'use at your own risk' type thing
JohnnyM 40 Posted April 8, 2019 Posted April 8, 2019 I can understand that CoverArt is getting very complex. But for those of us who are already tagging our movies to tell Coverart to use this cover like a tag CA-BD and CA-MKV why couldn't you do the follow. If Coverart sees a Tag such as CA-3D, use the cover that the user has created named 3D.png. If it can't find that cover use the default. I assume you already have the code to find a cover for tagged items and I would assume that if a tag starts with "CA-" you would search for a file that woukd be in the format of the next letters plus file type, ie "MKV.png". If that code is present then make anyone who wants to do, this tag his items and create his own "frame" with the caveat that this is an unsupported option. JohnnyM
ebr 16173 Posted April 9, 2019 Posted April 9, 2019 well i can see your obviously reverting to default.png when the value does not match one of the predefined values what if we simply put a file_exists check before that defaulting occurs. that way minimal changes to the frontend and lets people game enough to play with xml have custom covers pretty much a 'use at your own risk' type thing One issue is performance - adding additional file operations to the enhance process is not something we're looking to do. CA is already a relatively expensive operation. Two is supporting it. There used to be a custom capability in the plug-in and it just got way too hard to support and almost no one was using it.
Happy2Play 9780 Posted April 9, 2019 Posted April 9, 2019 (edited) How about a custom treatment folder path, just like custom overlays folder path? So if a user does customization there is a way to maintain it. I current move files on every CA plugin update and occasionally change the file date to prevent cache cleanup from removing the customized files. I primarily just change the colors of the 4 mframe png files in the resource folder. Edited April 9, 2019 by Happy2Play 2
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