From SME Server
Jump to navigationJump to search

madsonic logo
LicenceGNU GPL version 2

Media player

Tags DLNAmusicmediaremote player

The rpm summary indicates: madsonic is a music streaming system

The full rpm description indicates: This is all the configurations needed to install madsonic as a contrib for SME Server

PythonIcon.png Skill level: easy
The instructions on this page can be followed by a beginner.


Contrib 10:
Contrib 9:
The latest version of smeserver-madsonic is available in the SME repository, click on the version number(s) for more information.

Contrib 10:
Contrib 9:
The latest version of madsonic is available in the SME repository, click on the version number(s) for more information.




Madsonic is a free audio and video web based streamer for Linux, Windows, and Mac. There are several mobile and portable apps associated with it, and it has server transcoding capabilities allowing the client to stream as effortlessly as possible. Use it to share your music with friends, or to listen to your own music while at work.
You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room. Madsonic is designed to handle very large music collections (hundreds of gigabytes), and has genre and tag capabilities. Although optimized for MP3 streaming, it works for any audio or video format that can stream over HTTP, for instance AAC and OGG. By using transcoder plug-ins, Subsonic supports on-the-fly conversion and streaming of virtually any audio format, including WMA, FLAC, APE, Musepack, WavPack and Shorten.
If you have constrained bandwidth, you may set an upper limit for the bitrate of the music streams. Madsonic will then automatically resample the music to a suitable bitrate. In addition to being a streaming media server, Madsonic works very well as a local jukebox. The intuitive web interface, as well as search and index facilities, are optimized for efficient browsing through large media libraries. Madsonic also comes with an integrated Podcast receiver, with many of the same features as you find in iTunes. Based on Java technology, Madsonic runs on most platforms, including Windows, Mac, Linux and Unix variants.

Information.png Tip:
Madsonic can be activated as a DLNA server to stream your medias on your DLNA clients such as Smart TV. Just go to settings and check the box to activate !


yum --enablerepo=smecontribs install smeserver-madsonic
yum --enablerepo=smecontribs install smeserver-madsonic

You will then need to activate the database changes etc. The 'official' way is to perform

signal-event post-upgrade;  signal-event reboot

or signal-event conf-madsonic if you do not want to restart your computer do :

signal-event conf-madsonic
config set UnsavedChanges no

Go to the url http://sme-ip-or-domain/madsonic and do the administrative tasks asked (create the admin account, set the music folder, ...)

Configuration properties and events

From the command line you can have access to the followings properties.

db key property role default value expected values
configuration madsonic Name change location in the http url madsonic a string
configuration madsonic status enable service enabled enabled, disabled
configuration madsonic home /var/madsonic
configuration madsonic host
configuration madsonic port 4041
configuration madsonic path /madsonic
configuration madsonic https_port 0
configuration madsonic InitMemory 200
configuration madsonic MaxMemory 350
configuration madsonic PIDFile
configuration madsonic Music_Folder /var/media
configuration madsonic Podcast_Folder /var/media/podcast
configuration madsonic Inco_Folder /var/media/incoming
configuration madsonic Impo_Folder /var/media/playlist/import
configuration madsonic Expo_Folder /var/media/playlist/export
configuration madsonic Back_Folder /var/media/playlist/backup
configuration madsonic gzip true
configuration madsonic TestMode false
configuration madsonic TranscodeFolder /var/madsonic/transcode
configuration madsonic timezone DateTime::TimeZone->new( name => 'local' )->name()
accounts madsonic ValidFrom limit access to some IP/ network IP/MASK,IP/MASK

The contribution also add the following events, or is linked to these existing events

signal-event type
post-upgrade base
console-save base
bootstrap-console-save base
conf-madsonic dedicated

Using dedicated domain

db domains setprop  ProxyPassTarget http://localhost:4041 TemplatePath ProxyPassVirtualHosts
config madsonic set path /
signal-event conf-madsonic


yum remove smeserver-madsonic madsonic


Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-madsonic component or use this link .

10700SME Contribs9.2IN_PROGRESSnot playing in jukebox mode


Only versions released in smecontrib are listed here:

smeserver-madsonic Changelog: SME 10 (smecontribs)
2022/12/07 Jean-Philippe Pialasse 5.0.3761-9.sme
- fix conflict for /var/madsonic [SME: 12255]

2022/11/22 Jean-Philippe Pialasse 5.0.3761-8.sme
- remove remaining sysvinit files [SME: 12239]

- fix few minors issues, typo and cosmetics
2022/07/30 Brian Read 5.0.3761-7.sme
- Re-build and link to latest devtools [SME: 11997]

2022/07/22 Jean-Philippe Pialasse 5.0.3761-6.sme
- add to core backup [SME: 12014]
- update for 6.2 neededing java-1.8.0
- add local test webservices

- main rpm is now using systemd [SME: 11619]
2021/06/06 Jean-Philippe Pialasse 5.0.3761-5.sme
- Re-build and link to latest devtools services not restarted on install [SME: 11280]