epoch1970;419909 Wrote: > About the JS timeout thing. I saw Michael's response. I didn't try the > plugin. Do you have a link that allows for refresh by clicking on it, > when JS is disabled? (other skins, perhaps). > If any applicable, I was ready to suggest a <noscript> structure, but > then I learnt that would show my age. This seems better: > http://dev.opera.com/articles/view/replacing-noscript-with-accessible-un/The > page *works* as-is with the Classic skin and javascript disabled. But I think I'll follow your suggestion and try <noscript> for now to make sure the page is fully functional. Thanks for that. epoch1970;419909 Wrote: > Sorry this is a bit of hijack of the thread. I wrote this: > http://forums.slimdevices.com/showthread.php?t=62944 in the SC forum. > Would you consider mounting/dismounting USB a part of server power > control? There is one obvious problem, I think: when unmounting, the > plugin should (in my case) "freeze" the ability to play local music and > (in all cases) to rescan. I don't know how this is possible. Would you > care to share your thoughts on this ? > Can you describe the circumstances when you want to unmount / mount? Is this hardware capable of anything resembling S3 suspend? With the drive off-line, do you need the server to otherwise remain on-line?
Re unmount / mount via some UI: You could always modify SrvrPowerCtrl by editing strings.txt and relabeling the "Hibernate" option and calling it "Unmount External Drive" or something along those lines. Then have the "Unmount" command in the settings point to your own script that unmounts the drive. In a similar fashion, hijack another command in strings.txt to create the "mount" option. If what you're after is automatic unmount / mount, have the suspend command point to your own script that performs the unmount before suspending the system. Then point SrvrPowerCtrl's "On wakeup command" at your own custom script that will remount the drive. That way, a WOL of the server will cause SrvrPowerCtrl to call your script to remount the drive. In terms of "freezing" aspects of the SqueezeCenter UI after drive unmount...the easiest way to do this is just to put the server into suspend. "Unfreezing" would be accomplished via a WOL. PS: I removed your French translations of strings.txt a couple of beta releases ago. I had messed up the UTF8 encoding when moving the file between windows and linux machines. At some point, I'd like to return them to the strings.txt file. Strings.txt has changed a fair amount since you did those translations. Would you be willing to look at this again with me after the 1st official, non-beta release of the plugin? -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
