If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Plex for Samsung 2.002 Illegal sort field sent to PMS for photos

sa2000sa2000 Posts: 29,436Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

Scrolling down to the Photos Library, moving cursor to first displayed composite icon for a photos folder (first recently added), request from Plex for Samsung 2.002 to PMS 0.9.12.1 fails because it is using an invalid sort field for the request

 

May 25, 2015 14:21:06:306 [13480] DEBUG - [PlexforSamsung] [Main.js] - ################# Starting Gridview #################
May 25, 2015 14:21:06:308 [14100] DEBUG - [PlexforSamsung] [Main.js] - LOADING [Main.onLoadGridView] , direction: forward
May 25, 2015 14:21:06:308 [13516] DEBUG - [PlexforSamsung] [Main.js] - Main.nextPageUrl: http://192.168.1.82:32400/library/metadata/93219/children
May 25, 2015 14:21:06:309 [14256] DEBUG - [PlexforSamsung] [Main.js] -  onLoadGridView getfilterUrl: [http://192.168.1.82:32400/library/metadata/93219/children/all?sort=:desc]
May 25, 2015 14:21:06:310 [13480] DEBUG - [PlexforSamsung] [Pager.js] - Pager url: http://192.168.1.82:32400/library/metadata/93219/children/all?sort=%3Adesc&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
 
May 25, 2015 14:21:06:329 [13420] DEBUG - Request: [192.168.1.79:50424] GET /library/metadata/93219/children/all?sort=%3Adesc&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&X-Plex-Container-Start=0&X-Plex-Container-Size=18 (8 live) GZIP
May 25, 2015 14:21:06:330 [13420] VERBOSE -  * sort => :desc
May 25, 2015 14:21:06:330 [13420] VERBOSE -  * X-Plex-Token => xxxxxxxxxxxxxxxxxxxx
May 25, 2015 14:21:06:330 [13420] VERBOSE -  * X-Plex-Container-Start => 0
May 25, 2015 14:21:06:330 [13420] VERBOSE -  * X-Plex-Container-Size => 18
May 25, 2015 14:21:06:333 [11448] DEBUG - [PlexforSamsung] [Main.js] - view: grid load completed.
May 25, 2015 14:21:06:335 [13420] DEBUG - Setting container serialization range to [0, 17] (total=-1)
May 25, 2015 14:21:06:335 [13420] ERROR - Exception handled: Invalid field for sort: 
May 25, 2015 14:21:06:336 [5784] DEBUG - Completed: [192.168.1.79:50424] GET /library/metadata/93219/children/all?sort=%3Adesc (8 live) GZIP Page 0-17 46ms 368 bytes 500 (pipelined: 25)
 
May 25, 2015 14:21:06:499 [13480] DEBUG - [PlexforSamsung] [Content.js] - Content Create ContentList
May 25, 2015 14:21:06:500 [14100] DEBUG - [PlexforSamsung] [Content.js] - Media XML Server Error 500
May 25, 2015 14:21:06:501 [13420] DEBUG - [PlexforSamsung] [Content.js] - an error occured
May 25, 2015 14:21:06:503 [13480] DEBUG - [PlexforSamsung] [Content.js] - Error: 
May 25, 2015 14:21:06:504 [13456] DEBUG - [PlexforSamsung] [Content.js] - Internal server error
 
I suspect this sort is not valid in this context or for the selection ?
 
Error message on screen is
 
There seems to be a problem
Request could not be completed 
The server reported back with an error
 

Help given free on forums.            Fee-Based Personal Support & Help.        

_______________________________________________________________________________________

Plex Support Information              Troubleshooting               FAQs

Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
 

Best Answer

  • sa2000sa2000 Posts: 29,436Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
    edited May 2015 Accepted Answer

    Fixed in 2.002 !

    I thought i had 2.002 but was 2.001 when Samsung Apps told me it was 2.002. Uninstall and Re-Install successfully installed 2.002. The Automatic Update obviously went wrong and was actually 2.001 even when Samsung Apps said 2.002 was installed

    Now Request is done as

    GET /library/metadata/93219/children/all?sort=titleSort%3Aasc
    

    In 2.001 it was done as

    GET /library/metadata/93219/children/all?sort=desc
    

    and

    GET /library/metadata/93219/children/all?sort=%3Adesc

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     

Answers

  • OrcaOrca Plex for Samsung Developer Posts: 7,407Members, Plex Pass, Plex Ninja Plex Ninja

    Could you tell me the reproduce steps, I can't seem to reproduce this on the latest version.

    Have you checked if your answer might be in the User Manual?
    My Samsung environment:

    2010 BD-C5500 Blu-Ray,
    2011 UE46D7000 LED-TV,

    2012 BD-ES6000 Blu-Ray,

    2014 UE55HU8500L UHD LED TV

    If you enjoy this free app, you can buy me a beer by making a Donation

  • sa2000sa2000 Posts: 29,436Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
    edited May 2015 Accepted Answer

    Fixed in 2.002 !

    I thought i had 2.002 but was 2.001 when Samsung Apps told me it was 2.002. Uninstall and Re-Install successfully installed 2.002. The Automatic Update obviously went wrong and was actually 2.001 even when Samsung Apps said 2.002 was installed

    Now Request is done as

    GET /library/metadata/93219/children/all?sort=titleSort%3Aasc
    

    In 2.001 it was done as

    GET /library/metadata/93219/children/all?sort=desc
    

    and

    GET /library/metadata/93219/children/all?sort=%3Adesc

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
Sign In or Register to comment.