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, ...) |
| | | |
Line 74: |
Line 78: |
| |enabled | | |enabled |
| |enabled, disabled | | |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 |
| |} | | |} |
| | | |
Line 93: |
Line 230: |
| |dedicated | | |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 == |