General discussion

Here you can discuss everything related to MOC which doesn't fit other subforum.

save playlist elsewhere?

I know "V" is for saving and naming a playlist, but is there a way to choose where to save it?
I'd like to have just one folder in ~ where I save all my lists for easy access.

Autopause after x minutes or x song count

Folks; thanks in advance for the help... I have a little project that I'm working on for my young son with some motor skill disabilities. In a nutshell, I'm building him a tiny ex-thin client linux box that will be his jukebox for playing music at night. I have also built a large button that functions basically as a huge single-key USB keyboard that (on my mac, at least) works great as a play/pause button. The goal is this - I can set the box up to run in command line with MOC running, MOC looks for the specified directory, in my case a mounted thumb drive, allowing me to add or subtract music by pulling the drive... or possibly networking it if I get ambitious.

Long story short, I want him to be able to hit the button and start the music, then go to sleep and have the songs, which up till this point have been playing in an endless (possibly random) loop to pause after a specified amount of time, like 30 minutes or an hour. Then, if he wakes up in the night, he can simply hit the giant button next to his bed and start the music playing again, for another 30 minutes or whatever.

I'm a total newb at scripting, but I can see two angles to this - some settings inside of MOC that will allow for a certain number of minutes or songs to play before pausing or else setting up a script that will keep track of a timer and then startup/shutdown MOC appropriately.

I suppose I could set up a playlist of the correct duration and have it cease at the end, but I would LOVE the flexibility to hand the player a list of 4 gigs of songs and have it just pull randomly without having to manually create lists to suit the fickle whims of a child.

At the end of it all, I want a small box that hides behind a dresser with a single button mounted to the wall and some speakers that plays music for 30 minutes at a time when you press the button. It would also be awesome if pressing the button paused mid-play run.

Ideas?

which kill signal to get regular termination (that equals shift+Q inside the program)

Hi, im using 2.5.0-alpha4 on debian/aptosid.

Sometimes I like to kill mocp with a certain delay, so I use sleep && killall mocp.
When I use the killall method, mocp seems to terminate in an other way than when I press "Shift+Q" from inside the terminal. This means my current playlist won't be cached. Shame.
I tried to send different termination signals via killall -s[3,6,15] mocp.
Signal 3 (SIGQUIT) seems to work in some cases, but i can't figure out when and how - sometimes it just leaves a zombie moc.
Maybe there would be another way to kill mocp without having to figure out the PID of the mother process in the first place?

No visible files from inside

After compiling "Version : 2.5.0-beta1" I am not able to see any of the mp3 files from the mocp list. Though both directory structure and playlist files are visible. Do I need to take care of some extra stuff before compiling or in config file.
I am on os kubuntu12.04 with kernel 3.2.0-29-generic. Help needed as I am missing my fav player :(

Bug: Playback not corresponding to progressbar

How to reproduce:

1. Start playing a FLAC file
2. Use hot keys to change position in file. I tried skipping forward holding Left Arrow for a couple of seconds, and also pressing Left/Right Arrow once.
3. Progress bar shows the time in track you skipped to, but _playback occasionally starts from the very beginning of the file_.
4. Pressing Left/Right Arrow again moves you to a point in file which now corresponds to the progress bar.

This occurs only with FLAC files -- I was unable to reproduce this with an .ape or .wv file, tried many times on different files; didn't try other formats.

Version : 2.5.0-alpha4
Built : Feb 26 2012 16:00:51
Compiled with : OSS ALSA JACK DEBUG internet streams resample

OnSongChange and OnStop don't work

I am unable to execute any commands using OnSongStart or OnStop. The config works in general — for example, I choose output driver or create Exec commands with no issues. I tried using various commands with OnSongStart from echo 1 > /home/user/file to gksu halt — absolutely nothing works, so this is not the bad environment variables problem.

I am Using Debian Sid, mocp --version is

Version : 2.5.0-alpha4
Built : Feb 26 2012 16:00:51
Compiled with : OSS ALSA JACK DEBUG internet streams resample

Config file: http://pastebin.com/C6SBgj0p

Could not find codec parameters (err -1)

Hi.

I was using MOC without problems until a upgrade of my OS, now when I want to play somethig this messege appear: Could not find codec parameters (err -1)

I'm using Debian Wheezy with the multimedia repository and the config file that appear here: http://corenominal.org/howto-setup-moc-music-on-console/

Cheers.

hide controls

Hi! I want to hide/remove controls from MOC interface: http://savepic.org/2552133.jpg
It is possible?
All i want - directories, playlist and seek bar.

Pages

Subscribe to RSS - General discussion