Jump to content

How do I delete "Collections" from Library?


Recommended Posts

Posted
15 minutes ago, Happy2Play said:

Assuming no collections exist, it is mentioned at the end of the guide.

Many thanks. Isn't the issue that "Collections" does exist?

At the end of this link it says, "Note you can go to the browser and open each library to see each parentid in the URL as it is the same as id/itemid. Then you would go to /Library/VirtualFolders/Delete and replace "string" with the library id you want to remove."

It's not obvious where, "/Library/VirtualFolders/Delete" is?

 

Happy2Play
Posted
4 minutes ago, Mikexx said:

It's not obvious where, "/Library/VirtualFolders/Delete" is?

It is all within the same api endpoint LibraryStructureService.

image.png.3f64215a6a466c086d36c618efb9331c.png

Posted

Many thanks.

In /Library/VirtualFolders/Paths/Delete

I got as far as:

{
  "Id": "Collections",
  "RefreshLibrary": true
}

 

and when I clicked on Execute I got:

image.png.2fd12194d682c0412d2ba0340d5c3756.png

 

I restarted the server and Collections is still there.,

Happy2Play
Posted (edited)
7 minutes ago, Mikexx said:

I got as far as:

{
  "Id": "Collections",
  "RefreshLibrary": true
}

But that is not your library ID but should be the same as the parentid shown in url when you enter Collections library also.

Example from guide 

      "ItemId": "126485",
      "Id": "126485",
      "Guid": "2faa6a99f9d24feabfeab2f97e3764d7",
      "PrimaryImageItemId": "126485"
    }

image.png.2c9386a3d268d7dcdf6115e2ab11ea00.png

Edited by Happy2Play
Posted

Thanks.

I opened /Library/VirtualFolders/Query Try at and execute and got the following

I found "Collections"

image.png.97a9879f3b47f60f1eeb816ae4502d27.png

and at the bottom I get

image.png.4153b42a92da6c80510dc3b978093b04.png

I placed that into

/Library/VirtualFolders/Paths Try it

{
  "Id": "11673",
  "RefreshLibrary": true
}

And hit Execute

And got:

image.png.0bc1886a2885ba01e5a4df4b5c0aa888.png

Just in case it worked, I restarted the server and confirm "Collections" is still there.

I presume I need to "authenticate"?

Happy2Play
Posted

Not sure as I opened the api and entered endpoint and id 64.

image.png.88755abd7ffaad5edc8a3c26776d784a.png

2024-10-14 13:55:02.257 Debug Server: http/1.1 OPTIONS http://‌‍‍localhost‌:8095/emby/Library/VirtualFolders/Delete?api_key=‌xxxxxxxxxx41a8ae7387db59a40c58‌. Source Ip: ‌‍‍::1‌, UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0
2024-10-14 13:55:02.257 Debug Server: http/1.1 Response 200 to ‌‍‍::1‌. Time: 0ms. OPTIONS http://‌‍‍localhost‌:8095/emby/Library/VirtualFolders/Delete?api_key=‌xxxxxxxxxx41a8ae7387db59a40c58‌
2024-10-14 13:55:02.260 Info Server: http/1.1 POST http://‌‍‍localhost‌:8095/emby/Library/VirtualFolders/Delete?api_key=‌xxxxxxxxxx41a8ae7387db59a40c58‌. Source Ip: ‌‍‍::1‌, UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0
2024-10-14 13:55:02.265 Info App: Removing item from database, Type: CollectionFolder, Name: Collections, Path: C:\Users\Media\AppData\Roaming\Emby-Server\programdata\root\default\Collections, Id: 64

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...