Difference between revisions of "Madsonic"

From SME Server
Jump to navigationJump to search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Languages}}
+
{{Languages}}{{#vardefine:contribname| {{lc: {{#titleparts:  {{BASEPAGENAME}} |1}} }} }} {{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:  {{BASEPAGENAME}} |1}} }} }} {{#vardefine:lang| {{lc:  {{#titleparts:    {{PAGENAME}} | | -1}}  }} |en }}{{Infobox contribs
 +
|name={{#var:contribname}}
 +
|image={{#var:contribname}}.png
 +
|description_image= {{#var:contribname}} logo
 +
|maintainer=Unnilennium
 +
|url=http://beta.madsonic.org
 +
|licence={{#show: {{PAGENAME}}
 +
|?Rpm licence
 +
}}
 +
|category= Media player
 +
|tags=DLNA,music,media,remote player
 +
}}The rpm summary indicates: {{#show: {{PAGENAME}}
 +
|?Rpm summary
 +
}}
 +
 
 +
The full rpm description indicates:
 +
{{#show: {{PAGENAME}}
 +
|?Rpm description
 +
}}
  
== Madsonic for SME Server ==
 
 
{{Level|easy}}
 
{{Level|easy}}
=== Version ===
+
== Version ==
{{ #smeversion: smeserver-madsonic}}
+
{{#smeversion: smeserver-madsonic}}
{{ #smeversion: madsonic}}
+
{{#smeversion: madsonic}}
  
  
=== Maintainer ===
+
== Maintainer ==
[mailto:tests@pialasse.com[[User:Unnilennium|Unnilennium]]]
+
[mailto:tests@pialasse.com][[User:Unnilennium|Unnilennium]]
  
=== Description ===
+
== Description ==
 
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. <br />
 
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. <br />
 
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. <br />
 
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. <br />
Line 19: Line 36:
 
{{Tip box|'''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 !'''}}
 
{{Tip box|'''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 !'''}}
  
=== Requirements ===
+
== Installation ==
All dependencies are in smecontribs
+
<tabs container><tab name="For SME 10">
 
+
yum --enablerepo=smecontribs install smeserver-madsonic
=== Installation ===
+
</tab>
This contrib is currently held in the smecontribs repository, so the following commands will install on your smeserver.
+
<tab name="For SME 9">
 
 
 
  yum --enablerepo=smecontribs install smeserver-madsonic
 
  yum --enablerepo=smecontribs install smeserver-madsonic
 
 
You will then need to activate the database changes etc.
 
You will then need to activate the database changes etc.
 
The 'official' way is to perform
 
The 'official' way is to perform
Line 33: Line 48:
 
or signal-event conf-madsonic if you do not want to restart your computer do :
 
or signal-event conf-madsonic if you do not want to restart your computer do :
 
  signal-event conf-madsonic
 
  signal-event conf-madsonic
 +
config set UnsavedChanges no
  
 +
</tab>
 +
</tabs>
 
Go to the url http://sme-ip-or-domain/madsonic and do the administrative tasks asked (create the admin account, set the music folder, ...)
 
Go to the url http://sme-ip-or-domain/madsonic and do the administrative tasks asked (create the admin account, set the music folder, ...)
  
=== Uninstall ===
+
== Configuration properties and events ==
 +
 
 +
From the command line you can have access to the followings properties.
 +
{| class="wikitable"
 +
!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
 +
|
 +
|0.0.0.0
 +
|
 +
|-
 +
|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
 +
{| class="wikitable"
 +
!signal-event
 +
!type
 +
|-
 +
|post-upgrade
 +
|base
 +
|-
 +
|console-save
 +
|base
 +
|-
 +
|bootstrap-console-save
 +
|base
 +
|-
 +
|conf-madsonic
 +
|dedicated
 +
|}
 +
 
 +
== Using dedicated domain ==
 +
<syntaxhighlight lang="bash">
 +
db domains setprop music.domain.com  ProxyPassTarget http://localhost:4041 TemplatePath ProxyPassVirtualHosts
 +
config madsonic set path /
 +
signal-event conf-madsonic
 +
</syntaxhighlight>
 +
 
 +
== Uninstall ==
 
  yum remove smeserver-madsonic madsonic
 
  yum remove smeserver-madsonic madsonic
  
=== Bugs ===
+
== Bugs ==
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
and select the smeserver-madsonic component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-madsonic|title=this link}}.
 
and select the smeserver-madsonic component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-madsonic|title=this link}}.
Line 45: Line 247:
  
 
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-madsonic|noresultsmessage="No open bugs found."}}
 
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-madsonic|noresultsmessage="No open bugs found."}}
 +
 +
==Changelog==
 +
Only versions released in smecontrib are listed here:
 +
{{#smechangelog: smeserver-madsonic}}
  
 
[[Category: Contrib]]
 
[[Category: Contrib]]

Latest revision as of 04:01, 23 November 2022


madsonic
Madsonic.png
madsonic logo
MaintainerUnnilennium
Urlhttp://beta.madsonic.org
LicenceGNU GPL version 2
Category

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.


Version

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



Maintainer

[1]Unnilennium

Description

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 !


Installation

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 0.0.0.0
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 music.domain.com  ProxyPassTarget http://localhost:4041 TemplatePath ProxyPassVirtualHosts
config madsonic set path /
signal-event conf-madsonic

Uninstall

yum remove smeserver-madsonic madsonic

Bugs

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


IDProductVersionStatusSummary
10700SME Contribs9.2IN_PROGRESSnot playing in jukebox mode

Changelog

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]