Tips and Tricks About Computers, Web Development, Linux, the Internet and the Like
Using Nautilus Scripting Abilities to Integrate Right Click File Enqueues with mocp
Using moc player can prove to be both beneficial and challenging. I’ve found myself going back to exaile for a few hours on random days for the simplicity in file management via a GUI. Since I prefer to use a single media player and mocp is light weight and helpful in so many other ways to me… I knew I needed a solution. It dawned on me just today how simple that solution could be with nautilus scripts.
#!/bin/bash # Enqueue with mocp # by Tyler "-z-" Mulligan # # This is a nautilus script. When placed in ~/.gnome2/nautilus-scripts # and chmod +x you will have the ability to right click >> enqueue files # or directories in mocp. # mocp -a "$@"
Some other tips… [ and ] silently skip back and forward respectively at a rate of 5sec per second held… this beats the left and arrows which work interactively at 1sec per sec.
? and h bring up the help, don’t forget this. Use this, learn the commands that work for you and happy listening.
Thanks to MrBougo again for helping me simplify the script further… I was originally using a for loop which is unnecessary as the quotes will help the variable expansion and mocp -a can accept multiple files/folders.
| Print article | This entry was posted by Tyler Mulligan on November 8, 2009 at 10:09 am, and is filed under Bash, Computers, Software, Ubuntu, open source. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
No comments yet.
- Making Life Easier With Scripts For Nautilus | Hilltop Yodeler
- Adding context (right click) menu options to nautilus (Ubuntu’s default file manager) with nautilus-actions | Do Know Evil – Tyler Mulligan’s Tips and Tricks
- Packages for nautilus you wish were installed by default in ubuntu | Do Know Evil – Tyler Mulligan’s Tips and Tricks