butchabay Wrote:We've done an option to choose where all the game stuff can be customized by the user in Cirrus Extended. The code for fanart image and extrafanart is in myprograms.xml the trailer and thumbs are in the respective view file.
Ok... If skinners have the possibility to use extrafanarts functionnality for programs without the use of a specific Listitem value... I will let it how it is.
Angelscry Wrote:Ok... If skinners have the possibility to use extrafanarts functionnality for programs without the use of a specific Listitem value... I will let it how it is.
Please do it, I don't care if I have to code more but what butch has done needs an extra script (you add another variable so the chances for problems go up) and more user setup (steps) is needed and have limitations as all games have to be in a same root folder. I think the solution is not very good and its messy, a ListItem is way better for users and functionality.
KiSUAN Wrote:Please do it, I don't care if I have to code more but what butch has done needs an extra script (you add another variable so the chances for problems go up) and more user setup (steps) is needed and have limitations as all games have to be in a same root folder. I think the solution is not very good and its messy, a ListItem is way better for users and functionality.
Ok... I will keep the ListItem.Trailer assigned to the fanarts folder path. But as you said, it is not the good ultimate solution.
This is not the way it is, the games haven't to be in the same root. The game path is only for media like extrafanart, extrathumb and trailer.
You'll don't need any extra script, just a setting to locate the path for all your media.
Anyway, finally it's Angelscry decision.
Cheers
butchabay Wrote:We've done an option to choose where all the game stuff can be customized by the user in Cirrus Extended. The code for fanart image and extrafanart is in myprograms.xml the trailer and thumbs are in the respective view file.
But what if the user has the extra fanart in different locations, and also it would depend on how are the launchers stored/ folder structure etc. if you make it a property as listitem.trailer or whatever you can simply use listitem.trailer/extrafanart to locate the fanart
butchabay Wrote:This is not the way it is, the games haven't to be in the same root. The game path is only for media like extrafanart, extrathumb and trailer.
You'll don't need any extra script, just a setting to locate the path for all your media.
Anyway, finally it's Angelscry decision.
Cheers
For coding purposes I can't really say if Butchabay is doing it the best way but from a user standpoint I think it is working out rather well.
Set up ALA and have your games launching from wherever you want/need. Then have a folder with all all of your extrathumbs and fanarts in a different folder. Then just tell the skin to look in your game art directory for the images.
Ok, I get the script part wrong, mixed things, my fault, but is the same in concept. User still has to have all the game media in same root path, has to create a path specific for the extrafanrt, thumb, trailer and assign it in the skin.
A "Listitem" linked to the ALA fanart path is much practical for user and doesn't needs to create/keep/assing extrafanrt specific paths and folders.
It's not a coding issue, it's a functionality issue. And anyway this doesn't means butch needs to change his system, he can keep it.
KiSUAN Wrote:Ok, I get the script part wrong, mixed things, my fault, but is the same in concept. User still has to have all the game media in same root path, has to create a path specific for the extrafanrt, thumb, trailer and assign it in the skin.
A "Listitem" linked to the ALA fanart path is much practical for user and doesn't needs to create/keep/assing extrafanrt specific paths and folders.
It's not a coding issue, it's a functionality issue. And anyway this doesn't means butch needs to change his system, he can keep it.
I think I will add a specific extrafanart tag. So, every body then will have the possibility to select exactly where will be located the extrafanart directory for each launcher and each rom. This extrafanart tag will be assigned to the ListItem.trailer value.
Version 1.0.2 : This new version of the Advanced Launcher bring the extra fanarts support and improve the search option.
Extra Fanarts: You have now the possibility to select for each launchers and each items the path where will be located the extra fanarts images. Because the
ListItem.Path value always returns the add-on path for XBMC programs, the
ListItem.Trailer value is used to assign the extra fanarts path.
Search Option: You can now make search by title, release date, system platform, studio and genre. For title search, you will be asked to enter the query text. For other searches you will have to select the query into the proposed list.
Changelog- Add extra fanart support for launchers/items
- Add extra fanart path selection for launchers/items
- Assign ListItem.Trailer to launchers/items fanarts path tags
- Improve search options (search by genre, studio, release, etc...)
GREAT WORK!!
Thank you very much and sorry for being such a pain in the ass
Keep getting an error while trying to attach an emulator. Error occurs after all launcher settings have been entered (paths, etc.). Any clues?
19:46:24 T:65500 M:4294967295 NOTICE: -->Python Interpreter Initialized<--
19:46:24 T:65500 M:4294967295 NOTICE: Mode AddOn ON
19:46:24 T:65500 M:4294967295 NOTICE: C:\Users\Jamie\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher
19:46:24 T:65500 M:4294967295 NOTICE: Launcher: found 0 launchers
19:46:42 T:66504 M:4294967295 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/
19:46:42 T:66504 M:4294967295 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/) failed
19:46:42 T:65940 M:4294967295 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
19:46:44 T:66076 M:4294967295 NOTICE: -->Python Interpreter Initialized<--
19:46:44 T:66076 M:4294967295 NOTICE: Mode AddOn ON
19:46:44 T:66076 M:4294967295 NOTICE: C:\Users\Jamie\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher
19:46:44 T:66076 M:4294967295 NOTICE: Launcher: found 0 launchers
19:47:06 T:66504 M:4294967295 ERROR: XFILE::CDirectory::GetDirectory - Error getting H:\Games\SNES\snes9x.exe
19:47:06 T:66504 M:4294967295 ERROR: CGUIDialogFileBrowser::GetDirectory(H:\Games\SNES\snes9x.exe) failed
19:47:17 T:66504 M:4294967295 ERROR: XFILE::CDirectory::GetDirectory - Error getting H:\Games\SNES\snes9x.exe
19:47:17 T:66504 M:4294967295 ERROR: CGUIDialogFileBrowser::GetDirectory(H:\Games\SNES\snes9x.exe) failed
19:47:22 T:66076 M:4294967295 ERROR: Error Type: exceptions.KeyError
19:47:22 T:66076 M:4294967295 ERROR: Error Contents: extrafanartpath
19:47:22 T:66076 M:4294967295 ERROR: Traceback (most recent call last):
File "C:\Users\Jamie\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 19, in ?
plugin.Main()
File "C:\Users\Jamie\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 171, in __init__
if (self._add_new_launcher()):
File "C:\Users\Jamie\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 1609, in _add_new_launcher
self._save_launchers()
File "C:\Users\Jamie\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 894, in _save_launchers
usock.write("\t\t<extrafanartpath>"+launcher["extrafanartpath"]+"</extrafanartpath>\n")
KeyError: extrafanartpath
19:47:22 T:66504 M:4294967295 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/
19:47:22 T:66504 M:4294967295 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/) failed
19:47:22 T:66072 M:4294967295 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
KiSUAN Wrote:Spanish Translation Update v1.0.2 Spanish String.xml
Thank you very much. Your translation has been added to the last version.