2010-05-14, 00:32
I am a recent Apple convertie who got over from PC just recently, 1 year about. In windows I used a selfmade script (vbscript) to tag folders of which episodes I have been watching and it also sent the foldername to a database so I could keep track even if I deleted the episode from the disk. What the script did by a contextmenubutton was to change the icon of the folder by putting in a desktop.ini file in the folder telling it to display another icon (in this case a cross). Then it did a http-request to a site with the foldername as parameter for store in an Accessdatabase. I now wonder if I could make the same thing work but with a plugin for XBMC?
Basicaly what I want to do is a plugin that...
1. Lists folders within given SMB-shares
2. Check subfolders for desktop.ini file
a. if the file is there show a cross
b. if the folder is not there show a normal foldericon
3. Then there needs to be a shortcut/button/option to tag the folder after successfull watching
Tagging the folder should do the following
1. Create a desktop.ini file in the folder
2. Submit the foldername via HTTP-request
Is the above possible with XBMC's Plugin API or would I possibly need to make a webservice to serve as backend?
Basicaly what I want to do is a plugin that...
1. Lists folders within given SMB-shares
2. Check subfolders for desktop.ini file
a. if the file is there show a cross
b. if the folder is not there show a normal foldericon
3. Then there needs to be a shortcut/button/option to tag the folder after successfull watching
Tagging the folder should do the following
1. Create a desktop.ini file in the folder
2. Submit the foldername via HTTP-request
Is the above possible with XBMC's Plugin API or would I possibly need to make a webservice to serve as backend?