More > JRiver Media Center 21 for Linux
Quick start guide for installing JRiver Mediacenter 21 ARM for Raspberry Pi
phillil:
In terms of the audio, it actually plays fine when plugged into the monitor and the JMRC is opened on Display=0. My output on MC is set to my USB DAC
If I open MC to display on the virtual desktop (Display =1) then the file won't play. It's not that sound isn't heard, the file just doesn't actually play (the progress bar/timer doesn't move and JMRC just says that nothing is playing).
The file 'tries' to play when I click the play button on the GUI, but it just stops and nothing happens.
You correct in that I am using Jessie, and I am currently using SMB share from my Synology NAS
Many thanks for your help
mwillems:
--- Quote from: phillil on November 30, 2015, 10:46:31 am ---In terms of the audio, it actually plays fine when plugged into the monitor and the JMRC is opened on Display=0. My output on MC is set to my USB DAC
If I open MC to display on the virtual desktop (Display =1) then the file won't play. It's not that sound isn't heard, the file just doesn't actually play (the progress bar/timer doesn't move and JMRC just says that nothing is playing).
The file 'tries' to play when I click the play button on the GUI, but it just stops and nothing happens.
--- End quote ---
That suggests that the Audio Device (under Tools-->Options-->Audio) isn't set correctly or is otherwise triggering an error in the instance on the virtual desktop. Can you check in the options in MC in the VNC instance and confirm that the audio device is correctly set to your DAC? If everything is set correctly, here's another thought:
If you used my scripts above you started MC in /mediaserver mode which suppresses pop up error dialogs (because some are modal and would prevent MC from continuing to function after an error was thrown, which is undesirable in a headless context). Try closing the open instance of MC in the VNC and reopening it using the application menu, and then try to play something. You may get an informative error dialog.
--- Quote ---You correct in that I am using Jessie, and I am currently using SMB share from my Synology NAS
Many thanks for your help
--- End quote ---
Ok so what you want to do is to add a line like this to your fstab:
--- Code: ---IPaddress:Share /place/to/mount cifs defaults,noauto,x-systemd.automount 0 2
--- End code ---
You should replace "IPaddress" with the local IP address of your NAS, replace "Share" with the name of the share you're trying to mount, and replace /place/to/mount with a filepath to where you want the share to show up on your local filesystem. I usually make a directory in my home directory called "data" and mount my share there. If you have multiple SMB/CIFS shares you should add a separate line for each with a separate local mount location.
Hope that helps!
phillil:
OK I've found the problem with the audio - if I play a file from File Manager, it plays OK. If I try and play a file in my library it fails, so it must be something to do with the way the links in the library differ from TV display = 0 vs VNC = 1
However I'm having trouble with the automount - when I navigate to the folder I created (home/pi/data/music) I get the error "Error opening directory: - no such device"
Any ideas?? Is it a credentials issue??
phillil:
I can get;
sudo mount -t cifs -o guest //WindowsPC/share1 /mnt/mountfoldername
to work from the console
But when I add to fstab
//WindowsPC/share1 /mnt/mountfoldername cifs guest 0 0
Nothing mounts
Maybe that's why your suggestion isn't working??
phillil:
OK I've figured it out!
The command was correct, it wasn't mounting however because there was no network connection
So I changed the Pi2 config to wait for network at boot, now it works!!
Thanks, and sorry for clogging up this thread
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version