Muss: a new way to control mpd with dmenu

muss is fast and simple. It allows you to type a few word fragments and then it automatically creates a playlist with all matching music files. The interface is bimodal: either pure command-line search (similar to plait) OR a dmenu-based browse interface showing all of your music files as you enter keywords. Again, the difference from other mpd controllers is that ALL of the matching items from dmenu get put into the playlist, not just one. (This ability to return multiple results requires a small patch to dmenu, as described in the documentation)
For code and docs, see https://github.com/dbro/muss
Suggestions and comments are welcome.
Dan

A new way to keep up with all the Office 365 Dev news, tips and tricksToday we’re excited to announce The Office Dev Show, a new dedicated Channel 9 show devoted to all things Office 365 dev-related. The show, hosted by Sonya Koptyev, will include guests from the Office 365 Extensibility engineering team, as well as key community members. The show will feature new code and capabilities that have been added for devs to customize the Office platform, including the desktop, online and mobile versions, as well as a series on how to “Get Started” building on the platform. The Office Dev Show airs weekly, on Wednesdays.The first show, released on July 17, 2015, features an interview with Yina Arenas, senior program manager, who describes all the great features available in the Office 365 unified API Preview.Upcoming showsIn the following...

Similar Messages

  • Best way to control voltage with my code?

    I need to be able to control current and voltage of a power supply. What would be the best way to implement this with my code? I realize that I need to use a DAQmx Start and Stop task. I *think* I would like the task to start when the user runs the program. The voltage and current should be 0 when I start it, or a really low number.
    Currently, the program I am working off of using TraditionalDAQ. It uses 'AO Write One Update.vi' to update the voltage and current. 
    How can I use DAQmx to achieve the same? Is it possible to also have the DAQmx code in an event structure in the same way?
    Can I do this in my event structure, in a new event? The code below shows my code. There are two loops, the bottom one handles acquisition and logging. The top one handles the events.

    There are an excellent series of NI Tutorials on DAQmx.  Not that they are easy to find, but start here:  DAQmx White Papers.  This is an especially useful White Paper:  The Top 10 DAQmx Functions.
    Something that also helps a lot is to configure your device using MAX (and use MAX to run it to be sure it is working correctly).  Once you have it configured, save it as a Task, which encapsulates all of the "picky details" (such as channel names/numbers, sampling rates, clock sources, etc.).  When you go to write your code, simply right-click on the Start Task VI and create a constant, expand the Constant (which should show you MAX's Tasks), and choose the Task you just created.  No need for numerous confusing DAQmx Configuration VIs.
    Bob Schor

  • 'Control Shockwave or SWF' Deprecated (CS4) – What is the new way of controlling a swf

    Hi I have been asked to insert some background music into a website with a simple on/off button.  Following the Adobe Help files I created a SWF file using flash and inserted it into a page and named it. This is working when uploaded but without any control yet. I created a text link and gave it a null link (javascript:;) After selecting the link and choosing ‘Behaviors’, and finding the ‘control shockwave or SWF ‘(in the deprecated folder) the ‘movie:’ drop down selector has found my file. I select’ Go to frame’ and type in 2 (as advised in the help file), and click OK. I get the message about Netscape which I ignore and choose OK, and then I get another message ‘Please select a Shockwave object name or click cancel’. There is only one SWF file and it is already selected. I am experiencing a problem here, however,does anyone know if there is a more up-to-date way of achieving what I am trying to do considering that the behaviour is deprecated anyway? Any help appreciated Thanks

    You build your control interface in flash. When you publish your flv flash will create 2 files one for the controls and one for your 'normal' swf file.
    You must upload both these files to the server for it to work.
    PZ

  • [Solved] Control MPD with Macbook Pro Play/Pause keys

    I have mpd installed and working with ncmpcpp as the client.
    I have a 17" C2D 9600GT Mac book Po.
    I have pommed installed and working.
    I'm using openbox, but I sometimes use awesome when I feel like it.
    I think that's all you really need to know. This is probably really simple, but I'm not sure how to do it.
    I would like the play/pause key to play/pause, skip forward key to skip forward and the skip back to skip back.
    This is a little unrelated, but if any of you have a macbook pro you would know about the alternate to the F3 key. In mac It takes all of your active windows and tiles them across the screen so you can select what window. In awesome, to change the tiling mode you press Command(super)+space. Can I make that alternate F3 key mapped to this?
    Thanks guys.
    Last edited by starfox5194 (2011-01-10 22:14:48)

    Got it all set. Thanks dude. That link helped quite a bit.
    Just in case anyone was wondering, I ended up figuring out what the keys were mapped to and assigned them to control mpc via the rc.xml for openbox.
    So basically, copy and paste this into your rc.xml as long as your keys are mapped to XF86 correctly.
    <keybind key="XF86AudioPrev">
    <action name="Execute">
    <execute>mpc prev</execute>
    </action>
    </keybind>
    <keybind key="XF86AudioPlay">
    <action name="Execute">
    <execute>mpc toggle</execute>
    </action>
    </keybind>
    <keybind key="XF86AudioNext">
    <action name="Execute">
    <execute>mpc next</execute>
    </action>
    </keybind>
    Last edited by starfox5194 (2011-01-10 22:14:34)

  • Controlling mpd via dmenu

    Hi,
    i already posted the script in the "Post your handy self made command line utilities" thread, but probably hardly anybody will look at the programming forum when searching for something like this.
    I hope it is ok to post it again here, if not feel free to delete this topic (if you are a mod)
    This script lets you select any track of your current mpd playlist via dmenu and makes mpd play it immediately.
    I think it is pretty useful when bound to a keyboard shortcut in any tiling wm.
    Yes, it took only a few minutes to do this, but maybe you'll find it useful nontheless.
    #!/bin/bash
    mpc play `mpc playlist | sed -e "s/^>/ /" | dmenu -i | grep -P -o "^ \d+" `

    i think we need a dmenu hacks thread, hehe.  anyway here's my version of the same thing (did someone say bikeshed?)
    mine accepts search parameters or 'all' to put up the whole playlist.  that way i can search from CLI or bind the 'msearch all' to a key as mentioned.
    example:
      msearch a love supreme
      msearch led zeppelin
      msearch all
    #!/bin/bash
    if [ -f $HOME/.dmenurc ]; then
    . $HOME/.dmenurc
    else
    DMENU='dmenu -i'
    fi
    if [ $# -eq 1 -a "$1" = "all" ]; then
    mpc --no-status play $(mpc playlist --format '%title% by %artist%' | cut -c 2- | sed 's/)/ -/g' | $DMENU | awk '{print $1}')
    else
    mpc --no-status play $(mpc playlist --format '%title% by %artist% #| %album%' | cut -c 2- | sed 's/)/ -/g' | grep -i "$*" | cut -d '|' -f 1 | $DMENU | awk '{print $1}')
    fi
    i also keep a file at $HOME/.dmenurc that contains the DMENU variable so my 4 different dmenu scripts can all source it and keep consistent font/colors which i can change easily from one file.

  • I have 3dparty software wirelessly with a cryptographic authentication system without my consent (seems to be new technology developed by stanford) obtaining ownership of my iPhone 4s software and controlling it with remote device to jail break. Now what?

    I have 3rd party software wirelessly injected and used on my iphone with a cryptographic authentication system without my consent (seems to be new technology developed by stanford and apple security is not updated for this technology) obtaining ownership of my iPhone 4s software and controlling it with remote device to jail breaking my phone, adding and removing software, changing settings all from a remotely controled device from different location (I have a Mac address I'd of this device to know for sure). Almost undetectable. When I look at the legal section of my phone it shows a list of all the unauthorized 3rd party software "as is" copyright encrypted on the phone.  This is the most basic way to legally steal software of any kind.  Because of this legalality 3rd party ownership have total control of certain software correlated with hardware use including visualization technology, etc.  most people luckily will never have this happen to them so it's unlikely many readers have not a clue of what I'm saying currently.  Either way, without needing to obtain specific warranty of any kind "as is" copyright control makes system restores not a solution because the source code is not directly encrypted on the actual hardware device only a copy right notice must appear on the specific device 3rd party software validation making it extremely difficult for me to take control of the situation. Apple claims their iOS technology prevents this type copyright obstruction from being possible, however, according to my phone a new form of technology was used developed by Tom wu of Stanford university called the STANFORD SRP AUTHENTICATION TECHNOLOGY which uses Some form of cryptographic authentication system and uses quote "secure remote password" which seems to suceed in hacking iOS apple technology apple claims is not possible to jailbreak an unstolen phone or without the owners consent As well as loading the device with 3rd party copyright Notices to make all of this legalized. My phone shows atleast 30 pages worth of legalized 3rd party copyright permissions! Yesterday my apple care provider labeled me a jailbreaker and refused to look at my legal documented proof which completely blew my mind because it voides my apple care contract I spent 100 on. This employee did not take all factors into consideration and made quick assumptions as well as verbally speaking to me as I'm an automatic criminal. I left the store yesterday with no payed insurance help on a problem I had no control over and couldn't prevent, leaving with voided contracts. This is an apple users worst nightmare and I have spent days researching all of this like i am some kind of lawyer only to be able to use my phone the way it should and spent alot of money on.  I can legally backup any claim I have just wrote above currently and have a large source of data collected to prove apple is wrong in voiding insurance support on this issue. The problem lies in apple avoiding and not wanting to believe their software can legally be obtained ot "hacked". Yet still labeled a jailbreaker basically.. What should I do????? Been to local apple store 3 times and rebooted my phone as well sprint service restore 4 times and spoke with reps twiice on the phone. Spoke with my phone provider who said apple has full control over these matters so they can't help me.  My case is according to apple "still open"...Anyone else heard of this or of Stanford's office of technology licensing? Maybe I need to buy a blackberry again or just use a landline so I can stop being my own lawyer and focus on other productive areas in life instead of this horrible mess. I shouldn't have to prove to apple I not a jailbreaker they should have to prove I'm one before voiding support I desperately need!!

    Mullaly75 wrote:
    I assume u guys don't understand what open source software is
    Yes, I think most of us do understand what open source software is. It sounds as if you don't. Here's some information:
    Open-source software (OSS) is computer software that is available in source code form: the source code and certain other rights normally reserved forcopyright holders are provided under an open-source license that permits users to study, change, improve and at times also to distribute the software.
    Open source software is very often developed in a public, collaborative manner. Open-source software is the most prominent example of open-sourcedevelopment and often compared to (technically defined) user-generated content or (legally defined) open content movements.
    from http://en.wikipedia.org/wiki/Open_source_software
    Yes, Tom Wu of Stanford wrote a paper on something called Secure Remote Access Protocol. It's a form of Asymetric Key Exchange and has nothing to do with hacking anything. It's actually intended to protect data.

  • I bought a second apple tv and would like to control it with the remote app but cannot find a way to add a second device.  Anyone have an idea how to do that?

    I bought a second apple tv and would like to control it with the remote app but cannot find a way to add a second device.  Anyone have an idea how to do that?

    I'm having the same issue and would like to get some help.  I set up a second Apple TV in our bedroom and wanted to be able to control it using my iPhone like I do with the Apple TV in the living room.  The new Apple TV is active on the network and I've made sure the same Apple ID is used for both the Apple TV as well as the Remote App on my iPhone.  I'm just wondering what I might be overlooking.

  • Is there any way to control an iPod with a lock via USB cable?

    I have an iPod touch 4th generation, but I dropped it. The touchscreen no longer works, which is most likely a hardware error (I've tried resetting it). I plan to get a new device, but before that, I would like to be able to unlock it to access certain files and transfer codes inside. I know the lock password to my iPod; is there any way I could control it with my computer?
    Thanks.

    You may be able to get some info from the restored/erased iPod by:
    How to perform iPad recovery for photos, videos
    Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official     
    http://www.amacsoft.com/ipod-data-recovery.html
    iPod recovery software to restore lost music files      
    http://www.pcrecoverytools.com/ipod-data-recovery.html
    -iPod touch Deleted Photo Recovery Tips You Should Know

  • Is there a way to stop being bombarded with IAds when playing games on the iPad? This is a very annoying new way to advertise Apps.

    Is there a way to stop being bombarded with IAds when using games on my IPad? Is this a new way to advertise Apps?

    If these are the free versions of the games, buy the full version and the iAds should go away. The developer can offer the app for free by selling advertising. If the developer is going to give the app away, he has to be paid for his work somehow.
    There may be some paid apps that might include iAds as well. In those instances, the developer includes the ads in order to subsidize the cost of the app to the end user in order to reduce the cost of the app. You should always read the app description when you download any app to make sure that you know what you are getting into - with regard to ads and in-app purchases.
    Games are the worst offenders - IMO. Many "free" games become totally useless after you reach a certain level or if you reach your limit in lives or potions or things like that. If you want to continue in the game, you than have to make in-app purchases for levels, lives, potions, beads, whatever. You can rack ip quite a bill playing those "free" games if you are not aware of what you are getting into.

  • I have an iMac purchased new about 5 years ago with OS 10.4.11. I would like to upgrade to Lion. I currently have a 2.33 GHz Intel Core 2 Duo processor with 2 GB of ram. Can I upgrade to Lion, and what is the best way to do so?

    I have an iMac purchased new about 5 years ago with OS 10.4.11. I would like to upgrade to Lion. I currently have a 2.33 GHz Intel Core 2 Duo processor with 2 GB of ram. Can I upgrade to Lion, and what is the best way to do so?

    From what I read here:
    http://www.tuaw.com/2011/06/06/lion-...u-2-gb-of-ram/
    s long as they already have Snow Leopard 10.6.8 installed in it.All a person needs to do with that type of iMac is to upgrade/max out their Ram. They claim that an Interl iMac with Core 2 Duo is all that is needed, as long as it has OS 10.6.8 installed. They say you don`t need  the "Core i3, Core i5, Core i7, or Xeon processor"
    But I wonder about the RAM speed, the iMac 2.33Ghz uses DDR2 SDRAM,  which I believe is rated at 667Mhz. Lion maybe installed but it might be problems running smoothly or not?
    Did some quick checking and the iMacs apple is selling this year use 1333MHz DDR3 SDRAM.
    The only thing to do is to make sure you have a good back-up, Install your RAM and install Snow Leo, then wait a couple of hours and install Lion.
    Good Luck

  • Is there any way to get my reminders (from the new iPhone app) to sync with something on my laptop (Mail, iCal, some other desktop app)?

    Is there any way to get my reminders (from the new iPhone app) to sync with something on my laptop (Mail, iCal, some other desktop app)?

    Yes, if you have iCloud set up on your phone and computer, then reminders will be synced through iCal.

  • I got a new iphone- went to sync with itunes just to get music and it restored my phone to my old phone's settings. Lost everything I put on it this weekend (including ALL my pics). Is there any way to unsync it so I can get all of that back?

    I got a new iphone- went to sync with itunes just to get music and it restored my phone to my old phone's settings. lost everything including ALL of my pictures. Is there any way to unsync my phone so I can get everything back?!!! please say yes!!!!

    In short. No, you cannot unsync.  If you had a back up from your old iPhone you cand restore from a back up.
    In iTunes go to Edit > Preferences > Devices > and select the latest back up. 
    Before you synced your phone did you have it set up with the PhotoStream or iCloud? The pictures would be saved there.  Or if you had them sync to a file on your computer.

  • Is there a way that I can control iTunes with the iPhone without any internet connections?

    First let me say that I am ready to throw this POS in the lake.  Is there a way that I can control iTunes with my iPhone without any internet connections?  On my houseboat I have a wifi router and want to connect my phone to my computer to control my music which plays from my computer through my stereo.  I can easily do it with my laptop without having to jump through any internet APPLE BS , but I dont want to have my laptop out on the deck. I just want to use the phone as a remote control.
    Remote wont do it because it keeps saying Im not connected to the internet, even though is is connected to my computer.  Same problem with JumiAmp.

    It should have an option to manage iTunes library without network connection, like Bluetooth or connect directly to the computer without a router or wi-fi, i live outsite of the city and i dont have the ability to control my iTunes librry from the iphone

  • Why does a new desktop creation unexpectedly initiate with a background differing from the originating desktop? How can I control or eliminate this behavior?

    Why does a new desktop creation unexpectedly initiate with a background differing from the originating desktop? How can I control or eliminate this behavior?

    CT, I suspect that I either mistated the question or don't understand how to set the default back ground.  In any case, with the background that I have set in system settings, and this is the background to which my sessions consistantly boot, new desktops come up for the second or up to the third background with this initially set background. Then in the third or fourth desktop creation (I seldom go beyond four), the background for the new desktop, is one that I was using one or two months ago...

  • I am facing issue with the new iOS 7 control center; where I am not able to stop Music or go to next track from this shortcut center. Any Solution or Settings ?

    Hi,
    I have upgraded my iphone 5 to new iOS7 where I see that we have a new shorcut feature Control Center to turn on Wifi, Blutooth, Air Play etc..In the same we have for MUSIC where I am not able to pause or stop music and also cant go to next track and issue withe those buttons.
    Please let me know any seetings needs to changed.
    Thanks
    Niranjan

    Last point...who archives? On my regular email page I now have the Archive icon to the left of my Delete icon which I would prefer was to the left, first in the line as this is the icon I use mostly. With Folders, my Sent and Trash lists, who needs to archive?
    I can help you only with the placement of the icon placement -- if you right-mouse click on the toolbar, then select Customize Toolbar, you can move an icon to where you want it to be.

Maybe you are looking for