Jump to content


Photo

Can't set Icons

icons

  • Please log in to reply
5 replies to this topic

#1 Tuxedo OFFLINE  

Tuxedo

    Member

  • Members
  • 20 posts
  • Local time: 12:51 PM
  • LocationSeattle, WA

Posted 19 December 2015 - 11:15 PM

Running 3.0.5781.5. I'm not sure I ever could set icons. The images show in the server manager for the folders I have set up, because assigning to Primary works (as do Backdrop, Thumb, Logo, Menu), but not in the Library view in the web UI nor in the Android TV app.

 

When I upload an image and try to set its type to Icon I get this:

2015-12-19 19:04:43.5811 Info HttpServer: HTTP POST http://mini.tuxedo:8096/emby/Items/086e3be64d4b7f4a43f49e5294f890d5/Images/Icon. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
2015-12-19 19:04:43.5822 Error HttpAsyncTaskHandler: Error occured while Processing Request: Unable to bind request
        *** Error Report ***
        Version: 3.0.5781.5
        Command line: /Applications/Emby.Server.Mac.app/Contents/MacOS/Emby.Server.Mac
        Operating system: Unix 15.0.0.0
        Processor count: 4
        64-Bit OS: False
        64-Bit Process: False
        Program data path: /Users/Tuxedo/.config/emby-server
        Mono: 3.10.0 ((detached/d1a1ea3)
        Application Path: /Applications/Emby.Server.Mac.app/Contents/MonoBundle/Emby.Server.Mac.exe
        Unable to bind request
        ServiceStack.Host.RequestBindingException
          at ServiceStack.Host.RestHandler.CreateRequest (IRequest httpReq, IRestPath restPath) [0x00000] in <filename unknown>:0
          at ServiceStack.Host.RestHandler.ProcessRequestAsync (IRequest httpReq, IResponse httpRes, System.String operationName) [0x00000] in <filename unknown>:0
        InnerException: System.Runtime.Serialization.SerializationException
        KeyValueDataContractDeserializer: Error converting to type: The requested value 'Icon' was not found.
        propertyName: Type
        propertyValueString: Icon
        propertyType: MediaBrowser.Model.Entities.ImageType
          at ServiceStack.Serialization.StringMapTypeDeserializer.PopulateFromMap (System.Object instance, IDictionary`2 keyValuePairs, System.Collections.Generic.List`1 ignoredWarningsOnPropertyNames) [0x00000] in <filename unknown>:0
          at ServiceStack.Host.RestPath.CreateRequest (System.String pathInfo, System.Collections.Generic.Dictionary`2 queryStringAndFormData, System.Object fromInstance) [0x00000] in <filename unknown>:0
          at ServiceStack.Host.RestHandler.CreateRequest (IRequest httpReq, IRestPath restPath, System.Collections.Generic.Dictionary`2 requestParams, Boolean createContentTypeRequest) [0x00000] in <filename unknown>:0
          at ServiceStack.Host.ServiceController.<RegisterService>b__4 (IRequest req) [0x00000] in <filename unknown>:0
          at ServiceStack.Host.Handlers.ServiceStackHandlerBase.GetCustomRequestFromBinder (IRequest httpReq, System.Type requestType) [0x00000] in <filename unknown>:0
          at ServiceStack.Host.RestHandler.CreateRequest (IRequest httpReq, IRestPath restPath) [0x00000] in <filename unknown>:0
        InnerException: System.ArgumentException
        The requested value 'Icon' was not found.
          at System.Enum.Parse (System.Type enumType, System.String value, Boolean ignoreCase) [0x00000] in <filename unknown>:0
          at ServiceStack.Text.Common.JsReader`1+<>c__DisplayClassc`1[ServiceStack.Text.Jsv.JsvTypeSerializer,MediaBrowser.Model.Entities.ImageType].<GetCoreParseFn>b__6 (System.String x) [0x00000] in <filename unknown>:0
          at ServiceStack.Serialization.StringMapTypeDeserializer.PopulateFromMap (System.Object instance, IDictionary`2 keyValuePairs, System.Collections.Generic.List`1 ignoredWarningsOnPropertyNames) [0x00000] in <filename unknown>:0

2015-12-19 19:04:43.5822 Info HttpServer: HTTP Response 400 to 192.168.1.42. Time: 1ms. http://mini.tuxedo:8096/emby/Items/086e3be64d4b7f4a43f49e5294f890d5/Images/Icon

Edited by Tuxedo, 19 December 2015 - 11:16 PM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135852 posts
  • Local time: 04:51 PM

Posted 19 December 2015 - 11:27 PM

Ah - pick another type. type Icon is something that's in the upload form but we never actually ended up using it. I will remove it from the UI. Thanks.



#3 Tuxedo OFFLINE  

Tuxedo

    Member

  • Members
  • 20 posts
  • Local time: 12:51 PM
  • LocationSeattle, WA

Posted 20 December 2015 - 11:32 PM

Well, how do you set icons? I tried setting images for nearly every other type and they never show up on Android TV or on the Web UI's Home view, and then after removing all the icons I'd set, emby on Android TV never reverted back to the defaults (the main folders now have no icons) and in the Web UI's Home view one icon refuses to go away.

 

In the Web UI I see this:

 

5677694d04459_webui.png

 

Recently I found some of the themes people have posted on here and decided to use the Flat EHS set. There's nothing in the Wiki about setting images or what the different image types mean. After uploading those icons for each folder as Primary and Thumbnails, I get this:

 

567769830d288_libraryfull.png

 

But still no change to the Web UI nor Android TV, even though those images persist after server restarts in Media Library and if I look at the photos in the Metadata Manager.

 

In ~/.config/emby-server/root/default/Home\ videos I noticed that besides the landscape.png that I'd uploaded there was also a 1920x1080 landscape.jpg that was the offending icon I can't get rid of. In Media Library I cleared out all the icons I had set. Initially they looked like the defaults in Media Library (Home and Android TV didn't change back to the defaults). landscape.jpg didn't leave the filesystem, though the landscape.png I'd uploaded did. After a restart, Media Library just shows blank icons for everything. Home still has the one icon, and on the Android TV all the folders images are still blank.

 

After manually deleting all the images in root/default, I got the landscape.jpg I don't want to come back by running a library scan. That doesn't bring back any of the other images in that folder if I've deleted them from the filesystem but not through the UI, just that one.

 

Unrelated: loading the images for Photos always takes several seconds where everything else is instant, in both Media Library and Metadata Manager.


Edited by Tuxedo, 20 December 2015 - 11:36 PM.


#4 emha OFFLINE  

emha

    Newbie

  • Members
  • 7 posts

Posted 29 December 2015 - 09:39 AM

I want also implement icons. Doesn't work.
If i Upload the Icon via Embyserver, i can find the file in the correct place but it doesn't shown, when i Start the iOS-App or the webinterface or in emby App at firetv.

Edited by emha, 29 December 2015 - 09:44 AM.


#5 emha OFFLINE  

emha

    Newbie

  • Members
  • 7 posts

Posted 16 January 2016 - 05:21 AM

I've solved the problem for me.
I delete the users and set them new.
Now its work.
  • Luke likes this

#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135852 posts
  • Local time: 04:51 PM

Posted 16 January 2016 - 11:12 AM

Well done







Also tagged with one or more of these keywords: icons

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users