Subsonic Package for Synology NAS

Announcements and discussion of new releases.

Moderator: moderators

Re: Subsonic Package for Synology NAS

Postby GJ51 » Mon Jun 30, 2014 2:20 am

http://sourceforge.net/projects/subsoni ... anscoding/

Download the 1.1 transcode pack and place the files in the transcode subdirectroy.

I don't use Linux but if memory serves ... I think it's under /var/subsonic

If you can't find the proper subdirectory search the forum I know it's posted here somewhere.

Almost all transcoding should now just use ffmpeg

You can also update ffmpeg directly from their site.

http://ffmpeg.org/download.html
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Subsonic Package for Synology NAS

Postby j79 » Tue Jul 08, 2014 10:02 am

Hello,

I’ve installed and configured Subsonic on my ds214 play without any problem yesterday but I don’t find any media in my lybrary.
I’ve clicked several time on “Scan media folders now” yesterday about 11:00 pm but this morning I don’t see anything in my media list.
Tried to stop the service reboot the syno and start the service again.

Anybody has tried this out ?

Thanks,
jé’
j79
 
Posts: 6
Joined: Tue Jul 08, 2014 9:39 am

Re: Subsonic Package for Synology NAS

Postby j79 » Tue Jul 08, 2014 10:06 am

j79 wrote:Hello,

I’ve installed and configured Subsonic on my ds214 play without any problem yesterday but I don’t find any media in my lybrary.
I’ve clicked several time on “Scan media folders now” yesterday about 11:00 pm but this morning I don’t see anything in my media list.
Tried to stop the service reboot the syno and start the service again.

Anybody has tried this out ?

Thanks,
jé’



After a look at the logs I've seen that there were a permission problem on /volume1/music and /volume1/mp3

I gave owner permissions (children included) for the subsonic user on the two directories but the log file semmes to say that there is no media to scan :/
Code: Select all
[2014-07-08 10:59:28,674] INFO MediaScannerService - Starting to scan media library.
[2014-07-08 10:59:28,749] INFO MediaScannerService - Scanned media library with 2 entries.
[2014-07-08 10:59:28,749] INFO MediaScannerService - Marking non-present files.
[2014-07-08 10:59:28,756] INFO MediaScannerService - Marking non-present artists.
[2014-07-08 10:59:28,762] INFO MediaScannerService - Marking non-present albums.
[2014-07-08 10:59:28,770] INFO MediaScannerService - Completed media library scan.
[2014-07-08 10:59:28,857] INFO PlaylistService - Starting playlist import.
[2014-07-08 10:59:28,857] INFO PlaylistService - Completed playlist import.
[2014-07-08 10:59:28,858] INFO PlaylistService - Starting playlist statistics update.
[2014-07-08 10:59:28,861] INFO PlaylistService - Completed playlist statistics update.
[2014-07-08 11:00:55,033] INFO PodcastService - Starting scheduled Podcast refresh.
[2014-07-08 11:00:55,035] INFO PodcastService - Completed scheduled Podcast refresh.
j79
 
Posts: 6
Joined: Tue Jul 08, 2014 9:39 am

Re: Subsonic Package for Synology NAS

Postby j79 » Tue Jul 08, 2014 12:53 pm

[SOLVED]

I've solved my problem following this steps :
1 - Stop the subsonic service via DSM interface
2 - SSH with root privileges to the Synology
3 - rm -r /volume*/@appstore/Subsonic/dm
4 - restart subsonic service within the DSM interface

and now the log look like this and this look better :')
Code: Select all
[2014-07-08 12:09:50,657] INFO MediaScannerService - Scanned media library with 8250 entries.
[2014-07-08 12:10:06,434] INFO MediaScannerService - Scanned media library with 8500 entries.
[2014-07-08 12:10:16,176] INFO MediaScannerService - Scanned media library with 8750 entries.
[2014-07-08 12:10:22,610] WARN JaudiotaggerParser - Error when parsing tags in /volume1/mp3/gojira/The link/01 - The Link.mpc
org.jaudiotagger.audio.exceptions.CannotReadException: No Reader associated to this extension: mpc
        at org.jaudiotagger.audio.AudioFileIO.readFile(AudioFileIO.java:281)
        at org.jaudiotagger.audio.AudioFileIO.read(AudioFileIO.java:148)
        at net.sourceforge.subsonic.service.metadata.JaudiotaggerParser.getRawMetaData(JaudiotaggerParser.java:75)
        at net.sourceforge.subsonic.service.metadata.MetaDataParser.getMetaData(MetaDataParser.java:48)
        at net.sourceforge.subsonic.service.MediaFileService.createMediaFile(MediaFileService.java:450)
        at net.sourceforge.subsonic.service.MediaFileService.updateChildren(MediaFileService.java:331)
        at net.sourceforge.subsonic.service.MediaFileService.getChildrenOf(MediaFileService.java:192)
        at net.sourceforge.subsonic.service.MediaScannerService.scanFile(MediaScannerService.java:215)
        at net.sourceforge.subsonic.service.MediaScannerService.scanFile(MediaScannerService.java:219)
        at net.sourceforge.subsonic.service.MediaScannerService.doScanLibrary(MediaScannerService.java:170)
        at net.sourceforge.subsonic.service.MediaScannerService.access$000(MediaScannerService.java:47)
        at net.sourceforge.subsonic.service.MediaScannerService$2.run(MediaScannerService.java:146)

[2014-07-08 12:10:22,624] WARN JaudiotaggerParser - Error when parsing tags in /volume1/mp3/gojira/The link/01 - The Link.mpc
org.jaudiotagger.audio.exceptions.CannotReadException: No Reader associated to this extension: mpc
        at org.jaudiotagger.audio.AudioFileIO.readFile(AudioFileIO.java:281)
        at org.jaudiotagger.audio.AudioFileIO.read(AudioFileIO.java:148)
        at net.sourceforge.subsonic.service.metadata.JaudiotaggerParser.getRawMetaData(JaudiotaggerParser.java:75)
        at net.sourceforge.subsonic.service.metadata.MetaDataParser.getMetaData(MetaDataParser.java:48)
        at net.sourceforge.subsonic.service.MediaFileService.createMediaFile(MediaFileService.java:411)
        at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:114)
        at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:79)
        at net.sourceforge.subsonic.service.MediaFileService.findCoverArt(MediaFileService.java:523)
        at net.sourceforge.subsonic.service.MediaFileService.createMediaFile(MediaFileService.java:458)
        at net.sourceforge.subsonic.service.MediaFileService.updateChildren(MediaFileService.java:331)
        at net.sourceforge.subsonic.service.MediaFileService.getChildrenOf(MediaFileService.java:192)
        at net.sourceforge.subsonic.service.MediaScannerService.scanFile(MediaScannerService.java:215)
        at net.sourceforge.subsonic.service.MediaScannerService.scanFile(MediaScannerService.java:219)
        at net.sourceforge.subsonic.service.MediaScannerService.doScanLibrary(MediaScannerService.java:170)
        at net.sourceforge.subsonic.service.MediaScannerService.access$000(MediaScannerService.java:47)
        at net.sourceforge.subsonic.service.MediaScannerService$2.run(MediaScannerService.java:146)

[2014-07-08 12:10:22,630] WARN JaudiotaggerParser - Failed to find cover art tag in 01 - The Link
org.jaudiotagger.audio.exceptions.CannotReadException: No Reader associated to this extension: mpc
        at org.jaudiotagger.audio.AudioFileIO.readFile(AudioFileIO.java:281)
        at org.jaudiotagger.audio.AudioFileIO.read(AudioFileIO.java:148)
        at net.sourceforge.subsonic.service.metadata.JaudiotaggerParser.getArtwork(JaudiotaggerParser.java:319)
        at net.sourceforge.subsonic.service.metadata.JaudiotaggerParser.isImageAvailable(JaudiotaggerParser.java:296)
        at net.sourceforge.subsonic.service.MediaFileService.findCoverArt(MediaFileService.java:523)
        at net.sourceforge.subsonic.service.MediaFileService.createMediaFile(MediaFileService.java:458)
        at net.sourceforge.subsonic.service.MediaFileService.updateChildren(MediaFileService.java:331)
j79
 
Posts: 6
Joined: Tue Jul 08, 2014 9:39 am

Re: Subsonic Package for Synology NAS

Postby j79 » Mon Jul 21, 2014 9:58 am

Hello

Which function of the V5 do you need specifically ?
j79
 
Posts: 6
Joined: Tue Jul 08, 2014 9:39 am

Re: Subsonic Package for Synology NAS

Postby Dubhead » Sun Aug 24, 2014 11:05 pm

j79 or others,
I was having similar problems trying to get Subsonic to recognize the /volume1/Music/MP3 media location for my music and tried your suggestion in the fix but I do not even have a "dm" folder in my /volume1/@appstore/Subsonic location :?: :roll:
I am having a very hard time to get Subsonic to recognize this location for my media and have tried many combinations of paths to this to see if they would work to no avail. It seems that it only likes forward slashes (like Unix) for paths. Here are some I tried:

//192.168.1.231/volume1/Music/MP3
//DISKSTATION/volume1/Music/MP3
//volume1/Music/MP3
/Music/MP3

I am not having any luck with this and am frustrated by this simple issue. I have a user in Subsonic set up with the same name and password as my admin user on the Synology DS1813+ that I am running Subsonic on. I have the permissions set to allow read/write on all files in that path for this user as well. Something else I am missing here obviously. Any insights on this would be appreciated. This was not an issue with my other NAS servers (Netgear).

~Dubhead 8)
Dubhead
 
Posts: 3
Joined: Sun Aug 24, 2014 10:50 pm

Re: Subsonic Package for Synology NAS

Postby j79 » Tue Aug 26, 2014 10:00 am

Hi,

Which version of Java have you installed ?

Could you post your log file.
I'm not an expert but I can try to check if I see something which could be wrong.

Jérôme
j79
 
Posts: 6
Joined: Tue Jul 08, 2014 9:39 am

Re: Subsonic Package for Synology NAS

Postby houdini2930 » Tue Sep 23, 2014 3:17 am

I can confirm that boing's instructions work for 5.0
houdini2930
 
Posts: 15
Joined: Wed Jan 11, 2012 7:45 pm

Re: Subsonic Package for Synology NAS

Postby Dubhead » Wed Oct 29, 2014 4:25 am

houdini2930/boing,

I had finally gotten my Subsonic working well enough after my other issues I posted about earlier and recently tried to update to version 5.0 per houdini2930's indication that it works fine following the manual install instructions from boing. I followed these and downloaded the appropriate package and moved (overwrote) the two subsonic files. Unfortunately, my Subsonic service will not start now and I fear that I will have to reconfigure everything again. When I attempted to run the service from the Package Center after slipping in v.5 files, I got the message that it could not start the package. I validated the permissions and they were correct. I uninstalled the package from the package center and now I think I am just stuck with having to reconfigure the whole installation from scratch again. :(

Does anyone have a more foolproof method to install v.5.0 from a fresh installation? Also, how do I clear out everything and start over? Should I dump Serviio, Java and everything and start completely fresh? Does Subsonic work with Java v. 8 (which I currently have installed). Using PuTTY has been a pain in the ass for me as I suck with Unix and Cyberduck was much easier for me to navigate and move files about (including updating permissions) but I can't even get that to work to access the /usr folders or other root-level folders even after enabling SFTP in File Services.

Basically feeling defeated by this process because it worked beautifully for a short time and now it is a train wreck thanks to me. Any help on this is appreciated.

~Dubhead :evil:
Dubhead
 
Posts: 3
Joined: Sun Aug 24, 2014 10:50 pm

Re: Subsonic Package for Synology NAS

Postby Dubhead » Thu Oct 30, 2014 5:59 am

Update. I decided to go ahead and install the Madsonic .spk fork(v.5.1-B5060-016) of Subsonic on my Synology DS 1813+ running DSM 5.0-4528 Update 1, Java SE Embedded 7 v.1.7.0_71-0028, and Serviio v.1.4.1.2-0026. This installed easily and seems to be running normally but I have now run back into the classic issue of the application not recognizing the file path to my audio files again. I had posted about this in other threads and eventually found the solution of changing the permissions on the path to be that of the subsonic daemon user per some other forum users feedback. This seemed to work for me when I was using subsonic on the Synology NAS, and now that Madsonic is installed, there is a similar madsonic daemon user which I once again made the owner of the file path (and subdirectories/files) that I am attempting to get it to recognize. This has not worked in this instance for some reason. I am really not sure why this is such an issue or the logic behind what kind of permissions Subsonic/Madsonic needs in order to recognize the appropriate file path for audio files on the NAS.

Any ideas or information on what really needs to happen here? I feel like there are a lot of stabs in the dark at this until it just works but I haven't really found much definitive answer for it. Here is the other post I had about the permissions from Synology forums:
http://forum.synology.com/enu/viewtopic ... ding+media


Thanks,
Dubhead 8)
Dubhead
 
Posts: 3
Joined: Sun Aug 24, 2014 10:50 pm

Previous

Return to Announcements

Who is online

Users browsing this forum: No registered users and 4 guests