Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Howto: VLC and Smplayer (mode audio)

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Howto: VLC and Smplayer (mode audio)

#1 Post by bester69 »

Two scripts.:

savlc.sh

Code: Select all

#!/bin/bash
#
vlc --no-video "$@" 2> /dev/null &
samplayer.sh

Code: Select all

#!/bin/bash
#
SMPATH="$HOME/.config/smplayer"
SAPATH="$HOME/.altconfiglocal/smplayer"
smsource="$SMPATH/smplayer.ini"
smtarget="$SAPATH/smplayer.ini"
mkdir -p "$SMPATH" "$SAPATH"

rsync -av --delete --link-dest="$SMPATH/" "$SMPATH/" "$SAPATH/"
rm "$smtarget"
sed 's!mplayer_additional_options="--hwdec-codecs=all"!mplayer_additional_options="--hwdec-codecs=all --no-video"!' $smsource > $smtarget

XDG_CONFIG_HOME=$HOME/.altconfiglocal smplayer "$@" 2> /dev/null &
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

Post Reply