v l c whatchamacallit

Jude DaShiell jdashiel at shellworld.net
Fri Dec 12 16:09:12 UTC 2014


You make aliases stick by storing them in the vlc configuration file.  
One feature vlc really needs to get is after any alias command inside 
vlc or any other command a user might want to save to vlc configuration 
file especially in command line environment vlc ought to give them an 
opportunity to append that alias to the vlc configuration file and if 
that file doesn't already exist, vlc ought to be able to roll a default 
file and add those aliases to that file.  Command line users are the 
red-headed stepchildren here I think.

On Thu, 11 Dec 2014, Shlomi Fish
wrote:

> Hi Paul,
> 
> On Wed, 10 Dec 2014 11:40:55 -0800
> Paul Merrell <marbux at gmail.com> wrote:
> 
> > On Wed, Dec 10, 2014 at 8:08 AM, Shlomi Fish <shlomif at shlomifish.org> wrote:
> > 
> > > Use the "alias" command:
> > >
> > > [QUOTE]
> > >> get_title
> > > Atomic Kitten- The Tide is High-EPFk0X1p2fs.flv
> > >> gt
> > > Error in `gt' libvlc's "gt" is not a command
> > > Unknown command `gt'. Type `help' for help.
> > >> alias gt get_title
> > >> gt
> > > Atomic Kitten- The Tide is High-EPFk0X1p2fs.flv
> > >>
> > > [/QUOTE]
> > >
> > > I don't see a way to make it permanent at startup except by using something
> > > like:
> > 
> > Search your file system for a file named .bashrc (note the leading
> > period). Usually this will be in your /home/username directory.  Add
> > your aliases to this file. It is read into your bash shell's allocated
> > memory any time you start a bash session. If you change or remove some
> > aliases during the current session, you can reload the .bashrc back
> > into the session with:
> > 
> 
> I'm familiar with bash's .bashrc and .bash_profile, but it won't help for
> setting up rvlc aliases, because rvlc does not use bash, but its own internal
> command loop written in Lua :
> 
> http://git.videolan.org/?p=vlc.git;a=blob;f=share/lua/intf/cli.lua;h=5af1e736caf1ec5e8fe34b04965fab67bf8be74d;hb=HEAD
> 
> This command loop does not recognise Bash's aliases.
> 
> Regards,
> 
> 	Shlomi Fish
> 
> -- 
> -----------------------------------------------------------------
> Shlomi Fish       http://www.shlomifish.org/
> The Case for File Swapping - http://shlom.in/file-swap
> 
> Joel?s Generalisation: If it happens to you, it happens to everybody.
> (Or: It?s never only you.)
>     ? Based on http://www.joelonsoftware.com/news/20020402.html
> 
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list

jude <jdashiel at shellworld.net>
Twitter: @jdashiel




More information about the Blinux-list mailing list