Hello friends.
Any have any tool to remove all collection( tags) in the plex database.
I don’t know why I have a collection tag for each movie, because I don’t create them.
I need any tool for edit the database. I can’t find the app plexeditor from eagle…
@calibra3 said:
Hello friends.
Any have any tool to remove all collection( tags) in the plex database.
I don’t know why I have a collection tag for each movie, because I don’t create them.
I need any tool for edit the database. I can’t find the app plexeditor from eagle…
any help??
You have collection tags because whatever agents you are using downloads them from TMDb. You can bulk edit any piece of metadata by clicking on the icon that looks like a check mark in a box on the left column in PMS and then selecting all the items you want to edit.
These, if auto created, come from an agent. I inadvertently turned on “Use collection info from The Movie Database” in the Movie Database agent settings. This created a bunch of collections I didn’t want on many of my 2700 movies.
I found I could delete all the collections association in the taggings table but then I would have to rebuild all the collection i previously had. I settled on deleting any collection than had less then 3 members with this SQL code:
use SQLite or DbVisualizer or the like.
delete
from taggings
where id in
(
select tg1.id from taggings tg1
left outer join tags tgs1 on tgs1.id = tg1.tag_id
where tgs1.id in
(select tgs.id from taggings tg
left outer join tags tgs on tgs.id = tg.tag_id
where tgs.tag_type = 2
group by tgs.tag
having count(tg.id) < 3
order by tgs.tag
)
);
The tags are in the table tags, you can correct any spelling issues there as well. The association to a movie/media is in taggings table. The above removes the association of a tag to a movie but does not delete the tag itself. This worked well for me and I hope it helps somebody else too.
ok, what the… I don’t have that box checked “use collection info from movie database” and i manually removed the per movie collection info i had and replaced with my own. Today all that information is back again how / why?
additionally it would be useful if while editing multiple movies i could simply clear that field for all of them.
Where the ´genre´ tags are stored in the database
and
How i can copy that from one database to another database on another server with the same content (but different paths)?
I have a library of video produced by me on my home server, i entered all the genre tags manually. Now I have put all of that media on a different server and can´t type it all in manually again so I´m looking for a way to pull it from the original server and get it into the new server.
I tried a simple database backup and restore but the server would not start with the wrong database file.