Line 8: |
Line 8: |
| |?Rpm licence | | |?Rpm licence |
| }} | | }} |
− | |category= Music | + | |category= Media player |
− | |tags=DLNA,music,remote player | + | |tags=DLNA,music,media,remote player |
| }}The rpm summary indicates: {{#show: {{PAGENAME}} | | }}The rpm summary indicates: {{#show: {{PAGENAME}} |
| |?Rpm summary | | |?Rpm summary |
Line 21: |
Line 21: |
| {{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 == |
Line 37: |
Line 37: |
| | | |
| == Installation == | | == Installation == |
− | This contrib is currently held in the smecontribs repository, so the following commands will install on your smeserver.
| + | <tabs container><tab name="For SME 10"> |
− | | + | yum --enablerepo=smecontribs install smeserver-madsonic |
| + | </tab> |
| + | <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 47: |
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, ...) |
| | | |
− | == Configuration properties == | + | == 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 == | | == Uninstall == |
Line 65: |
Line 250: |
| ==Changelog== | | ==Changelog== |
| Only versions released in smecontrib are listed here: | | Only versions released in smecontrib are listed here: |
− | {{ #smechangelog: smeserver-madsonic}} | + | {{#smechangelog: smeserver-madsonic}} |
− | | |
| | | |
| [[Category: Contrib]] | | [[Category: Contrib]] |