Subsonic-->Libresonic regex
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: org.libresonic.player.booter.Main
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
|
||||
|
||||
<bean id="service" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
|
||||
<property name="serviceUrl" value="rmi://localhost:9412/LibresonicDeployerService"/>
|
||||
<property name="serviceInterface" value="org.libresonic.player.booter.deployer.LibresonicDeployerService"/>
|
||||
<property name="lookupStubOnStartup" value="false"/>
|
||||
<property name="refreshStubOnConnectFailure" value="true"/>
|
||||
</bean>
|
||||
|
||||
<bean id="agent" class="org.libresonic.player.booter.agent.LibresonicAgent">
|
||||
<constructor-arg ref="service"/>
|
||||
<property name="frame" ref="frame"/>
|
||||
</bean>
|
||||
|
||||
<bean id="frame" class="org.libresonic.player.booter.agent.LibresonicFrame">
|
||||
<constructor-arg ref="agent"/>
|
||||
<constructor-arg ref="statusPanel"/>
|
||||
<constructor-arg ref="settingsPanel"/>
|
||||
</bean>
|
||||
|
||||
<bean id="settingsPanel" class="org.libresonic.player.booter.agent.SettingsPanel">
|
||||
<constructor-arg ref="agent"/>
|
||||
</bean>
|
||||
|
||||
<bean id="statusPanel" class="org.libresonic.player.booter.agent.StatusPanel">
|
||||
<constructor-arg ref="agent"/>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
|
||||
|
||||
<bean id="service" class="org.libresonic.player.booter.deployer.LibresonicDeployer"/>
|
||||
|
||||
<bean class="org.springframework.remoting.rmi.RmiServiceExporter">
|
||||
<property name="serviceName" value="LibresonicDeployerService"/>
|
||||
<property name="service" ref="service"/>
|
||||
<property name="serviceInterface" value="org.libresonic.player.booter.deployer.LibresonicDeployerService"/>
|
||||
<property name="registryPort" value="9412"/>
|
||||
</bean>
|
||||
</beans>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
|
||||
|
||||
<bean id="deployer" class="org.libresonic.player.booter.deployer.LibresonicDeployer"/>
|
||||
|
||||
<bean id="frame" class="org.libresonic.player.booter.mac.LibresonicFrame">
|
||||
<constructor-arg ref="deployer"/>
|
||||
</bean>
|
||||
|
||||
<bean id="controller" class="org.libresonic.player.booter.mac.LibresonicController">
|
||||
<constructor-arg ref="deployer"/>
|
||||
<constructor-arg ref="frame"/>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 734 B |
Binary file not shown.
|
After Width: | Height: | Size: 673 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 810 B |
Binary file not shown.
|
After Width: | Height: | Size: 771 B |
Binary file not shown.
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
~ This file is part of Libresonic.
|
||||
~
|
||||
~ Libresonic is free software: you can redistribute it and/or modify
|
||||
~ it under the terms of the GNU General Public License as published by
|
||||
~ the Free Software Foundation, either version 3 of the License, or
|
||||
~ (at your option) any later version.
|
||||
~
|
||||
~ Libresonic is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
~ GNU General Public License for more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License
|
||||
~ along with Libresonic. If not, see <http://www.gnu.org/licenses/>.
|
||||
~
|
||||
~ Copyright 2014 (C) Sindre Mehus
|
||||
-->
|
||||
|
||||
<web-app id="libresonic" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
||||
|
||||
<!--Enable compression for XML, JSON and JSONP in the REST API-->
|
||||
<filter>
|
||||
<filter-name>GzipFilter</filter-name>
|
||||
<filter-class>org.mortbay.servlet.GzipFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>mimeTypes</param-name>
|
||||
<param-value>text/xml,application/json,text/javascript</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>GzipFilter</filter-name>
|
||||
<url-pattern>/rest/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
</web-app>
|
||||
Reference in New Issue
Block a user