Page 1 of 1

Source Code And AAC files management

Posted: 12 Jan 2013, 18:33
by germain35
Hi,

Is there a link (sourceforge or github) to download the Madsonic source code like Sindre does with Subsonic?

I have modified the TranscodingService.java to be able to download an AAC file when the user bitrate is unlimited and use a specific transcoding when the user bitrate is limited.

In Fact, in my Library there are only AAC files, and I wanted to have the same behavior as if I had mp3 files.

So, I'd like to add this modification in the next release of Madsonic... But if you are agree to add this feature in your future release, it would be greater ;-)

thinks for your great work on Subsonic !

Re: Source Code And AAC files management

Posted: 13 Jan 2013, 08:50
by Madsonic
Hi,

Thank you, with the new forum i can better support people with Madsonic.

Source Code you can find on https://github.com/MadMarty

Can you post your changes, i will merge it into the 4.8 branch.

best regards

Re: Source Code And AAC files management

Posted: 13 Jan 2013, 15:07
by germain35
Hi Mad,

Thinks for the link!

I took your last trunk version of TranscodingService.java and I added my ais changes enclosed by this tag "//germain"

you can download my new TranscodingService.java here : http://db.tt/8NMfio32

The idea is to identify Clients and formats they natively support, so I create a Hashtable for each clients which contains the name of the client and their list of formats.
All the code I added is in the "getParameters" function (import java.util.Hashtable).


best regards

Re: Source Code And AAC files management

Posted: 15 Jan 2013, 21:46
by Madsonic
Its a cool idea, comes with next build.

best regards

Re: Source Code And AAC files management

Posted: 13 Feb 2013, 11:45
by scooter1556
Thought I would add on to this post rather then starting a new one. I have my own branch of Subsonic which is purely for personal use. It just has a lot of features I never use taken out to cut down on resources and also better separation for video and music files. I also want to add in a feature which allows my family and friends to download albums in low bitrate mp3 for example rather then having to stream all the time but haven't got round to that yet. I noticed that Madsonic has a few features I would love to port over to my own branch but I can't see any 4.8 development branch on github?? Is it possible to track the latest source code for Madsonic or is this closed? I will gladly donate as I have with the original Subsonic if I can use some of your code in my own branch. Once again, I have no intention of ever releasing my Subsonic branch, it just fits my needs better and when I get around to adding some features I will gladly post the code for you to use in Madsonic.

Re: Source Code And AAC files management

Posted: 13 Feb 2013, 11:52
by scooter1556
I have my own branch of Subsonic which is purely for personal use. I have removed many features and streamlined the web interface somewhat to make it simpler for my elderly parents and young nephews etc... so it fits my needs better. There are a few features in Madsonic which I would love to port across to my own build but I noticed that there is no 4.8 development branch on github? Is it possible to track Madsonic development or is the code closed? Once again I have no intention of releasing my build of Subsonic, it is purely for personal use but when I get around to adding new features I will gladly post the code for you to use in Madsonic and I am more than willing to donate to the project as I have many times with the original Subsonic.

Thanks

(Sorry for the double post, I really should read before wondering why my message hasn't appeared in the thread! :roll:

Re: Source Code And AAC files management

Posted: 14 Feb 2013, 06:11
by gurutech
Do you happen to have Facebook integration, or some form of "registration" where a user can create their own account for SubSonic, rather than requiring this to be done manually by the admin?

Re: Source Code And AAC files management

Posted: 15 Feb 2013, 03:45
by mlutzow
gurutech, I remembered seeing a registration mod over on the Subsonic forum. The link for it which are below.

http://forum.subsonic.org/forum/viewforum.php?f=13

There might be others, but this is what I saw.

Best Regards :mrgreen: