solabc16 379 Posted January 25, 2016 Share Posted January 25, 2016 Morning I've been trying to add a specific season from a TV series to a collection, and although you can go through the motions in the UI without any errors, they do not actually get added. Here's an example:- - Browse to the series you wish to add to the collection... - Select add to collection, pick the collection and hit ok... - Nothing, either in the Metadata Manager or the Collections media UI... Any ideas? Best - James Link to comment Share on other sites More sharing options...
solabc16 379 Posted January 25, 2016 Author Share Posted January 25, 2016 (edited) Here's the request and response when trying to add this item... http://192.168.236.105:8096/emby/Collections/7fae8dfcf65df8bb9c31dd4a42562aa7/Items?Ids=652f143925fcd8415240336c540aaac0POST /emby/Collections/7fae8dfcf65df8bb9c31dd4a42562aa7/Items?Ids=652f143925fcd8415240336c540aaac0 HTTP/1.1Host: 192.168.236.105:8096User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-GB,en;q=0.5Accept-Encoding: gzip, deflatex-mediabrowser-token: d18a652678a247678ff63e147835d1adx-emby-authorization: MediaBrowser Client="Emby Web Client", Device="Web Browser 43.0", DeviceId="47a93a200c72dd24dfab333b6336d016b40ee4f6", Version="3.0.5786.0", UserId="0e338bf82b684e2e9601d46c1ec78c68"Referer: http://192.168.236.105:8096/web/dlg1453724259867Origin: http://192.168.236.105:8096Cookie: stay_login=1; id=Ny0NQlSR48sAU1520MHN133502Connection: keep-aliveContent-Length: 0HTTP/1.1 204 No Contentx-ua-compatible: IE=EdgeX-Frame-Options: SAMEORIGINVary: Acceptx-powered-by: ServiceStack/4.00 Unix/Monoaccess-control-allow-origin: *access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONSaccess-control-allow-headers: Content-Type, Authorization, Range, X-MediaBrowser-Token, X-Emby-AuthorizationServer: Mono-HTTPAPI/1.0Date: Mon, 25 Jan 2016 12:17:49 GMTContent-Length: 0 This is what shows up in the server log... 2016-01-25 12:27:48.6461 Info HttpServer: HTTP POST http://192.168.236.105:8096/emby/Collections/7fae8dfcf65df8bb9c31dd4a42562aa7/Items?Ids=652f143925fcd8415240336c540aaac0. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.02016-01-25 12:27:48.6488 Debug ProviderManager: Saving /usr/local/emby/var/data/collections/24 Season 7 [boxset] to Emby Xml.2016-01-25 12:27:48.7095 Debug App: Saving /usr/local/emby/var/data/collections/24 Season 7 [boxset] to database.2016-01-25 12:27:48.7115 Info HttpServer: HTTP Response 204 to 192.168.236.108. Time: 65ms. http://192.168.236.105:8096/emby/Collections/7fae8dfcf65df8bb9c31dd4a42562aa7/Items?Ids=652f143925fcd8415240336c540aaac0 Here's the request and response when trying to add this item's parent... http://192.168.236.105:8096/emby/Collections/7fae8dfcf65df8bb9c31dd4a42562aa7/Items?Ids=426544b507186b97dc7f83761993b5ecPOST /emby/Collections/7fae8dfcf65df8bb9c31dd4a42562aa7/Items?Ids=426544b507186b97dc7f83761993b5ec HTTP/1.1Host: 192.168.236.105:8096User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-GB,en;q=0.5Accept-Encoding: gzip, deflatex-mediabrowser-token: d18a652678a247678ff63e147835d1adx-emby-authorization: MediaBrowser Client="Emby Web Client", Device="Web Browser 43.0", DeviceId="47a93a200c72dd24dfab333b6336d016b40ee4f6", Version="3.0.5786.0", UserId="0e338bf82b684e2e9601d46c1ec78c68"Referer: http://192.168.236.105:8096/web/dlg1453724376505Origin: http://192.168.236.105:8096Cookie: stay_login=1; id=Ny0NQlSR48sAU1520MHN133502Connection: keep-aliveContent-Length: 0HTTP/1.1 204 No Contentx-ua-compatible: IE=EdgeX-Frame-Options: SAMEORIGINVary: Acceptx-powered-by: ServiceStack/4.00 Unix/Monoaccess-control-allow-origin: *access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONSaccess-control-allow-headers: Content-Type, Authorization, Range, X-MediaBrowser-Token, X-Emby-AuthorizationServer: Mono-HTTPAPI/1.0Date: Mon, 25 Jan 2016 12:19:43 GMTContent-Length: 0 Edited January 25, 2016 by solabc16 Link to comment Share on other sites More sharing options...
solabc16 379 Posted January 25, 2016 Author Share Posted January 25, 2016 On the server side, this is the contents of the file /usr/local/emby/var/data/collections/24 Season 7 [boxset]. The empty CollectionItem elements I suspect are from my various attempts to add the content and of course, being invisible in the UI, can't delete them again. I suspect the problem observed here relates to the 'Series 7' element of the path, as it is a virtual representation created by the server to group seasons. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <Item> <Added>01/24/2016 11:34:39</Added> <LockData>false</LockData> <LocalTitle>24 Season 7</LocalTitle> <DisplayOrder>PremiereDate</DisplayOrder> <CollectionItems> <CollectionItem> </CollectionItem> <CollectionItem> </CollectionItem> <CollectionItem> </CollectionItem> <CollectionItem> </CollectionItem> <CollectionItem> </CollectionItem> <CollectionItem> </CollectionItem> <CollectionItem> </CollectionItem> <CollectionItem> </CollectionItem> <CollectionItem> <Path>/volume1/EmbyServer/TV/24 Season 7 - Deleted Scenes</Path> </CollectionItem> <CollectionItem> </CollectionItem> <CollectionItem> </CollectionItem> </CollectionItems> <Shares> <Share> <UserId>0e338bf82b684e2e9601d46c1ec78c68</UserId> <CanEdit>true</CanEdit> </Share> </Shares> </Item> Best - James Link to comment Share on other sites More sharing options...
Luke 37113 Posted January 25, 2016 Share Posted January 25, 2016 I'm not sure. I just tested it with no problem found. Link to comment Share on other sites More sharing options...
solabc16 379 Posted January 25, 2016 Author Share Posted January 25, 2016 Hi Luke Version is 3.0.5786.0, running on Synology. I've looked at it a little more today. I can confirm it only happens when the item you attempting to add to the collection is a server generated container, e.g. Series 7 in this case, but same occurs for say Series 1, Series 2, etc. If the path to the content equates to a physical path that actually exists as part of a configured library, everything works as expected. Best - James Link to comment Share on other sites More sharing options...
ebr 14929 Posted January 25, 2016 Share Posted January 25, 2016 You mean you don't actually have a "Season" folder in that series? All the episodes are all in the parent folder? Since collections are linked by path, I can see how that would be a problem. Link to comment Share on other sites More sharing options...
solabc16 379 Posted January 25, 2016 Author Share Posted January 25, 2016 Hi - yes, although it wasn't intentional - at least initially. After adding them, when I looked in Metadata Manger, I saw the server had automatically used the season numbers from the metadata to create containers for each season. This worked fine when browsing in Metadata Manager, and from the Web and Theatre front ends. I haven't had a chance to look at the source today, but I figured that this behaviour was unlikely to be accidental and therefore by design. I've put the folder structure in place this evening, and as noted there is no problem when the path exists physically. ----- The reason this came about in the first place, was a result of working on trying to create a reasonable representation of a boxset within Emby. I decided to dump some miscellaneous content together in a top level folder, i.e. at the TV Show Level, which I could then link to a collection. The problem I ran into occurred because of the server inserting a pseudo container based on the season number. This container also appears in the Web and Theatre UIs, thus needing an additional click to get to the content, which I'd tried to workaround by linking directly to it in the collection. Best - James Link to comment Share on other sites More sharing options...
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