tegeril 0 Posted January 31, 2014 Posted January 31, 2014 So when Mediabrowser first ran, it didn't have privileges to store images where it wanted to, so it instead extracted stills out of every file and stored those as the primary image. Now that I've gone and fixed that issue, it seems uninterested in ever attempting to find primary images ever again unless I delete the auto-extracted one manually. Is this something I can resolve without manually editing the information of hundreds of files?
tegeril 0 Posted January 31, 2014 Author Posted January 31, 2014 (edited) Wrote some ridiculous JS to do it for me with overly safe timeouts. If someone ever runs into this and uses this, make sure you're looking at the images tab of a video before you start it and leave the tab visible/active. Time to let it run, night $('#85547297814bf9f2898d54690b92c335 > ul > li').each(function(index) { var that = this; window.setTimeout(function() { $('a', that).click(); window.setTimeout(function() { if ($('#images > div:first-child p').eq(0).text() == 'Primary') { EditItemImagesPage.deleteImage('Primary', null); window.setTimeout(function() { $('.confirmFlyout')[0].confirm = true; $('.confirmFlyout').popup('close'); }, 750); } }, 750); }, 3000 * index); }); Edited January 31, 2014 by tegeril
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