Source Code And AAC files management

Need help? Post your questions here.
germain35
Contributor
Contributor
Posts: 2
Joined: 11 Jan 2013, 15:42
Has thanked: 0
Been thanked: 1 time

Source Code And AAC files management

Unread post 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 !
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Source Code And AAC files management

Unread post 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
germain35
Contributor
Contributor
Posts: 2
Joined: 11 Jan 2013, 15:42
Has thanked: 0
Been thanked: 1 time

Re: Source Code And AAC files management

Unread post 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
These users thanked the author germain35 for the post:
Madsonic
Rating: 7.69%
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Source Code And AAC files management

Unread post by Madsonic »

Its a cool idea, comes with next build.

best regards
scooter1556
Posts: 3
Joined: 13 Feb 2013, 11:26
Has thanked: 0
Been thanked: 4 times

Re: Source Code And AAC files management

Unread post 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.
scooter1556
Posts: 3
Joined: 13 Feb 2013, 11:26
Has thanked: 0
Been thanked: 4 times

Re: Source Code And AAC files management

Unread post 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:
Last edited by scooter1556 on 14 Feb 2013, 10:03, edited 1 time in total.
gurutech
Contributor
Contributor
Posts: 323
Joined: 02 Jan 2013, 04:56
Has thanked: 11 times
Been thanked: 105 times

Re: Source Code And AAC files management

Unread post 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?
mlutzow
Posts: 40
Joined: 05 Feb 2013, 22:41
Has thanked: 10 times
Been thanked: 7 times

Re: Source Code And AAC files management

Unread post 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:
Post Reply