The Script 2008 Album Download //TOP\\ Zip
the script is written in python, using the pygobject python bindings. it uses dbus to get the current state of the dbus session bus. this is where it obtains the file url from, and from that it knows the target file server's address. for megasceneryearth, the script contacts the script on the file server. this script is defined in a dbus interface and must have been defined in the root megasceneryearth/scripts directory before the script can be used.
the script 2008 album download zip
the script does not need to be added to the megasceneryearth menu. it needs to be in the scripts directory on the file server. it does not need to be run by root. it does not need to be in root's crontab. it needs to be run by the one who has access to the file server.
the script does not need to be run in the background. it just needs to be called in the manner it is. if it is run by root, it will be run as a cronjob to make sure it is always up to date. it will only start running if there is at least one file in the folder.
for the sceneries, and the new album art, i added extra logic so that it looks for art_id = '-1' and adds the artwork if it finds it. for other sceneries with no artwork, it just skips that step and skips adding the track.
that's about it. after i write the next script to parse the file metadata, i will modify this script to parse the file metadata. once the file metadata is parsed, it will then look for the track art. once it finds the track art, it will add the track art to the database. that way the database will be up to date when the next file is downloaded.