Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine
Quote:
Originally Posted by
shantiq
not better [sound much muted compared to nvlc/mplayer but certainly another route that can be used/ is there a way to change the blue-grey color or is it the only one?
Was it about moc?
If yes, then you can change themes by pressing T (case sensitive). (looks like this key is not even documented, found it by accident)
You can even create custom themes. All themes are stored here /usr/share/moc/themes (manual said, that they should be in ~/.moc/themes , but that's not true)
The problem is that I'm unable to find a way to make it persist. Every time I restart moc it returns to default theme...
There's a way to change config file but I can't even find it.
Sound volume is okay on my machines.
Maybe you change software mixer in moc?
Try pressing x a few times to change the current mixer or you can try pressing w to disable software one.
Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine
ALRIGHT! Got it working.
So you create a new file in /home/yourusername/.moc called "config"
Now add this line to your config file(for example):
Code:
Theme = /usr/share/moc/themes/darkdot_theme
Please don't forget to end your config file with a newline, otherwise you'll see this error
Code:
FATAL_ERROR: Parse error at the end of the config file (need end of line?)!
Now change permissions of your config file, otherwise you'll get this error:
Code:
FATAL_ERROR: Configuration file is not secure: /home/alex/.moc/config
By default I had
Owner: read and write
Group: read and write
Other: read only
not executable
Changing group from "read and write" to "read only" fixed this problem.
I was looking for other options and found some guy who posted his config file here:
http://dotfiles.org/~chillu/.moc/config
And here is some nice article http://blog.jwcxz.com/?p=547
By the way, when installing moc you might want to install moc-ffmpeg-plugin too for playing other file formats.
Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine
Quote:
Originally Posted by
shantiq
...
Vasa
As regards creating a playlist
go into your Music folder right-click on any music file OR folders
/copy/ paste into a text editor & save as playlist.m3u
then play that playlist ...
Done. And thank you :)
Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine
Quote:
Originally Posted by
Toz
My understanding is that mpg123 is non-free (in that you can't distribute the code) whereas mpg321 is the opensource version.
I believe there is no licensing problem with Thomas Orgis's work with mpg123, license problems were with an older version. But I have been wrong before :).
1 Attachment(s)
Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine
Quote:
Originally Posted by
sysaxed
Was it about moc?
If yes, then you can change themes by pressing T (case sensitive).
thanx man sorry just saw that today had not visited here for a while
thanx for all spot-on detailed info:KS black and white and i am happy again:KS and yes as good as nvlc::]] cuefiles not recognized tho but navigation is a dream ; really well designed [added ffmpeg plugin as advised]
sound is ok now dont know what it was when i last tried it
PS on reloading found that to set the new theme manually did not stick
so had to use this to make it stick
Quote:
sudo chmod 755 /home/yourusername/.moc/config
Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine
Oh, by the way!
Default moc config file is located here
/usr/share/doc/moc/examples/config.example.gz
And this is wrong:
Code:
sudo chmod 755 /home/yourusername/.moc/config
And this is correct(config file doesn't have to be executable)
Code:
sudo chmod 644 /home/yourusername/.moc/config
Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine
i see. but does it matter if it is made executable?
wasnt sure so picked that instead of not
what is the difference?
Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine
Quote:
Originally Posted by
shantiq
i see. but does it matter if it is made executable?
wasnt sure so picked that instead of not
what is the difference?
It simply does not need to be executable, it's not a script, it's a config file.
My approach gives minimal needed permissions to a file.
Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine
added this route with ffplay too [thanx to info nothingspecial gave me]
cd to Music folder then
Quote:
for i in */
do
cd "$i"
for f in nocaseglob nullglob *.{flac,ape,wv,m4a,aac,mp4,mp3,shn,wma,tta} ; do ffplay -nodisp -autoexit "$f"; done
cd ..
done
set up a full player