[RELEASE] Library Editor script
#46
(2015-07-26, 06:49)Dave the Minion Wrote: OK got the sort title to come up (without errors) in the options list. But it doesn't seem to access the actual sorttitle from the metadata. So getting there but not quite arrived yet.

Thanks for all the help to this point though!

Yea, the sorttitle edit comes up blank but what you enter will get added to the database at c10.
The only thing I can think of to retrieve the sorttitle from the db is a json request. As I stated earlier there is no infolabel that I could find.

PHP Code:
elif actionstring == "sorttitle" :
    
self._edit_db_string("",self.TYPE,"sorttitle"

replacing the "" (empty string) with the json request for the sorttitle like so...

PHP Code:
elif actionstring == "sorttitle" :
    
self._edit_db_string(xbmc.executeJSONRPC(.............),self.TYPE,"sorttitle"

Good luck, when I get some free time later in the week I will have a closer look, that's if you haven't already got it sorted. Wink
Reply


Messages In This Thread
[RELEASE] Library Editor script - by phil65 - 2013-03-09, 20:52
RE: [RELEASE] Library Editor script - by crni - 2013-03-11, 21:20
RE: [RELEASE] Library Editor script - by Gade - 2013-03-14, 00:55
RE: [RELEASE] Library Editor script - by User 55003 - 2015-07-26, 09:37


Logout Mark Read Team Forum Stats Members Help
[RELEASE] Library Editor script3
This forum uses Lukasz Tkacz MyBB addons.