Addon-Install options and background-scripts
#1
Hello Community.

i've created a podcast-addon. It can handle opml.files and organized it in a folder structure. Additional it tracks, which article was "readed"(listened) and which not.

Till now, everything works well. but know i need two things.
How can i tell, the plugin-installer, to prepare a defined folder-structure in the userdata/plugins/<plugin>/-folder. I need some initial (editable) files. Is there any standartized way, to do this? Or do i have do handle it, in my pyhton-script aka "if (firstrun) ..."?

Second: To display the user, which articels are new/unreaded, the script have to gather all xml-files, parse them and check against local stored files. This takes some time. My opml files list around 20 podcast and it takes 20 till 30 seconds to gather all information on the initial screen. I would prefer id, to install a script, who is runned (in background) at the start and rerunned after a well defined time (f.e: 30 minutes) to build a index, so the user-experience speed up.
Reply


Messages In This Thread
Addon-Install options and background-scripts - by Raptor 2101 - 2010-09-13, 18:45
[No subject] - by chippyash - 2010-09-13, 21:24
[No subject] - by Raptor 2101 - 2010-09-14, 22:46
[No subject] - by chippyash - 2010-09-14, 23:48
[No subject] - by chippyash - 2010-09-14, 23:51
[No subject] - by chippyash - 2010-09-15, 00:03
[No subject] - by Raptor 2101 - 2010-10-02, 20:49
[No subject] - by nchall - 2010-10-06, 01:25
[No subject] - by Raptor 2101 - 2010-10-10, 21:59
[No subject] - by nchall - 2010-10-12, 00:35
[No subject] - by Raptor 2101 - 2010-10-12, 19:38
Logout Mark Read Team Forum Stats Members Help
Addon-Install options and background-scripts0