Jump to content

Collections Library


mbender1123
Go to solution Solved by Happy2Play,

Recommended Posts

mbender1123

I recently set up a new Emby server so I could update to 4.8, and I no longer have the collections library. I have tried following the instructions in the threads I have found on here with no luck. The collections exist under the Movie library, but they do not exist as their own library like they used to in older versions. There is no option to add the library under the homescreen menu, nor the user menu. This forum https://emby.media/community/index.php?/topic/112451-4809-confirmed-bug-collections-missing-from-main-screen/ seems to suggest the option was removed purposefully, but also that using the options.xml file from an older install would work to bring it back. I have tried that, but with a fresh install the config/root/default folder no longer exists, and recreating it and adding the options.xml file does not seem to do anything. I think 4.8 is no longer using the /root/default folder, so is there a new way to bring back the collections library? 

 

 

Link to comment
Share on other sites

Hello mbender1123,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Link to comment
Share on other sites

Happy2Play

Ah yes will have to test a new install as upgrades are not affected.

  

On 9/25/2022 at 3:41 PM, Luke said:

It's not missing for users who upgrade to the beta, but the beta is no longer creating the library. We're constantly answering questions about how to remove it so the beta has stopped doing it.

You'll have to bare with it on the beta channel if you want this. At some point before this change moves up to stable we'll figure out what the replacement is going to be.

Looks like the only way to add it back now is via the api.

Edited by Happy2Play
Link to comment
Share on other sites

  • Solution
Happy2Play

I went to the api "/Library/VirtualFolders/Query" on server with the library and pulled the library info.

 

Spoiler

    {
      "Name": "Collections",
      "Locations": [],
      "CollectionType": "boxsets",
      "LibraryOptions": {
        "EnableArchiveMediaFiles": false,
        "EnablePhotos": true,
        "EnableRealtimeMonitor": true,
        "EnableMarkerDetection": false,
        "EnableMarkerDetectionDuringLibraryScan": false,
        "IntroDetectionFingerprintLength": 10,
        "EnableChapterImageExtraction": false,
        "ExtractChapterImagesDuringLibraryScan": false,
        "DownloadImagesInAdvance": true,
        "CacheImages": false,
        "PathInfos": [],
        "IgnoreHiddenFiles": false,
        "IgnoreFileExtensions": [],
        "SaveLocalMetadata": true,
        "SaveMetadataHidden": false,
        "SaveLocalThumbnailSets": false,
        "ImportPlaylists": true,
        "EnableAutomaticSeriesGrouping": true,
        "ShareEmbeddedMusicAlbumImages": true,
        "EnableEmbeddedTitles": false,
        "EnableAudioResume": false,
        "AutoGenerateChapters": true,
        "AutomaticRefreshIntervalDays": 0,
        "PlaceholderMetadataRefreshIntervalDays": 0,
        "PreferredMetadataLanguage": "",
        "PreferredImageLanguage": "",
        "ContentType": "boxsets",
        "MetadataCountryCode": "",
        "MetadataSavers": [
          "Nfo"
        ],
        "DisabledLocalMetadataReaders": [],
        "LocalMetadataReaderOrder": [
          "Nfo"
        ],
        "DisabledLyricsFetchers": [],
        "SaveLyricsWithMedia": true,
        "LyricsDownloadMaxAgeDays": 180,
        "LyricsFetcherOrder": [],
        "LyricsDownloadLanguages": [],
        "DisabledSubtitleFetchers": [],
        "SubtitleFetcherOrder": [],
        "SkipSubtitlesIfEmbeddedSubtitlesPresent": false,
        "SkipSubtitlesIfAudioTrackMatches": false,
        "SubtitleDownloadLanguages": [],
        "SubtitleDownloadMaxAgeDays": 180,
        "RequirePerfectSubtitleMatch": true,
        "SaveSubtitlesWithMedia": true,
        "ForcedSubtitlesOnly": false,
        "HearingImpairedSubtitlesOnly": false,
        "TypeOptions": [
          {
            "Type": "BoxSet",
            "MetadataFetchers": [
              "TheMovieDb"
            ],
            "MetadataFetcherOrder": [
              "TheMovieDb"
            ],
            "ImageFetchers": [
              "FanArt",
              "TheMovieDb",
              "Dynamic Image Provider"
            ],
            "ImageFetcherOrder": [
              "FanArt",
              "TheMovieDb",
              "Dynamic Image Provider"
            ],
            "ImageOptions": [
              {
                "Type": "Primary",
                "Limit": 1,
                "MinWidth": 0
              },
              {
                "Type": "Art",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "BoxRear",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Banner",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Box",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Disc",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Logo",
                "Limit": 1,
                "MinWidth": 0
              },
              {
                "Type": "Menu",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Thumb",
                "Limit": 1,
                "MinWidth": 0
              },
              {
                "Type": "Backdrop",
                "Limit": 1,
                "MinWidth": 1280
              }
            ]
          }
        ],
        "CollapseSingleItemFolders": true,
        "EnableAdultMetadata": false,
        "ImportCollections": false,
        "MinCollectionItems": 2,
        "MinResumePct": 5,
        "MaxResumePct": 90,
        "MinResumeDurationSeconds": 120,
        "ThumbnailImagesIntervalSeconds": -1,
        "SampleIgnoreSize": 314572800
      }

}

Then post "/Library/VirtualFolders" the info to create the virtual library on new server.

These options just happened to be the options I have the Collections library configured with.

 

See post below if you get an error on API pages as CORS requires localhost/https connections.

Edited by Happy2Play
corrected missing bracket
  • Like 1
  • Thanks 2
Link to comment
Share on other sites

mbender1123

Okay, that looks super helpful, but a bit over my head. I've never used the api before, so I went to my dashboard, scrolled to the bottom and hit the api link, and it gave me the error "Possible mixed-content issue? The page was loaded over https:// but a http:// URL was specified. Check that you are not attempting to load mixed content." I'm not sure where to go from there. 

Link to comment
Share on other sites

Happy2Play
4 minutes ago, mbender1123 said:

Okay, that looks super helpful, but a bit over my head. I've never used the api before, so I went to my dashboard, scrolled to the bottom and hit the api link, and it gave me the error "Possible mixed-content issue? The page was loaded over https:// but a http:// URL was specified. Check that you are not attempting to load mixed content." I'm not sure where to go from there. 

Yes browser CORS will cause this if you are not on localhost.  There is a workaround with browser flags to make it work on other computers within your LAN.

 

  • Thanks 2
Link to comment
Share on other sites

Diellur-1983

I've been trying to use the API to get the 'Collections' folder back but no luck - it's not something I'm familiar with and I've not got a coding background. Is this something that's likely to be fixed? I use Infuse on my ATV and as Emby doesn't provide this folder, Infuse doesn't detect it so my movies are no longer grouped. Not the biggest issue in the world, but irritating nonetheless.

  • Agree 1
Link to comment
Share on other sites

Happy2Play
3 hours ago, Diellur-1983 said:

I've been trying to use the API to get the 'Collections' folder back but no luck - it's not something I'm familiar with and I've not got a coding background. Is this something that's likely to be fixed? I use Infuse on my ATV and as Emby doesn't provide this folder, Infuse doesn't detect it so my movies are no longer grouped. Not the biggest issue in the world, but irritating nonetheless.

Doubt it will be readded and will probably have to make a detailed how-to.

But what exactly did you do as it is pretty straight forward with a copy and paste.  Sure hitting execute more than once will create multiple libraries.

Link to comment
Share on other sites

Diellur-1983
1 hour ago, Happy2Play said:

Doubt it will be readded and will probably have to make a detailed how-to.

But what exactly did you do as it is pretty straight forward with a copy and paste.  Sure hitting execute more than once will create multiple libraries.

I did do a copy and paste, but it didn't take - it was earlier today, but I think it was an authorisation thing (or so I interpreted the response), and I spent a while trying to work out how to use an API token to let me tweak things. What I didn't try - and just have - was running the sample script that is already there when I open up '/library/VirtualFolders'. I did this and it gave me an error over a string; so I compared the code my server was giving me versus yours, and took out every instance of 'string'. I don't know why that was in mine, but it was a fresh install so perhaps the fact it hadn't had a Collections folder set up was the cause of that. 

At any rate, the below is what I ran which worked and brought back the Collections folder:

Spoiler

{
  "Name": "Collections",
"Locations":[],
  "CollectionType": "boxsets",
  "LibraryOptions": {
    "EnableArchiveMediaFiles": false,
    "EnablePhotos": true,
    "EnableRealtimeMonitor": true,
    "EnableMarkerDetection": true,
    "EnableMarkerDetectionDuringLibraryScan": false,
    "IntroDetectionFingerprintLength": 0,
    "EnableChapterImageExtraction": false,
    "ExtractChapterImagesDuringLibraryScan": false,
    "DownloadImagesInAdvance": true,
    "CacheImages": true,
    "PathInfos": []
      "IgnoreHiddenFiles": true,
    "IgnoreFileExtensions"[],
    "SaveLocalMetadata": true,
    "SaveMetadataHidden": true,
    "SaveLocalThumbnailSets": true,
    "ImportPlaylists": true,
    "EnableAutomaticSeriesGrouping": true,
    "ShareEmbeddedMusicAlbumImages": true,
    "EnableEmbeddedTitles": true,
    "EnableAudioResume": true,
    "AutoGenerateChapters": true,
    "AutomaticRefreshIntervalDays": 0,
    "PlaceholderMetadataRefreshIntervalDays": 0,
    "PreferredMetadataLanguage": "string",
    "PreferredImageLanguage": "string",
    "ContentType": "string",
    "MetadataCountryCode": "string",
    "MetadataSavers": [
      "string"
    ],
    "DisabledLocalMetadataReaders": [
      "string"
    ],
    "LocalMetadataReaderOrder": [
      "string"
    ],
    "DisabledLyricsFetchers": [
      "string"
    ],
    "SaveLyricsWithMedia": true,
    "LyricsDownloadMaxAgeDays": 0,
    "LyricsFetcherOrder": [
      "string"
    ],
    "LyricsDownloadLanguages": [
      "string"
    ],
    "DisabledSubtitleFetchers": [
      "string"
    ],
    "SubtitleFetcherOrder": [
      "string"
    ],
    "SkipSubtitlesIfEmbeddedSubtitlesPresent": true,
    "SkipSubtitlesIfAudioTrackMatches": true,
    "SubtitleDownloadLanguages": [
      "string"
    ],
    "SubtitleDownloadMaxAgeDays": 0,
    "RequirePerfectSubtitleMatch": true,
    "SaveSubtitlesWithMedia": true,
    "ForcedSubtitlesOnly": true,
    "HearingImpairedSubtitlesOnly": true,
    "TypeOptions": [
      {
        "Type": "string",
        "MetadataFetchers": [
          "string"
        ],
        "MetadataFetcherOrder": [
          "string"
        ],
        "ImageFetchers": [
          "string"
        ],
        "ImageFetcherOrder": [
          "string"
        ],
        "ImageOptions": [
          {
            "Type": "Primary",
            "Limit": 0,
            "MinWidth": 0
          }
        ]
      }
    ],
    "CollapseSingleItemFolders": true,
    "EnableAdultMetadata": true,
    "ImportCollections": true,
    "MinCollectionItems": 0,
    "MusicFolderStructure": "string",
    "MinResumePct": 0,
    "MaxResumePct": 0,
    "MinResumeDurationSeconds": 0,
    "ThumbnailImagesIntervalSeconds": 0,
    "SampleIgnoreSize": 0
  }
}

So if anyone else is in the same boat, what I've effectively done is reinstall at 4.8.1.0, opened up the path above in the API and pasted in the code in the spoiler box. I've now got my Collections virtual folder back which has been read across to Infuse, which is what I was after.

I probably missed something obvious, but am content now - thanks Happy2Play as your comment about it being straightforward made me wonder where I was going wrong!

  • Like 1
Link to comment
Share on other sites

Happy2Play
6 minutes ago, Diellur-1983 said:

I did do a copy and paste, but it didn't take - it was earlier today, but I think it was an authorisation thing (or so I interpreted the response), and I spent a while trying to work out how to use an API token to let me tweak things. What I didn't try - and just have - was running the sample script that is already there when I open up '/library/VirtualFolders'. I did this and it gave me an error over a string; so I compared the code my server was giving me versus yours, and took out every instance of 'string'. I don't know why that was in mine, but it was a fresh install so perhaps the fact it hadn't had a Collections folder set up was the cause of that. 

At any rate, the below is what I ran which worked and brought back the Collections folder:

  Hide contents

{
  "Name": "Collections",
"Locations":[],
  "CollectionType": "boxsets",
  "LibraryOptions": {
    "EnableArchiveMediaFiles": false,
    "EnablePhotos": true,
    "EnableRealtimeMonitor": true,
    "EnableMarkerDetection": true,
    "EnableMarkerDetectionDuringLibraryScan": false,
    "IntroDetectionFingerprintLength": 0,
    "EnableChapterImageExtraction": false,
    "ExtractChapterImagesDuringLibraryScan": false,
    "DownloadImagesInAdvance": true,
    "CacheImages": true,
    "PathInfos": []
      "IgnoreHiddenFiles": true,
    "IgnoreFileExtensions"[],
    "SaveLocalMetadata": true,
    "SaveMetadataHidden": true,
    "SaveLocalThumbnailSets": true,
    "ImportPlaylists": true,
    "EnableAutomaticSeriesGrouping": true,
    "ShareEmbeddedMusicAlbumImages": true,
    "EnableEmbeddedTitles": true,
    "EnableAudioResume": true,
    "AutoGenerateChapters": true,
    "AutomaticRefreshIntervalDays": 0,
    "PlaceholderMetadataRefreshIntervalDays": 0,
    "PreferredMetadataLanguage": "string",
    "PreferredImageLanguage": "string",
    "ContentType": "string",
    "MetadataCountryCode": "string",
    "MetadataSavers": [
      "string"
    ],
    "DisabledLocalMetadataReaders": [
      "string"
    ],
    "LocalMetadataReaderOrder": [
      "string"
    ],
    "DisabledLyricsFetchers": [
      "string"
    ],
    "SaveLyricsWithMedia": true,
    "LyricsDownloadMaxAgeDays": 0,
    "LyricsFetcherOrder": [
      "string"
    ],
    "LyricsDownloadLanguages": [
      "string"
    ],
    "DisabledSubtitleFetchers": [
      "string"
    ],
    "SubtitleFetcherOrder": [
      "string"
    ],
    "SkipSubtitlesIfEmbeddedSubtitlesPresent": true,
    "SkipSubtitlesIfAudioTrackMatches": true,
    "SubtitleDownloadLanguages": [
      "string"
    ],
    "SubtitleDownloadMaxAgeDays": 0,
    "RequirePerfectSubtitleMatch": true,
    "SaveSubtitlesWithMedia": true,
    "ForcedSubtitlesOnly": true,
    "HearingImpairedSubtitlesOnly": true,
    "TypeOptions": [
      {
        "Type": "string",
        "MetadataFetchers": [
          "string"
        ],
        "MetadataFetcherOrder": [
          "string"
        ],
        "ImageFetchers": [
          "string"
        ],
        "ImageFetcherOrder": [
          "string"
        ],
        "ImageOptions": [
          {
            "Type": "Primary",
            "Limit": 0,
            "MinWidth": 0
          }
        ]
      }
    ],
    "CollapseSingleItemFolders": true,
    "EnableAdultMetadata": true,
    "ImportCollections": true,
    "MinCollectionItems": 0,
    "MusicFolderStructure": "string",
    "MinResumePct": 0,
    "MaxResumePct": 0,
    "MinResumeDurationSeconds": 0,
    "ThumbnailImagesIntervalSeconds": 0,
    "SampleIgnoreSize": 0
  }
}

So if anyone else is in the same boat, what I've effectively done is reinstall at 4.8.1.0, opened up the path above in the API and pasted in the code in the spoiler box. I've now got my Collections virtual folder back which has been read across to Infuse, which is what I was after.

I probably missed something obvious, but am content now - thanks Happy2Play as your comment about it being straightforward made me wonder where I was going wrong!

Looks like my code dropped the last }.  But glad you figured it out.

 

@Diellur-1983I would go to library setup and verify the library config are correct.

Edited by Happy2Play
Link to comment
Share on other sites

mbender1123

Ah yeah, my bad. I noticed I'd needed an extra } but forgot to mention it. Glad you got it figured out too!

I get that a lot of people were trying to get rid of it, but I find it way easier to browse collections by getting to them right from the home page instead of underneath the other libraries. 🤷‍♂️

  • Thanks 1
Link to comment
Share on other sites

Diellur

No worries - it was an easy fix in the end, and anyone who wants Collections can use it. Sorted!

Link to comment
Share on other sites

  • 3 weeks later...
Smitty018210

WHAT?!!? is this crap!

I just reinstalled my server only find this garbage!

WHY dose emby insist on changing things that are not broken?

Stop removing things and not give clear instructions on how to add them back.

I am really starting to hate this product.

I don't understand Api?

What and where do I go to add collections back to my home page?

Edited by Smitty018210
Link to comment
Share on other sites

Happy2Play
4 minutes ago, Smitty018210 said:

WHAT?!!? is this crap!

I just reinstalled my server only find this garbage!

I don't understand Api?

What and where do I go to add collections back to my home page?

Here are the steps to creating a Collections library on a new install.

On the server dashboard at the bottom of the page there is a link to the API.  Note there are connections requirements of using localhost or a HTTPS connection.

image.png.7e723e40377515fc50882fa9caf3b69c.png

But there is a workaround with browser flags to allow your LAN connection from any address.

In Chrome/Edge entered IP or Hostname depending how you connect.  edge://flags / chrome://flags (but other browsers should have the same options)

image.png.c28ac14b226a7d10cbfbc8e6ca9e3db8.png

 

Once you have access to Swagger you will go to LibraryStructureService and expand

image.thumb.png.0ed4fc8bbc7d2f81f8ad0601b3c7d6bc.png

 

Then you will expand /Library/VirtualFolders and click "Try it out"

image.thumb.png.e143419a14ceef7898b6386eac02eea5.png

 

Then go to "AddVirtualFolder" box and clear it.

image.thumb.png.cab9d5a90ac38b84dc02b7c753021039.png

 

Now you will copy this library config and paste into "AddVirtualFolder" field.

   
 {
      "Name": "Collections",
      "Locations": [],
      "CollectionType": "boxsets",
      "LibraryOptions": {
        "EnableArchiveMediaFiles": false,
        "EnablePhotos": true,
        "EnableRealtimeMonitor": true,
        "EnableMarkerDetection": false,
        "EnableMarkerDetectionDuringLibraryScan": false,
        "IntroDetectionFingerprintLength": 10,
        "EnableChapterImageExtraction": false,
        "ExtractChapterImagesDuringLibraryScan": false,
        "DownloadImagesInAdvance": true,
        "CacheImages": false,
        "PathInfos": [],
        "IgnoreHiddenFiles": false,
        "IgnoreFileExtensions": [],
        "SaveLocalMetadata": true,
        "SaveMetadataHidden": false,
        "SaveLocalThumbnailSets": false,
        "ImportPlaylists": true,
        "EnableAutomaticSeriesGrouping": true,
        "ShareEmbeddedMusicAlbumImages": true,
        "EnableEmbeddedTitles": false,
        "EnableAudioResume": false,
        "AutoGenerateChapters": true,
        "AutomaticRefreshIntervalDays": 0,
        "PlaceholderMetadataRefreshIntervalDays": 0,
        "PreferredMetadataLanguage": "",
        "PreferredImageLanguage": "",
        "ContentType": "boxsets",
        "MetadataCountryCode": "",
        "MetadataSavers": [
          "Nfo"
        ],
        "DisabledLocalMetadataReaders": [],
        "LocalMetadataReaderOrder": [
          "Nfo"
        ],
        "DisabledLyricsFetchers": [],
        "SaveLyricsWithMedia": true,
        "LyricsDownloadMaxAgeDays": 180,
        "LyricsFetcherOrder": [],
        "LyricsDownloadLanguages": [],
        "DisabledSubtitleFetchers": [],
        "SubtitleFetcherOrder": [],
        "SkipSubtitlesIfEmbeddedSubtitlesPresent": false,
        "SkipSubtitlesIfAudioTrackMatches": false,
        "SubtitleDownloadLanguages": [],
        "SubtitleDownloadMaxAgeDays": 180,
        "RequirePerfectSubtitleMatch": true,
        "SaveSubtitlesWithMedia": true,
        "ForcedSubtitlesOnly": false,
        "HearingImpairedSubtitlesOnly": false,
        "TypeOptions": [
          {
            "Type": "BoxSet",
            "MetadataFetchers": [
              "TheMovieDb"
            ],
            "MetadataFetcherOrder": [
              "TheMovieDb"
            ],
            "ImageFetchers": [
              "FanArt",
              "TheMovieDb",
              "Dynamic Image Provider"
            ],
            "ImageFetcherOrder": [
              "FanArt",
              "TheMovieDb",
              "Dynamic Image Provider"
            ],
            "ImageOptions": [
              {
                "Type": "Primary",
                "Limit": 1,
                "MinWidth": 0
              },
              {
                "Type": "Art",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "BoxRear",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Banner",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Box",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Disc",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Logo",
                "Limit": 1,
                "MinWidth": 0
              },
              {
                "Type": "Menu",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Thumb",
                "Limit": 1,
                "MinWidth": 0
              },
              {
                "Type": "Backdrop",
                "Limit": 1,
                "MinWidth": 1280
              }
            ]
          }
        ],
        "CollapseSingleItemFolders": true,
        "EnableAdultMetadata": false,
        "ImportCollections": false,
        "MinCollectionItems": 2,
        "MinResumePct": 5,
        "MaxResumePct": 90,
        "MinResumeDurationSeconds": 120,
        "ThumbnailImagesIntervalSeconds": -1,
        "SampleIgnoreSize": 314572800
      }
}

Now hit "Execute"

Now got to Library setup and verify setting are setup to your needs.

image.png.29a769969ece1169b41fdbcda76eb3a7.png

Note if you click "Execute" more than one you will create multiple Collections libraries.

 

Now for anyone wanting to remove this Virtual library or accidently recreated duplicate libraries here are the steps.

Go to LibraryStructureService then /Library/VirtualFolders/Query and click Try it out and Execute to get a list of your libraries to see their id/itemid near the bottom of each library.

Simplified to 1 library

{
  "Items": [
    {
      "Name": "Collections",
      "Locations": [],
      "CollectionType": "boxsets",
      "LibraryOptions": {
        "EnableArchiveMediaFiles": false,
        "EnablePhotos": true,
        "EnableRealtimeMonitor": false,
        "EnableMarkerDetection": false,
        "EnableMarkerDetectionDuringLibraryScan": false,
        "IntroDetectionFingerprintLength": 10,
        "EnableChapterImageExtraction": false,
        "ExtractChapterImagesDuringLibraryScan": false,
        "DownloadImagesInAdvance": true,
        "CacheImages": false,
        "PathInfos": [],
        "IgnoreHiddenFiles": false,
        "IgnoreFileExtensions": [],
        "SaveLocalMetadata": true,
        "SaveMetadataHidden": false,
        "SaveLocalThumbnailSets": false,
        "ImportPlaylists": true,
        "EnableAutomaticSeriesGrouping": true,
        "ShareEmbeddedMusicAlbumImages": true,
        "EnableEmbeddedTitles": false,
        "EnableAudioResume": false,
        "AutoGenerateChapters": true,
        "AutomaticRefreshIntervalDays": 0,
        "PlaceholderMetadataRefreshIntervalDays": 0,
        "PreferredMetadataLanguage": "",
        "PreferredImageLanguage": "",
        "ContentType": "boxsets",
        "MetadataCountryCode": "",
        "MetadataSavers": [
          "Nfo"
        ],
        "DisabledLocalMetadataReaders": [],
        "LocalMetadataReaderOrder": [
          "Nfo"
        ],
        "DisabledLyricsFetchers": [],
        "SaveLyricsWithMedia": true,
        "LyricsDownloadMaxAgeDays": 180,
        "LyricsFetcherOrder": [],
        "LyricsDownloadLanguages": [],
        "DisabledSubtitleFetchers": [],
        "SubtitleFetcherOrder": [],
        "SkipSubtitlesIfEmbeddedSubtitlesPresent": false,
        "SkipSubtitlesIfAudioTrackMatches": false,
        "SubtitleDownloadLanguages": [],
        "SubtitleDownloadMaxAgeDays": 180,
        "RequirePerfectSubtitleMatch": true,
        "SaveSubtitlesWithMedia": true,
        "ForcedSubtitlesOnly": false,
        "HearingImpairedSubtitlesOnly": false,
        "TypeOptions": [
          {
            "Type": "BoxSet",
            "MetadataFetchers": [
              "TheMovieDb"
            ],
            "MetadataFetcherOrder": [
              "TheMovieDb"
            ],
            "ImageFetchers": [
              "TheMovieDb",
              "Dynamic Image Provider",
              "FanArt"
            ],
            "ImageFetcherOrder": [
              "TheMovieDb",
              "Dynamic Image Provider",
              "FanArt"
            ],
            "ImageOptions": []
          }
        ],
        "CollapseSingleItemFolders": false,
        "EnableAdultMetadata": false,
        "ImportCollections": false,
        "MinCollectionItems": 2,
        "MinResumePct": 3,
        "MaxResumePct": 90,
        "MinResumeDurationSeconds": 120,
        "ThumbnailImagesIntervalSeconds": -1,
        "SampleIgnoreSize": 314572800
      },
      "ItemId": "126485",
      "Id": "126485",
      "Guid": "2faa6a99f9d24feabfeab2f97e3764d7",
      "PrimaryImageItemId": "126485"
    },
  "TotalRecordCount": 1
}

 

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.

image.thumb.png.6456eda4edb910897e8c635551a74abb.png

 

@GrimReapercan you copy this into the Tutorial/Guide section.

Edited by Happy2Play
  • Like 1
  • Agree 1
Link to comment
Share on other sites

Smitty018210
1 minute ago, Happy2Play said:

Here are the steps to creating a Collections library on a new install.

On the server dashboard at the bottom of the page there is a link to the API.  Note there are connections requirements of using localhost or a HTTPS connection.

image.png.7e723e40377515fc50882fa9caf3b69c.png

But there is a workaround with browser flags to allow your LAN connection from any address.

In Chrome/Edge entered IP or Hostname depending how you connect.  edge://flags / chrome://flags (but other browsers should have the same options)

image.png.c28ac14b226a7d10cbfbc8e6ca9e3db8.png

 

Once you have access to Swagger you will go to LibraryStructureService and expand

image.thumb.png.0ed4fc8bbc7d2f81f8ad0601b3c7d6bc.png

 

Then you will expand /Library/VirtualFolders and click "Try it out"

image.thumb.png.e143419a14ceef7898b6386eac02eea5.png

 

Then go to "AddVirtualFolder" box and clear it.

image.thumb.png.cab9d5a90ac38b84dc02b7c753021039.png

 

Now you will copy this library config and paste into "AddVirtualFolder" field.

    {
      "Name": "Collections",
      "Locations": [],
      "CollectionType": "boxsets",
      "LibraryOptions": {
        "EnableArchiveMediaFiles": false,
        "EnablePhotos": true,
        "EnableRealtimeMonitor": true,
        "EnableMarkerDetection": false,
        "EnableMarkerDetectionDuringLibraryScan": false,
        "IntroDetectionFingerprintLength": 10,
        "EnableChapterImageExtraction": false,
        "ExtractChapterImagesDuringLibraryScan": false,
        "DownloadImagesInAdvance": true,
        "CacheImages": false,
        "PathInfos": [],
        "IgnoreHiddenFiles": false,
        "IgnoreFileExtensions": [],
        "SaveLocalMetadata": true,
        "SaveMetadataHidden": false,
        "SaveLocalThumbnailSets": false,
        "ImportPlaylists": true,
        "EnableAutomaticSeriesGrouping": true,
        "ShareEmbeddedMusicAlbumImages": true,
        "EnableEmbeddedTitles": false,
        "EnableAudioResume": false,
        "AutoGenerateChapters": true,
        "AutomaticRefreshIntervalDays": 0,
        "PlaceholderMetadataRefreshIntervalDays": 0,
        "PreferredMetadataLanguage": "",
        "PreferredImageLanguage": "",
        "ContentType": "boxsets",
        "MetadataCountryCode": "",
        "MetadataSavers": [
          "Nfo"
        ],
        "DisabledLocalMetadataReaders": [],
        "LocalMetadataReaderOrder": [
          "Nfo"
        ],
        "DisabledLyricsFetchers": [],
        "SaveLyricsWithMedia": true,
        "LyricsDownloadMaxAgeDays": 180,
        "LyricsFetcherOrder": [],
        "LyricsDownloadLanguages": [],
        "DisabledSubtitleFetchers": [],
        "SubtitleFetcherOrder": [],
        "SkipSubtitlesIfEmbeddedSubtitlesPresent": false,
        "SkipSubtitlesIfAudioTrackMatches": false,
        "SubtitleDownloadLanguages": [],
        "SubtitleDownloadMaxAgeDays": 180,
        "RequirePerfectSubtitleMatch": true,
        "SaveSubtitlesWithMedia": true,
        "ForcedSubtitlesOnly": false,
        "HearingImpairedSubtitlesOnly": false,
        "TypeOptions": [
          {
            "Type": "BoxSet",
            "MetadataFetchers": [
              "TheMovieDb"
            ],
            "MetadataFetcherOrder": [
              "TheMovieDb"
            ],
            "ImageFetchers": [
              "FanArt",
              "TheMovieDb",
              "Dynamic Image Provider"
            ],
            "ImageFetcherOrder": [
              "FanArt",
              "TheMovieDb",
              "Dynamic Image Provider"
            ],
            "ImageOptions": [
              {
                "Type": "Primary",
                "Limit": 1,
                "MinWidth": 0
              },
              {
                "Type": "Art",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "BoxRear",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Banner",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Box",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Disc",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Logo",
                "Limit": 1,
                "MinWidth": 0
              },
              {
                "Type": "Menu",
                "Limit": 0,
                "MinWidth": 0
              },
              {
                "Type": "Thumb",
                "Limit": 1,
                "MinWidth": 0
              },
              {
                "Type": "Backdrop",
                "Limit": 1,
                "MinWidth": 1280
              }
            ]
          }
        ],
        "CollapseSingleItemFolders": true,
        "EnableAdultMetadata": false,
        "ImportCollections": false,
        "MinCollectionItems": 2,
        "MinResumePct": 5,
        "MaxResumePct": 90,
        "MinResumeDurationSeconds": 120,
        "ThumbnailImagesIntervalSeconds": -1,
        "SampleIgnoreSize": 314572800
      }
}

Now hit "Execute"

Now got to Library setup and verify setting are setup to your needs.

image.png.29a769969ece1169b41fdbcda76eb3a7.png

Note if you click "Execute" more than one you will create multiple Collections libraries.

 

Now for anyone wanting to remove this Virtual library or accidently recreated duplicate libraries here are the steps.

Go to LibraryStructureService then /Library/VirtualFolders/Query and click Try it out and Execute to get a list of your libraries to see their id/itemid near the bottom of each library.

Simplified to 1 library

{
  "Items": [
    {
      "Name": "Collections",
      "Locations": [],
      "CollectionType": "boxsets",
      "LibraryOptions": {
        "EnableArchiveMediaFiles": false,
        "EnablePhotos": true,
        "EnableRealtimeMonitor": false,
        "EnableMarkerDetection": false,
        "EnableMarkerDetectionDuringLibraryScan": false,
        "IntroDetectionFingerprintLength": 10,
        "EnableChapterImageExtraction": false,
        "ExtractChapterImagesDuringLibraryScan": false,
        "DownloadImagesInAdvance": true,
        "CacheImages": false,
        "PathInfos": [],
        "IgnoreHiddenFiles": false,
        "IgnoreFileExtensions": [],
        "SaveLocalMetadata": true,
        "SaveMetadataHidden": false,
        "SaveLocalThumbnailSets": false,
        "ImportPlaylists": true,
        "EnableAutomaticSeriesGrouping": true,
        "ShareEmbeddedMusicAlbumImages": true,
        "EnableEmbeddedTitles": false,
        "EnableAudioResume": false,
        "AutoGenerateChapters": true,
        "AutomaticRefreshIntervalDays": 0,
        "PlaceholderMetadataRefreshIntervalDays": 0,
        "PreferredMetadataLanguage": "",
        "PreferredImageLanguage": "",
        "ContentType": "boxsets",
        "MetadataCountryCode": "",
        "MetadataSavers": [
          "Nfo"
        ],
        "DisabledLocalMetadataReaders": [],
        "LocalMetadataReaderOrder": [
          "Nfo"
        ],
        "DisabledLyricsFetchers": [],
        "SaveLyricsWithMedia": true,
        "LyricsDownloadMaxAgeDays": 180,
        "LyricsFetcherOrder": [],
        "LyricsDownloadLanguages": [],
        "DisabledSubtitleFetchers": [],
        "SubtitleFetcherOrder": [],
        "SkipSubtitlesIfEmbeddedSubtitlesPresent": false,
        "SkipSubtitlesIfAudioTrackMatches": false,
        "SubtitleDownloadLanguages": [],
        "SubtitleDownloadMaxAgeDays": 180,
        "RequirePerfectSubtitleMatch": true,
        "SaveSubtitlesWithMedia": true,
        "ForcedSubtitlesOnly": false,
        "HearingImpairedSubtitlesOnly": false,
        "TypeOptions": [
          {
            "Type": "BoxSet",
            "MetadataFetchers": [
              "TheMovieDb"
            ],
            "MetadataFetcherOrder": [
              "TheMovieDb"
            ],
            "ImageFetchers": [
              "TheMovieDb",
              "Dynamic Image Provider",
              "FanArt"
            ],
            "ImageFetcherOrder": [
              "TheMovieDb",
              "Dynamic Image Provider",
              "FanArt"
            ],
            "ImageOptions": []
          }
        ],
        "CollapseSingleItemFolders": false,
        "EnableAdultMetadata": false,
        "ImportCollections": false,
        "MinCollectionItems": 2,
        "MinResumePct": 3,
        "MaxResumePct": 90,
        "MinResumeDurationSeconds": 120,
        "ThumbnailImagesIntervalSeconds": -1,
        "SampleIgnoreSize": 314572800
      },
      "ItemId": "126485",
      "Id": "126485",
      "Guid": "2faa6a99f9d24feabfeab2f97e3764d7",
      "PrimaryImageItemId": "126485"
    },
  "TotalRecordCount": 1
}

 

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.

image.thumb.png.6456eda4edb910897e8c635551a74abb.png

 

@GrimReapercan you copy this into the Tutorial/Guide section.

YOU HAVE GOT TO BE KIDDING ME!

I don't have a clue what I am looking at!
I don't have any coding experences.

WHY DID THEY CHANGE THIS!

 

Link to comment
Share on other sites

Happy2Play
Just now, Smitty018210 said:

WHY DID THEY CHANGE THIS!

Too many users complaining about the library.

Link to comment
Share on other sites

Smitty018210
6 minutes ago, Happy2Play said:

Too many users complaining about the library.

So they made it impossible for someone like me to have it!

Just make the dang thing an option that you can turn off!

This product gets worse and worse ever update.

Edited by Smitty018210
Link to comment
Share on other sites

GrimReaper
4 minutes ago, Happy2Play said:

@GrimReapercan you copy this into the Tutorial/Guide section.

 

Link to comment
Share on other sites

Smitty018210

@Happy2PlayEven if I understood what on earth you posted, Dose this work in the theater app or just the web browser?

Link to comment
Share on other sites

pünktchen
4 minutes ago, Happy2Play said:

Too many users complaining about the library.

Ironically, it's now the other way around. And what makes this decision even worse is that it was always possible to hide the collection library in user settings.

  • Like 1
  • Agree 1
Link to comment
Share on other sites

Happy2Play
Just now, Smitty018210 said:

@Happy2PlayEven if I understood what on earth you posted, Dose this work in the theater app or just the web browser?

Just test and the link to API is in ET also.  But it just opens in browser.

Link to comment
Share on other sites

Smitty018210
Just now, Happy2Play said:

Just test and the link to API is in ET also.  But it just opens in browser.

I'm just going to stop using this product. Every time I turn around these devs change something and I loose functionality.

That collection menu option on the homepage was the number one thing I used!

 

Link to comment
Share on other sites

mbender1123

I'll just say, the api looks a lot harder than it is. If you can get to the correct page, it's just copying his code and pasting it. 

Link to comment
Share on other sites

Smitty018210
Just now, mbender1123 said:

I'll just say, the api looks a lot harder than it is. If you can get to the correct page, it's just copying his code and pasting it. 

Happy said it doesn't work in theater app that it opens webpage. That dose not work for me.

On top of that I shouldn't need to be coder to have this option. I don't have a clue what anything he posted means. ZERO. I have no coding experience.

Link to comment
Share on other sites

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...