Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

  1. #11
    Join Date
    Jul 2012
    Beans
    6

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    Quote Originally Posted by shantiq View Post
    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.
    Last edited by sysaxed; July 7th, 2012 at 01:28 PM.

  2. #12
    Join Date
    Jul 2012
    Beans
    6

    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.
    Last edited by sysaxed; July 7th, 2012 at 01:49 PM.

  3. #13
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    Quote Originally Posted by shantiq View Post
    ...
    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

  4. #14
    Join Date
    Dec 2006
    Beans
    7,349

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    Quote Originally Posted by Toz View Post
    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 .
    You think that's air you're breathing now?

  5. #15
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    Quote Originally Posted by sysaxed View Post
    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 black and white and i am happy again 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
    sudo chmod 755 /home/yourusername/.moc/config
    Last edited by shantiq; July 27th, 2012 at 08:54 AM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  6. #16
    Join Date
    Jul 2012
    Beans
    6

    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
    Last edited by sysaxed; July 28th, 2012 at 01:14 PM.

  7. #17
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    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?
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  8. #18
    Join Date
    Jul 2012
    Beans
    6

    Re: Discussion - https://help.ubuntu.com/community/PlayMusicFromCommandLine

    Quote Originally Posted by shantiq View Post
    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.

  9. #19
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    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



    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
    Last edited by shantiq; October 11th, 2012 at 09:03 AM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •