Deletion of media has now been added, go grab the latest commit.
It’s turned off by default because of the inherent danger, to use it go to Settings and set “Allow deletion of media” to “Yes” after that a new “Delete” item will be available in the context menus when you hold select on an item. This works for Movies, Entire Shows, Seasons and individual Episodes.
Please be careful with this feature… With great power, comes great responsibility. If you delete an entire TV Show when you only wanted to delete a single episode, well that’s on you
@roidy said:
Deletion of media has now been added, go grab the latest commit.
It’s turned off by default because of the inherent danger, to use it go to Settings and set “Allow deletion of media” to “Yes” after that a new “Delete” item will be available in the context menus when you hold select on an item. This works for Movies, Entire Shows, Seasons and individual Episodes.
Please be careful with this feature… With great power, comes great responsibility. If you delete an entire TV Show when you only wanted to delete a single episode, well that’s on you
So, this isn’t working for me on my ATV2. The screen just flashes and the file remains. Does this feature require a specific version of PMS to work? I’m stuck on PMS 0.9.16.6 because they’ve dropped support for OS X 10.6.8.
@roidy said:
Umm… not sure if older versions of PMS allow you to delete files. Does your PMS have the “Allow media deletion” setting and is it checked?
Hi !
Coming back to my topic !
Tried to pull the last github commit this morning, and still having the wrong utils.js file (the one with the & and not the ?)
version I have : 0.5-dev-110616
obtained through “https://github.com/iBaa/PlexConnect” -> Download.
Strange thing is that Roidy correction appears in the history but the wrong file is still there.
Apple TV 3 - 6.2
Plex Connect 0.5-dev-110616
PMS 1.0.0.2261
utils.js contains the following lines :
/*
Delete an item from the library
*/
function deleteItem(PMS_baseURL, accessToken, ratingKey)
{
var url = PMS_baseURL + “/library/metadata/” + ratingKey;
if (accessToken!=’’) url = url + ‘?X-Plex-Token=’ + accessToken;
var req = new XMLHttpRequest();
req.open(‘DELETE’, url, false);
req.send();
}
In fact I don’t even have a menu proposing deletion. Menu contains possibility to mark watch/unwatch, to change fanart and another one I do not remember, but no choice for deletion
@bberu said:
In fact I don’t even have a menu proposing deletion. Menu contains possibility to mark watch/unwatch, to change fanart and another one I do not remember, but no choice for deletion
Something I am missing ?
Bruno
You have to enable the feature in PlexConnect’s settings and on the PMS. Then the menu option will appear.