MPD over NFS which is not on LAN but over Internet

Hello,
I tried MPD on a raspberry pi and a NFSv4 mount over vpn over internet.
Suffice to say, I was surprised when I saw mpd actually attempting to *read* one and every file in the huge 500GB repository. What the hell. Why does it need to "read" in the whole file??
Is there an alternative to mpd with similar capabilities, that doesnt suck? Or should I run mpd on the main server - but how do I then get the sound/mp3s to the raspberry pi?

HiImTye wrote:
you could do library updates from the NFS server and save the library info to the NFS share, then point your MPD server you use to listen on to those library files. then you don't have to struggle with network speeds on updates.
but this does make me curious why it is reading the entire songs. it could just be that you have a lot of songs so that it seems like it is? idk
I scp'ed over the database file from main server which had indexed/updated the db with about 80k songs.
Then mounted the nfs share to the rasperry pi to the same absolute paths as on the main server (why not).
This works fine, I see only the songs that I play are transferred quite fast, playing is almost instantenous, and they seem to be cached somewhere. Seeking within files is also fast, especially once already played.
Now as you say, the database file needs to be kept in sync between the NFS server and raspberry, one way would be to put it as well in some nfs share, or sshfs or whatever, or even cronjob it with rsync, since I wont be doing database updates/adding albums that often on the main server.
Would be good if something like this was documented somewhere. Like the wiki. And an option in mpd to ignore update commands to its database - thats now dangerous - it does read all the files, and even if it only tries to read headers - for some shares such as 1 or 2TB of songs, thats too much. Now the mpd on rasperry is more of a proxy.
So yes, this does work now, the slight downside is that the android client mpdroid is not that good - it doesnt respect volume keys when not in view'and such, but one can live with that.

Similar Messages

  • Creating extensions Firefox 3.6.13: When dragging an XPI file (even pre-made), i'm always getting some error, which is not properly readable, but it says "not found" and an "ok" button.

    Hi! I want to develop an extension for Firefox.
    My problem is that none of the tutorials and sample which i find online work for Firefox 3.6.13 (on Mac).
    When dragging an XPI file (even pre-made), i'm always getting some error, which is not properly readable, but it says "not found" and an "ok" button.
    Please send me some info on how to make a "helloworld" extension installable in Firefox 3.6.13.
    My email is [email protected] Thank you very much!

    You can try to install the extension via File > Open File
    A forum better suited for such questions is this forum:
    *http://forums.mozillazine.org/viewforum.php?f=19 - mozillaZine Extension Development forum
    You need to register on the MozillaZine forum site in order to post at that forum.

  • When turn wi-fi website is not loading fully but with internet cable is loading

    when turn wi-fi website is not loading fully but with internet cable is loading how caa i solved this problem? 

    Hi,
    What is your machine and its Operating system ? Do you have wireless network at home ? If yes, have you setup the connection between your laptop and the router yet ?
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to run 10g reports on a machine which is not on LAN

    Hi all,
    I want to know can we run 10g report on a seprate machine which is not on network?
    if Yes then please give me hint or some solution for that.
    Thanks

    Hello,
    http://download-east.oracle.com/docs/cd/B19375_06/doc/frs/install/B16392_03/reqs.htm#CHDHIIAB
    3.7.4 Installing on Non-Networked Computers
    Regards

  • How to find photos in iPhoto which may not be there - but appear.

    An acquaintance of mine has by accident deleted a bunch of photos from iPhoto, assuming he had already moved them into another folder. Somethings strange happened, as the still appear to accesible, but then again not really. I have promised to help him, and he explains his actions like the following:
    1. I transferred my photos from a Fujifilm Finepix camera to a New Event (A) in iPhoto.
    2. I then deleted the photos on the camera.
    3. Then I made other new folders/events (B) with other names.
    4. I moved the photos from folder A to these new folders B without any problems (I can still see these photos as small bitmaps, please see later)
    5. Then I created another event, but by accident I gave it the same name as the folder A in which the photos originally were.
    6. I then deleted this original folder A from which the photos had been removed, as I assumed it was empty.
    7. Now - this process has caused that the photos have disappeared everywhere, and I cannot see the photos in folder B. However, empty frames of the photos appear there.
    8. Also, when I press the Edit button at the bottom of iPhoto, all the photos appear at the top as small bitmaps, but they cannot be opened.
    9. The photos cannot be seen in Finder, in Trash inside iPhoto or in the normal OS X Trash bin.
    Now, the question is: are the photos to be found for recovery somewhere in iPhoto (or elsewhere) which we as amateurs do not know about - since they appear as thumbnails?
    I hope somebody can help.
    Thank you kindly.

    first off we only have words to communicate with so it is important to use them correctly adn consistantly
    You seem to be using folders and events interchangelably
    In iPhoto folders are organizational elments that do not hold photos - they hold albums or other folders  --  are you talking about events in every case or are you talking about finder folders (which do hold files that may contain photos) accessed via the finder and events accessed via iPhoto?
    Thumbnails are totalklyt seperate from the main photo - iPhoto always has either two or three versions of a photo used for different purposes - a thumbnail and the oriiginal plus possibly a preview of the photo - these are each in seperat files (and in seperate folders within the iPhoto database) and any of the three can be missing due to datgabase errors or user actions - without exact and accurate information we can only make guesses about yoru situation
    How were the photos moved from event (I assume) A to B
    How did you delete event A
    What version of iPhoto and of the OS?
    LN

  • I try to download a picture from a website and it downloads as a firefox document which is not a picture but a page of symbols...

    I right click on a picture in a website to download to my desktop but it downloads as a firefox document.IP downloads the picture..why can't firefox?

    You can rename such files and give them a valid file extension for an image file like .jpg or .png to get working images.<br />
    If Windows is hiding the file extension and is preventing you from changing it then add quotes around the name ("image.jpg") or rename the file via a CMD prompt window.

  • My iMac will not load webpages, but my internet connection is fine.

    I was watching a video on Hulu, and suddently I got a error that the website could not load. Since then, I can't load most pages (yet oddly I have found one page that still works.) Network diagnostics says that everything is working fine... and I can still connect to everything just fine with with my MacBook and iPhone on the same network. I have the same problem whether I am trying to use Safari or Google Chrome. Any ideas about what could make this happen all of a sudden? I have tried everything I have ever done when faced with a connectivity problem - I'm thinking it must be some specific setting on the computer that got messed up somehow.

    Try using different DNS servers like OpenDNS (208.67.222.222, 208.67.220.220).

  • On aol message home page has garbage phrases and does not make sense, but on internet explorer I have no problems.

    question is stated above. No problem with internet explorer. All kinds of scripts appear when using aol with Moz.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Frames with link to Struts do not render before mouse over in IE 7.0?

    Hi
    We have troubles with frames with link to Struts, which do not render before mouse over in IE 7.0? The application works fine with Firefox 2.0 and Internet Explorer 6.0, we have analyzed the cause to be whenever
    you refer to a struts 1.0 action in your frames, you'll see the frames underneath.
    Does anyone have a solution to this?
    <frameset cols="168,*" border="0">
      <frameset rows="76,*" border="0">
        <frame name="cornerFrame" src="/gws/html/logo.htm" scrolling="NO" noresize frameborder="0">
        <frame name="menuFrame" src="/gws/html/menulogind.htm" noresize frameborder="0">
      </frameset>
      <frameset rows="76,*" border="0">
        <frame name="topFrame" src="/gws/html/overskrift.htm" noresize frameborder="0" >
        <frame name="mainFrame" src="/gws/logonstart.do?msg=null&navn=null" noresize frameborder="0">
      </frameset>
    </frameset>
    <noframes>
    <body>
    </body>
    </noframes>When you open the application, the frame is blank, the pages render only when you move the mouse inside the mainFrame area!
    This is a very odd behavior.
    Lars W
    Enviroment:
    Windows 2003 Server
    Sun Java System Application Server 7 2004Q2UR2
    Struts 1.0

    I am having similar problems with shockwave and ie7 crashing.
    This is always preceded by loss of sound.
    Could this article have any significance to this issue :
    Is it possible that the Cumulative Security Update for
    Internet Explorer
    (931768) is causing Internet Explorer to crash ??
    I refer to this article
    Known issues with this security update
    • Controls that prompt before they are loaded
    Note This issue occurs on Web sites that do not use the
    recommended
    techniques. This issue is resolved by using the techniques
    that are described
    on the following Microsoft Web site:
    http://msdn.microsoft.com/ieupdate
    http://msdn.microsoft.com/ieupdate)
    When certain controls are loaded on a Web page, the controls
    are not
    correctly masked by the functionality of this update. These
    controls include
    controls that are used in Macromedia Shockwave Director, in
    QuickTime Player,
    and in Virtools Web Player. When Windows determines that a
    control is
    inactive, the system prompts the user before the control is
    loaded.
    CAN MICROSOFT HELP ON THIS ONE ?? Very frustrating when ie7
    crashes and
    restarts in the middle of a game of golf played against
    others on the
    internet especially when you winning !!
    The game is at this address :
    http://www.nabiscoworld.com/Games/game_large.aspx?gameid=10028

  • ASM over NFS or not?

    Hello,
    simple question: ASM over NFS (in particular NFSv3 on NetApp FS250) is faster than normal datafile on NFS or not?
    Which is your experience?
    Thanks
    Stefano

    Hi Stefano,
    I have not seen such a configuration in production till now, but NetApp has a document about the different configurations and their performance:
    http://www.netapp.com/library/tr/3423.pdf
    Hope this helps you.
    Best regards,
    Matthias

  • JMF working on LAN but not over web !!

    Hai,
    I am doing project on virtual classroom. I need to stream video over the internet. My program works fine on LAN but doesn't work on net.
    My idea basically is to capture video from tutor and write the data to server pc's port (intermediator), so that student any where in the world can acess my server and its port to retrieve the live data.
    The MediaLocator for both sending and retrieving data (i.e tutor and student )
    MediaLocator m = new MediaLocator("rtp://192.168.1.253:23232/video/255");
    Please let me is there something wrong with my logic, with media locator or with my other part of program.
    I would be extremely gratified if someone would share some idea on streaming data over internet.
    Thanks in advance !!

    Then transmit to a broadcast address xxx.xxx.xxx.255I think works only on LAN. But my project works on internet.
    I have decided to drop my intermediator (server).
    Now I trying to work on direct communication between tutor (transmitter) and student (reciever). I can get two IP addresses of the student -
    1 : Internet Proxy server IP address, (e.g. 203.109.246.29) which is uniquely identified on internet.
    2 : Local IP address, (e.g. 192.168.1.23) which is valid on LAN.
    I provided media locator as rtp://203.109.246.29:23232/video/1. If the student's pc is internet outlet then student is able to see the video. But if the student is sitting on LAN with some other pc as proxy server then tutor will write the data to the proxy server (since the proxy server is uniquely identified on the internet and not the student's pc). My problem now is how data be tranferred from proxy server to student's pc??
    I feel like some broadcasting to be done on the LAN. I want to achieve it without having some program running on the Internet Proxy server.
    Regards

  • I have files that have been on my computer for over a year and all of a sudden they wont open and an error message comes up saying they were improperly downloaded or came in an email attach which is not the case

    I have files that have been on my computer for over a year and I have used them several times and all of a sudden they wont open.  I received an error message saying they are improperly downloaded or came as an email attachement which is not the case.  Please advise

    They seem to be word files - they will open if I choose "open with" microsoft word, but if I double click they don't open they are appearing as PDF on my screen.  I even opened one and then tried to "save as" making sure I chose .doc and they still appear as PDF
    I just created a new document response.doc in word and when I saved to my desktop it appears as a PDF file and I absolutely did not create a PDF or save as PDF it was a simple word
    doc.
    The message says "Adobe reader could not open response.doc because it is either not a supported file type or because the file has been damaged (for example attached in an email and not properly decoded)
    The reader version is I believe the most current, I always update when prompted.  OS is Windows 8

  • I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

    I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

    I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

  • ORA-27086: unable to lock file over NFS -- but it's NOT Netapp!

    My 10.2 database crashed, and when it came back I got the following error:
    ORA-00202: control file: '/local/opt/oracle/product/10.2.0/dbs/lkFOOBAR'
    ORA-27086: unable to lock file - already in use
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    This is a classic symptom of a Netapp problem, which likes to hold file locks open on NFS mounts. There is a standard procedure for clearing those locks; see, for instance, document 429912.1 on Metalink.
    Unfortunately, my files are mounted on an Isilon, one of Netapp's twisted cousins. I can find no references to "isilon" on Metalink, and we are at a loss how to resolve this.
    My sysadmin assures me that "there are no locks on the Isilon". But I know this cannot be the case, because if I do the following:
    1. delete the lockfile /local/opt/oracle/product/10.2.0/dbs/lkFOOBAR, and then
    2. move my controlfiles aside, and then copy them back into place,
    then the database will mount. However, it will not open, because now all the datafiles have locks.
    Is there anyone with experience in clearing NFS locks? I know this is more of a SA task than DBA, but I am sure my SA has overlooked something.
    Thanks

    New information:
    As stated above, I moved the controlfiles aside and then copied them back into place, like this:
    mv control01.ctl control01-bak.ctl
    cp control01-bak.ctl control01.ctlDid that for each controlfile, and then the database mounted.
    But, after rebooting the machine, we discovered that all locks were back in place-- it looks like the system is locking the files on boot-up, and not letting them go. The lock is held by PID 1, which is init.
    sculkget: lock held by PID: 1This is definitely looking like a major system issue, and not a DBA issue, and hence I have little right to expect assistance in this forum. But nonetheless I lay my situation out here before you all in case someone else recognizes my problem before the server bursts into flames!
    The system is CentOS 4.5-- not my choice, but that's the way it is.

  • Preview failed because Adobe Muse could not make a connection over HTTP. The most common cause of this is Firewall software which prevents HTTP connections. You may need to change Firewall settings to allow Adobe Muse to make connections.

    Preview failed because Adobe Muse could not make a connection over HTTP. The most common cause of this is Firewall software which prevents HTTP connections. You may need to change Firewall settings to allow Adobe Muse to make connections.
    no firewall at all, in win 8.1, turned it off for all networks
    ftp and publish works just fine

    Hi,
    Please take a look at this post : Re: Adobe Muse - Preview Failed
    Regards,
    Aish

Maybe you are looking for

  • Is it possible to install a JDev extension bundle in headless mode.

    We are looking to see if there is a way to automate install of JDev and application of an extension in "headless" mode, or some other command line option that could enable this. This is for internal development purposes aiming at reducing the number

  • Rsync Copy Job Failure ix4-300d

    I'm trying to run Copy Jobs between two new ix4-300d devices Firmware 4.0.6 I prefer to use SSL and rsync. So far I can't get it to work. I  can access the remote ix4, browse directories and upload files. When I set up a Copy Job from my local system

  • ACE 4710 VIP not pingable even with "always" selected.

    Hello, I have a somewhat complicated setup in order to allow one particular VIP to answer for the same serverfarm on two different ports (this was a previous question here.) Here is the scrubbed config below. The setup works, but the issue is that th

  • BI Graph In Forms

    Hi all, I just success build BI Graph in Forms base on Graph90 demo, It display numeric value on Y-axis and Text value on X-axis. But these Font is so ugly. who can teach me how to adjust it ? Best Regards Boris

  • Clearing dropdown menus

    // clear contents of add form txtFirstName.text=''; -done! // reset the DropDownList item selectors -  cat category.text=''; -it says category undefined. how do I clear/reset an Array/Object? here's the code of what I want to clear: <mx:FormItem> <s: