![]() |
|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
General Discussion For anything which doesn't fit somewhere else (for PHEX users) |
![]() |
| LinkBack | Thread Tools | Display Modes |
| |||
![]() Hi everyone. I've put some work into getting phex to invoke an external "player" (viewer/whatever) on demand. I decided this would be useful if people were going to really benefit from the new segment scheduling work I did. I need some feedback to go any further with though. But first to bring you up-to-date with the current version in CVS (which is later than the latest beta release): Next to the "search" button on the download screen there's a "preview" command which I've tested on windows (2k/xp) and linux. It looks at the file's extension and starts up the applicable viewer. If desired, there can be a "fallback" viewer to use when the extension isn't recognised. (The suffix is actually matched as a regular expression, btw) Part of my configuration file looks like this: previewMethod_jpe?g=/usr/local/bin/firefox %u previewMethod_mr\\d=/usr/bin/splay %s which uses firefox for .jpg and .jpeg files and splay for .mp2 and .mp3 files. (%s is substituted for the filename, %u for its URL). On windows, "cmd /c %s" seems to do pretty much the same as what double-clicking on the file would do. Ok now the problems: Defaults: - does it make sense to have any default players, or is it best to leave everything blank? - If I did put some defaults in, they'd be OS-specific. I can detect this when phex is run, but I don't know sensible values for other systems - in particular, OSX. Security: - how can I make sure people don't introduce viruses/trojans/etc onto their systems by inadvertently running those files? GUI - would you be happy enough editing the configuration file, or is it worth the effort fiddling with the dialog boxes (and not making other improvements to phex)? - and most importantly, does anyone want to make a little (16x16) icon for this button? :-) anyway, hope you like the changes when you see them. The more feedback I get, the more chance this feature works as you'd like it to. |
![]() |
| |
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
integrating emule kad network in java | thommi | New Feature Requests | 0 | June 23rd, 2006 09:43 AM |
integrating limewire and itunes | iwent2coolschool | Download/Upload Problems | 9 | August 25th, 2005 06:47 PM |
Integrating with iTunes | freakshowseer | General Windows Support | 1 | June 9th, 2005 11:04 AM |
integrating i Tune playlist | jeanclaude | Mactella (Macintosh) | 2 | September 9th, 2002 06:16 PM |
Phex.jar file | Sher | General Discussion | 2 | March 20th, 2002 07:33 PM |