![]() |
|
Pictures database and library mode; scan EXIF and IPTC metadata tags into a SQL db - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Development (/forumdisplay.php?fid=32) +--- Forum: Python Add-on Development (/forumdisplay.php?fid=26) +--- Thread: Pictures database and library mode; scan EXIF and IPTC metadata tags into a SQL db (/showthread.php?tid=80845) |
- fiveisalive - 2011-01-11 09:03 Another quick buglet, when viewing pics by date, it appears to have the direction reversed. i.e. if the arrow is pointing down, I would expect the pics in the list to be from oldest (at the top) to newest (at the bottom). but the plugin reverses this, so that up sorts from oldest to newest. also oldest to newest should probably the default direction since that's the most consitent the direction at the month and year level. - solexalex - 2011-01-11 13:52 thank you (once again) for your feedbacks. I don t know how to work with strings. I always have trouble when i add or change some strings. I already thought how i could fall into default language but never succeeded. I use sometimes string formating which replace %s with a value in my code. It is more flexible but can cause troubles if %s are missing... The only solution i think of is to work with french and give a translation when releasing in the repo... I m open with any of your suggestions. As for picture sorting, my addon does not act on the order of the pics. It just feed the item with the date and xbmc itself sorts the pics depending which sens of order is set. I will have a look to see if i can arbitrary set this from the addon but i m not sure it is possible. - fiveisalive - 2011-01-12 22:46 solexalex Wrote:thank you (once again) for your feedbacks. It's not so bad whilst it's just an SVN problem. I figured that the main xbmc would have guidelines and/or code to support fallback to a default language for the Python bindings, but maybe not. Quote:As for picture sorting, my addon does not act on the order of the pics. It just feed the item with the date and xbmc itself sorts the pics depending which sens of order is set. I looked at the built in Pictures application, and it does appear that when the arrow points "up" (at least in the Aeon MQ 2 skin), that the dates go from oldest to newest and vice-versa when the arrow is "down", so your addon works the same way, so no change needed there. I think the thing that is different is that MyPicsDB appears to default to the arrow going "down", and hence pics sort from newest to oldest. I think it would be best if the default was the other way around: i.e. oldest to newest for consistency with year and month views. - solexalex - 2011-01-13 00:15 I understand what you mean about the ordering of the files. I've seen something to change the order from the code, but can't find it anymore. It is not in the python XBMC libraries so I have to look around. Maybe using this I can change the order to show elder pictures first. Could you send me your strings.xml english file please ? svn #167 - mhdebokx - 2011-01-17 09:54 subversion #167 works great - new feature of browsing categories is implemented - smb scanning network drives including user and password works great - solexalex - 2011-01-17 10:03 thank you !! If you are testing last svn, be aware that english strings are not uptodate and so the addon may crash. Did you think about sending me you own translations ?? - fiveisalive - 2011-01-17 10:43 solexalex Wrote:I understand what you mean about the ordering of the files. Here are my English translations against SVN r171: http://fpaste.org/9DMj/ I renamed "Periods", "Date ranges", because I think that sounds more natural to English speakers and reworded some other items (e.g. "Perform scan now!" should really be "Perform scan on addon startup", because that's when it occurs). - solexalex - 2011-01-17 11:30 yes i changed so many times the strings that some are not correct at all. Thanks for the strings. I have to create some graphics item and then you can except soon a new official version. - solexalex - 2011-01-18 21:39 svn #174 : Added : browse by "supplemental categories" once again, thanks to mhdebokx As now there are a lot of items in the main container, I added a setting category dedicated to add/remove items you want to show/hide on main screen. - solexalex - 2011-02-01 20:40 svn #180 added a browsing by countries and cities (IPTC fields) As a lot of items are present in the main menu, and as thos items may not interest everyone, you may edit the items you want to show. |