You are here

VLC: automatically launch file

8 posts / 0 new
Last post
glederfein
Offline
Last seen: 15 years 10 months ago
Joined: 2008-09-07 09:55
VLC: automatically launch file

Hi all!
I use VLC Portable mainly to listen to my favorite jazz station (WBGO). Anyways, I'm getting tired of always having to copy the streaming audio link of the station into VLC. Is there a way for the stream to automatically load once I open VLC? That would be very useful.

Thanks in advance for any assistance,
glederfein

USBman
Offline
Last seen: 2 years 5 months ago
Joined: 2006-10-11 17:43
Bookmarks?

While I don't know for sure, I would imagine messing around with Settings -> Bookmarks might help you out.

Can anyone comment on this idea??

wk
wk's picture
Offline
Last seen: 1 year 3 months ago
Joined: 2007-09-05 12:31
So here we go

Open Notepad Portable and create a bat.file

Start .\..\..\..\PortableApps\VLCPortable\VLCPortable.exe -- http://wbgo.streamguys.net/listen.pls

Replace the strong part by the address of your favourite stream (for wbgo it should be: http://wbgo.streamguys.net/listen.pls)
Put the bat into the vlc folder next to VlcPortable.exe . If you have the normal PortableApps folder structure it should work. Since PAM doesn´t recognize the bat you have to convert it to an exe by an Bat2exe converter like this one
http://www.f2ko.de/Deutsch/b2e/download.php choose your icon and "invisible application" and put the created exe into your vlcPortable Folder
Refresh the menu icons in PAM Options -> your created exe should appear and OnClick should start your stream; if you use the PAM R34 Mod you can also set your new exe to autostart Wink

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

glederfein
Offline
Last seen: 15 years 10 months ago
Joined: 2008-09-07 09:55
Thank You!

Thanks wk!
That was very helpful!
Didn't know about PAM R34 Mod. It's so useful to autorun my apps!

wk
wk's picture
Offline
Last seen: 1 year 3 months ago
Joined: 2007-09-05 12:31
errm

a small problem I ´ve found this morning (wondered why the second start was much faster than the first):
vlc started with the bat described above leaves some files in %appdata% called vlcrc and cachedirtag,that seem to be more of general content than of personal, but it should be mentioned - haven´t found a way to avoid them, yet ...

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

Bart.S
Offline
Last seen: 4 months 4 days ago
Developer
Joined: 2008-07-23 07:56
So here we go - Part II
  • open VLC Portable
  • open Settings -> Preferences (Ctrl-S)
  • select Playlist
  • add your favorite stream to "Default stream"
glederfein
Offline
Last seen: 15 years 10 months ago
Joined: 2008-09-07 09:55
cool

Hey, that's a lot easier!

wk
wk's picture
Offline
Last seen: 1 year 3 months ago
Joined: 2007-09-05 12:31
rrright..

this one´s better for one favourite and doesn´t leave anything behind..
I´ve used the bats as "station buttons" at home, have never used them at work, so I wondered why my first start at work this morning has been a lot slower than it was at home -> Vlcportable isn´t waiting till vlc.exe is closed, so the settings are stored in the default %appdata% and the next startup is rather fast..-> not good...

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

Log in or register to post comments