Hello everyone,
I have a dozen of audio playlists (.m3u files) which I would like to assign to different buttons on the remote. I would like to have EG run the playlist as though I'm double clicking the playlist in windows and have windows launch whichever application is associated with the playlist.
I've tried the macro Start Program but that doesn't let me run nonexecutables. I get the, "%1 is not a valid Win32 application" error. My current work around is to create a batch file for each playlist. But that is not an elegant solution. My question is how can I launch non executables in EG like media files and such? I've searched the forums but couldn't come up with anything. Any help is appreciated.
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Launching non executables (winamp playlist)
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Launching non executables (winamp playlist)
You can use the Multitap plugin and do for themselves "Jukebox".
Attached is an example of configuration.
You need something to change:
1) If you do not have the latest beta version (0.3.7), you need to install it
2) Add plugin, required for your remote control
3) In the "Multitap" folder assign events from your remote control. Events "Egon" you can delete. These are from my remote control.
4) Make a list of your playlists, following the example in action "Python Script"
5) In the action "Start Program: winamp.exe" change the path to your file winamp.exe
Application is simple. On your remote control press number 17 and Winamp starts to play your "Playlist 17.m3u". Number corresponds to the order in the list of playlists (counting from zero).
Pako
Attached is an example of configuration.
You need something to change:
1) If you do not have the latest beta version (0.3.7), you need to install it
2) Add plugin, required for your remote control
3) In the "Multitap" folder assign events from your remote control. Events "Egon" you can delete. These are from my remote control.
4) Make a list of your playlists, following the example in action "Python Script"
5) In the action "Start Program: winamp.exe" change the path to your file winamp.exe
Application is simple. On your remote control press number 17 and Winamp starts to play your "Playlist 17.m3u". Number corresponds to the order in the list of playlists (counting from zero).
Pako
- Attachments
-
- BadKarma-TEST.xml
- (5.49 KiB) Downloaded 108 times
Re: Launching non executables (winamp playlist)
Yep you could go the python way and learn a bit of scripting.
But for a more specific answer the Start program plugin and as command 'cmd.exe /c "start C:\playlist.m3u"' will do the trick. Set to start hidden in EG. This will launch whatever is associated with that file in windows, just like double clicking it would do.
But for a more specific answer the Start program plugin and as command 'cmd.exe /c "start C:\playlist.m3u"' will do the trick. Set to start hidden in EG. This will launch whatever is associated with that file in windows, just like double clicking it would do.
Re: Launching non executables (winamp playlist)
Pako,
Thank you for the detail instruction and the config file. I will take a look at it and try to adapt it to my needs.
jinxdone,
Very nice. I didn't know you can use cmd.exe like that.
Thank you.
Cheers.
Thank you for the detail instruction and the config file. I will take a look at it and try to adapt it to my needs.
jinxdone,
Very nice. I didn't know you can use cmd.exe like that.
Thank you.
Cheers.