subsonic.contextPath - The context path at which Subsonic is deployed. Default "/".
- *
subsonic.port - The port Subsonic will listen to. Default 4040.
- *
subsonic.httpsPort - The port Subsonic will listen to for HTTPS. Default 0, which disables HTTPS.
- *
subsonic.war - Subsonic WAR file, or exploded directory. Default "subsonic.war".
- *
subsonic.createLinkFile - If set to "true", a Subsonic.url file is created in the working directory.
- *
subsonic.ssl.keystore - Path to an alternate SSL keystore.
- *
subsonic.ssl.password - Password of the alternate SSL keystore.
+ *
libresonic.contextPath - The context path at which Libresonic is deployed. Default "/".
+ *
libresonic.port - The port Libresonic will listen to. Default 4040.
+ *
libresonic.httpsPort - The port Libresonic will listen to for HTTPS. Default 0, which disables HTTPS.
+ *
libresonic.war - Libresonic WAR file, or exploded directory. Default "libresonic.war".
+ *
libresonic.createLinkFile - If set to "true", a Libresonic.url file is created in the working directory.
+ *
libresonic.ssl.keystore - Path to an alternate SSL keystore.
+ *
libresonic.ssl.password - Password of the alternate SSL keystore.
*
*
* @author Sindre Mehus
*/
-public class SubsonicDeployer implements SubsonicDeployerService {
+public class LibresonicDeployer implements LibresonicDeployerService {
public static final String DEFAULT_HOST = "0.0.0.0";
public static final int DEFAULT_PORT = 4040;
public static final int DEFAULT_HTTPS_PORT = 0;
public static final int DEFAULT_MEMORY_LIMIT = 150;
public static final String DEFAULT_CONTEXT_PATH = "/";
- public static final String DEFAULT_WAR = "subsonic.war";
+ public static final String DEFAULT_WAR = "libresonic.war";
private static final int MAX_IDLE_TIME_MILLIS = 7 * 24 * 60 * 60 * 1000; // One week.
private static final int HEADER_BUFFER_SIZE = 64 * 1024;
- // Subsonic home directory.
- private static final File SUBSONIC_HOME_WINDOWS = new File("c:/subsonic");
- private static final File SUBSONIC_HOME_OTHER = new File("/var/subsonic");
+ // Libresonic home directory.
+ private static final File SUBSONIC_HOME_WINDOWS = new File("c:/libresonic");
+ private static final File SUBSONIC_HOME_OTHER = new File("/var/libresonic");
private Throwable exception;
- private File subsonicHome;
+ private File libresonicHome;
private final Date startTime;
- public SubsonicDeployer() {
+ public LibresonicDeployer() {
// Enable shutdown hook for Ehcache.
System.setProperty("net.sf.ehcache.enableShutdownHook", "true");
@@ -66,16 +66,16 @@ public class SubsonicDeployer implements SubsonicDeployerService {
}
private void createLinkFile() {
- if ("true".equals(System.getProperty("subsonic.createLinkFile"))) {
+ if ("true".equals(System.getProperty("libresonic.createLinkFile"))) {
Writer writer = null;
try {
- writer = new FileWriter("subsonic.url");
+ writer = new FileWriter("libresonic.url");
writer.append("[InternetShortcut]");
writer.append(System.getProperty("line.separator"));
writer.append("URL=").append(getUrl());
writer.flush();
} catch (Throwable x) {
- System.err.println("Failed to create subsonic.url.");
+ System.err.println("Failed to create libresonic.url.");
x.printStackTrace();
} finally {
if (writer != null) {
@@ -108,8 +108,8 @@ public class SubsonicDeployer implements SubsonicDeployerService {
sslConnector.setHeaderBufferSize(HEADER_BUFFER_SIZE);
sslConnector.setHost(getHost());
sslConnector.setPort(getHttpsPort());
- sslConnector.setKeystore(System.getProperty("subsonic.ssl.keystore", getClass().getResource("/subsonic.keystore").toExternalForm()));
- sslConnector.setPassword(System.getProperty("subsonic.ssl.password", "subsonic"));
+ sslConnector.setKeystore(System.getProperty("libresonic.ssl.keystore", getClass().getResource("/libresonic.keystore").toExternalForm()));
+ sslConnector.setPassword(System.getProperty("libresonic.ssl.password", "libresonic"));
server.addConnector(sslConnector);
}
@@ -134,7 +134,7 @@ public class SubsonicDeployer implements SubsonicDeployerService {
server.addHandler(context);
server.start();
- System.err.println("Subsonic running on: " + getUrl());
+ System.err.println("Libresonic running on: " + getUrl());
if (isHttpsEnabled()) {
System.err.println(" and: " + getHttpsUrl());
}
@@ -155,8 +155,8 @@ public class SubsonicDeployer implements SubsonicDeployerService {
}
private File getJettyDirectory() {
- File dir = new File(getSubsonicHome(), "jetty");
- String buildNumber = getSubsonicBuildNumber();
+ File dir = new File(getLibresonicHome(), "jetty");
+ String buildNumber = getLibresonicBuildNumber();
if (buildNumber != null) {
dir = new File(dir, buildNumber);
}
@@ -169,7 +169,7 @@ public class SubsonicDeployer implements SubsonicDeployerService {
return dir;
}
- private String getSubsonicBuildNumber() {
+ private String getLibresonicBuildNumber() {
File war = new File(getWar());
InputStream in = null;
try {
@@ -194,12 +194,12 @@ public class SubsonicDeployer implements SubsonicDeployerService {
}
private String getContextPath() {
- return System.getProperty("subsonic.contextPath", DEFAULT_CONTEXT_PATH);
+ return System.getProperty("libresonic.contextPath", DEFAULT_CONTEXT_PATH);
}
private String getWar() {
- String war = System.getProperty("subsonic.war");
+ String war = System.getProperty("libresonic.war");
if (war == null) {
war = DEFAULT_WAR;
}
@@ -215,19 +215,19 @@ public class SubsonicDeployer implements SubsonicDeployerService {
}
private String getHost() {
- return System.getProperty("subsonic.host", DEFAULT_HOST);
+ return System.getProperty("libresonic.host", DEFAULT_HOST);
}
private int getPort() {
int port = DEFAULT_PORT;
- String portString = System.getProperty("subsonic.port");
+ String portString = System.getProperty("libresonic.port");
if (portString != null) {
port = Integer.parseInt(portString);
}
// Also set it so that the webapp can read it.
- System.setProperty("subsonic.port", String.valueOf(port));
+ System.setProperty("libresonic.port", String.valueOf(port));
return port;
}
@@ -235,13 +235,13 @@ public class SubsonicDeployer implements SubsonicDeployerService {
private int getHttpsPort() {
int port = DEFAULT_HTTPS_PORT;
- String portString = System.getProperty("subsonic.httpsPort");
+ String portString = System.getProperty("libresonic.httpsPort");
if (portString != null) {
port = Integer.parseInt(portString);
}
// Also set it so that the webapp can read it.
- System.setProperty("subsonic.httpsPort", String.valueOf(port));
+ System.setProperty("libresonic.httpsPort", String.valueOf(port));
return port;
}
@@ -293,20 +293,20 @@ public class SubsonicDeployer implements SubsonicDeployerService {
}
/**
- * Returns the Subsonic home directory.
+ * Returns the Libresonic home directory.
*
- * @return The Subsonic home directory, if it exists.
+ * @return The Libresonic home directory, if it exists.
* @throws RuntimeException If directory doesn't exist.
*/
- private File getSubsonicHome() {
+ private File getLibresonicHome() {
- if (subsonicHome != null) {
- return subsonicHome;
+ if (libresonicHome != null) {
+ return libresonicHome;
}
File home;
- String overrideHome = System.getProperty("subsonic.home");
+ String overrideHome = System.getProperty("libresonic.home");
if (overrideHome != null) {
home = new File(overrideHome);
} else {
@@ -318,15 +318,15 @@ public class SubsonicDeployer implements SubsonicDeployerService {
if (!home.exists() || !home.isDirectory()) {
boolean success = home.mkdirs();
if (success) {
- subsonicHome = home;
+ libresonicHome = home;
} else {
String message = "The directory " + home + " does not exist. Please create it and make it writable. " +
- "(You can override the directory location by specifying -Dsubsonic.home=... when " +
+ "(You can override the directory location by specifying -Dlibresonic.home=... when " +
"starting the servlet container.)";
System.err.println("ERROR: " + message);
}
} else {
- subsonicHome = home;
+ libresonicHome = home;
}
return home;
diff --git a/libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/deployer/LibresonicDeployerService.java b/libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/deployer/LibresonicDeployerService.java
new file mode 100644
index 00000000..b480e783
--- /dev/null
+++ b/libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/deployer/LibresonicDeployerService.java
@@ -0,0 +1,17 @@
+package org.libresonic.player.booter.deployer;
+
+/**
+ * RMI interface implemented by the Libresonic deployer and used by the agent.
+ *
+ * @author Sindre Mehus
+ */
+public interface LibresonicDeployerService {
+
+ /**
+ * Returns information about the Libresonic deployment, such
+ * as URL, memory consumption, start time etc.
+ *
+ * @return Deployment information.
+ */
+ DeploymentStatus getDeploymentInfo();
+}
diff --git a/subsonic-booter/src/main/java/net/sourceforge/subsonic/booter/mac/SubsonicController.java b/libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/mac/LibresonicController.java
similarity index 73%
rename from subsonic-booter/src/main/java/net/sourceforge/subsonic/booter/mac/SubsonicController.java
rename to libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/mac/LibresonicController.java
index 65731f31..0d97bf1d 100644
--- a/subsonic-booter/src/main/java/net/sourceforge/subsonic/booter/mac/SubsonicController.java
+++ b/libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/mac/LibresonicController.java
@@ -1,6 +1,6 @@
-package net.sourceforge.subsonic.booter.mac;
+package org.libresonic.player.booter.mac;
-import net.sourceforge.subsonic.booter.deployer.SubsonicDeployerService;
+import org.libresonic.player.booter.deployer.LibresonicDeployerService;
import javax.swing.*;
import java.awt.*;
@@ -13,15 +13,15 @@ import java.net.URI;
*
* @author Sindre Mehus
*/
-public class SubsonicController {
+public class LibresonicController {
- private final SubsonicDeployerService deployer;
- private final SubsonicFrame frame;
+ private final LibresonicDeployerService deployer;
+ private final LibresonicFrame frame;
private Action openAction;
private Action controlPanelAction;
private Action quitAction;
- public SubsonicController(SubsonicDeployerService deployer, SubsonicFrame frame) {
+ public LibresonicController(LibresonicDeployerService deployer, LibresonicFrame frame) {
this.deployer = deployer;
this.frame = frame;
createActions();
@@ -29,20 +29,20 @@ public class SubsonicController {
}
private void createActions() {
- openAction = new AbstractAction("Open Subsonic Web Page") {
+ openAction = new AbstractAction("Open Libresonic Web Page") {
public void actionPerformed(ActionEvent e) {
openBrowser();
}
};
- controlPanelAction = new AbstractAction("Subsonic Control Panel") {
+ controlPanelAction = new AbstractAction("Libresonic Control Panel") {
public void actionPerformed(ActionEvent e) {
frame.setActive(false);
frame.setActive(true);
}
};
- quitAction = new AbstractAction("Quit Subsonic") {
+ quitAction = new AbstractAction("Quit Libresonic") {
public void actionPerformed(ActionEvent e) {
System.exit(0);
}
@@ -56,9 +56,9 @@ public class SubsonicController {
menu.addSeparator();
menu.add(createMenuItem(quitAction));
- URL url = getClass().getResource("/images/subsonic-21.png");
+ URL url = getClass().getResource("/images/libresonic-21.png");
Image image = Toolkit.getDefaultToolkit().createImage(url);
- TrayIcon trayIcon = new TrayIcon(image, "Subsonic Music Streamer", menu);
+ TrayIcon trayIcon = new TrayIcon(image, "Libresonic Music Streamer", menu);
trayIcon.setImageAutoSize(false);
try {
diff --git a/subsonic-booter/src/main/java/net/sourceforge/subsonic/booter/mac/SubsonicFrame.java b/libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/mac/LibresonicFrame.java
similarity index 80%
rename from subsonic-booter/src/main/java/net/sourceforge/subsonic/booter/mac/SubsonicFrame.java
rename to libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/mac/LibresonicFrame.java
index 2a492e45..e0f34cec 100644
--- a/subsonic-booter/src/main/java/net/sourceforge/subsonic/booter/mac/SubsonicFrame.java
+++ b/libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/mac/LibresonicFrame.java
@@ -1,9 +1,9 @@
-package net.sourceforge.subsonic.booter.mac;
+package org.libresonic.player.booter.mac;
import com.jgoodies.forms.factories.Borders;
import com.jgoodies.forms.factories.ButtonBarFactory;
-import net.sourceforge.subsonic.booter.Main;
-import net.sourceforge.subsonic.booter.deployer.SubsonicDeployerService;
+import org.libresonic.player.booter.Main;
+import org.libresonic.player.booter.deployer.LibresonicDeployerService;
import javax.swing.*;
import java.awt.*;
@@ -12,25 +12,25 @@ import java.awt.event.ActionListener;
import java.net.URL;
/**
- * Frame with Subsonic status. Used on Mac installs.
+ * Frame with Libresonic status. Used on Mac installs.
*
* @author Sindre Mehus
*/
-public class SubsonicFrame extends JFrame {
+public class LibresonicFrame extends JFrame {
- private final SubsonicDeployerService deployer;
+ private final LibresonicDeployerService deployer;
private StatusPanel statusPanel;
private JButton hideButton;
private JButton exitButton;
- public SubsonicFrame(SubsonicDeployerService deployer) {
- super("Subsonic");
+ public LibresonicFrame(LibresonicDeployerService deployer) {
+ super("Libresonic");
this.deployer = deployer;
createComponents();
layoutComponents();
addBehaviour();
- URL url = Main.class.getResource("/images/subsonic-512.png");
+ URL url = Main.class.getResource("/images/libresonic-512.png");
setIconImage(Toolkit.getDefaultToolkit().createImage(url));
}
diff --git a/subsonic-booter/src/main/java/net/sourceforge/subsonic/booter/mac/StatusPanel.java b/libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/mac/StatusPanel.java
similarity index 90%
rename from subsonic-booter/src/main/java/net/sourceforge/subsonic/booter/mac/StatusPanel.java
rename to libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/mac/StatusPanel.java
index f20671f8..d64965bd 100644
--- a/subsonic-booter/src/main/java/net/sourceforge/subsonic/booter/mac/StatusPanel.java
+++ b/libresonic-booter/src/main/java/net/sourceforge/libresonic/booter/mac/StatusPanel.java
@@ -1,4 +1,4 @@
-package net.sourceforge.subsonic.booter.mac;
+package org.libresonic.player.booter.mac;
import java.awt.Color;
import java.awt.Desktop;
@@ -19,11 +19,11 @@ import com.jgoodies.forms.builder.DefaultFormBuilder;
import com.jgoodies.forms.factories.Borders;
import com.jgoodies.forms.layout.FormLayout;
-import net.sourceforge.subsonic.booter.deployer.DeploymentStatus;
-import net.sourceforge.subsonic.booter.deployer.SubsonicDeployerService;
+import org.libresonic.player.booter.deployer.DeploymentStatus;
+import org.libresonic.player.booter.deployer.LibresonicDeployerService;
/**
- * Panel displaying the status of the Subsonic service.
+ * Panel displaying the status of the Libresonic service.
*
* @author Sindre Mehus
*/
@@ -31,14 +31,14 @@ public class StatusPanel extends JPanel {
private static final DateFormat DATE_FORMAT = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM, Locale.US);
- private final SubsonicDeployerService deployer;
+ private final LibresonicDeployerService deployer;
private JTextField startedTextField;
private JTextField memoryTextField;
private JTextArea errorTextField;
private JButton urlButton;
- public StatusPanel(SubsonicDeployerService deployer) {
+ public StatusPanel(LibresonicDeployerService deployer) {
this.deployer = deployer;
createComponents();
configureComponents();
diff --git a/libresonic-booter/src/main/resources/META-INF/MANIFEST.MF b/libresonic-booter/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..76e121cd
--- /dev/null
+++ b/libresonic-booter/src/main/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+Main-Class: org.libresonic.player.booter.Main
diff --git a/subsonic-booter/src/main/resources/applicationContext-agent.xml b/libresonic-booter/src/main/resources/applicationContext-agent.xml
similarity index 65%
rename from subsonic-booter/src/main/resources/applicationContext-agent.xml
rename to libresonic-booter/src/main/resources/applicationContext-agent.xml
index a08e1111..2b2e4856 100644
--- a/subsonic-booter/src/main/resources/applicationContext-agent.xml
+++ b/libresonic-booter/src/main/resources/applicationContext-agent.xml
@@ -5,28 +5,28 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
-
-
+
+
-
+
-
+
-
+
-
+
diff --git a/subsonic-booter/src/main/resources/applicationContext-deployer.xml b/libresonic-booter/src/main/resources/applicationContext-deployer.xml
similarity index 63%
rename from subsonic-booter/src/main/resources/applicationContext-deployer.xml
rename to libresonic-booter/src/main/resources/applicationContext-deployer.xml
index 26dca501..07932bb8 100644
--- a/subsonic-booter/src/main/resources/applicationContext-deployer.xml
+++ b/libresonic-booter/src/main/resources/applicationContext-deployer.xml
@@ -4,12 +4,12 @@
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">
-
+
-
+
-
+
\ No newline at end of file
diff --git a/subsonic-booter/src/main/resources/applicationContext-mac.xml b/libresonic-booter/src/main/resources/applicationContext-mac.xml
similarity index 62%
rename from subsonic-booter/src/main/resources/applicationContext-mac.xml
rename to libresonic-booter/src/main/resources/applicationContext-mac.xml
index 1ca20178..629d9632 100644
--- a/subsonic-booter/src/main/resources/applicationContext-mac.xml
+++ b/libresonic-booter/src/main/resources/applicationContext-mac.xml
@@ -4,13 +4,13 @@
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">
-
+
-
+
-
+
diff --git a/subsonic-booter/src/main/resources/images/subsonic-16.png b/libresonic-booter/src/main/resources/images/libresonic-16.png
similarity index 100%
rename from subsonic-booter/src/main/resources/images/subsonic-16.png
rename to libresonic-booter/src/main/resources/images/libresonic-16.png
diff --git a/subsonic-booter/src/main/resources/images/subsonic-21.png b/libresonic-booter/src/main/resources/images/libresonic-21.png
similarity index 100%
rename from subsonic-booter/src/main/resources/images/subsonic-21.png
rename to libresonic-booter/src/main/resources/images/libresonic-21.png
diff --git a/subsonic-booter/src/main/resources/images/subsonic-32.png b/libresonic-booter/src/main/resources/images/libresonic-32.png
similarity index 100%
rename from subsonic-booter/src/main/resources/images/subsonic-32.png
rename to libresonic-booter/src/main/resources/images/libresonic-32.png
diff --git a/subsonic-booter/src/main/resources/images/subsonic-512.png b/libresonic-booter/src/main/resources/images/libresonic-512.png
similarity index 100%
rename from subsonic-booter/src/main/resources/images/subsonic-512.png
rename to libresonic-booter/src/main/resources/images/libresonic-512.png
diff --git a/subsonic-booter/src/main/resources/images/subsonic-started-16.png b/libresonic-booter/src/main/resources/images/libresonic-started-16.png
similarity index 100%
rename from subsonic-booter/src/main/resources/images/subsonic-started-16.png
rename to libresonic-booter/src/main/resources/images/libresonic-started-16.png
diff --git a/subsonic-booter/src/main/resources/images/subsonic-stopped-16.png b/libresonic-booter/src/main/resources/images/libresonic-stopped-16.png
similarity index 100%
rename from subsonic-booter/src/main/resources/images/subsonic-stopped-16.png
rename to libresonic-booter/src/main/resources/images/libresonic-stopped-16.png
diff --git a/subsonic-booter/src/main/resources/subsonic.keystore b/libresonic-booter/src/main/resources/libresonic.keystore
similarity index 82%
rename from subsonic-booter/src/main/resources/subsonic.keystore
rename to libresonic-booter/src/main/resources/libresonic.keystore
index 54e1589caab58ec5262c6665f0fa32ab89fc04d2..95861d24c08167f9689b91acc6123431803fcdf5 100644
GIT binary patch
delta 95
zcmcc0d7o4K-`jt085kItfS3`CIdU?Sic&Xwt0Hr2d
OGh5)0+T6<=#0UV~gcafd
diff --git a/subsonic-booter/src/main/resources/web-jetty.xml b/libresonic-booter/src/main/resources/web-jetty.xml
similarity index 78%
rename from subsonic-booter/src/main/resources/web-jetty.xml
rename to libresonic-booter/src/main/resources/web-jetty.xml
index 0282119f..0ea23153 100644
--- a/subsonic-booter/src/main/resources/web-jetty.xml
+++ b/libresonic-booter/src/main/resources/web-jetty.xml
@@ -1,24 +1,24 @@
-
diff --git a/libresonic-booter/src/main/script/libresonic.bat b/libresonic-booter/src/main/script/libresonic.bat
new file mode 100644
index 00000000..da462fce
--- /dev/null
+++ b/libresonic-booter/src/main/script/libresonic.bat
@@ -0,0 +1,24 @@
+@echo off
+
+REM The directory where Libresonic will create files. Make sure it is writable.
+set SUBSONIC_HOME=c:\libresonic
+
+REM The host name or IP address on which to bind Libresonic. Only relevant if you have
+REM multiple network interfaces and want to make Libresonic available on only one of them.
+REM The default value 0.0.0.0 will bind Libresonic to all available network interfaces.
+set SUBSONIC_HOST=0.0.0.0
+
+REM The port on which Libresonic will listen for incoming HTTP traffic.
+set SUBSONIC_PORT=4040
+
+REM The port on which Libresonic will listen for incoming HTTPS traffic (0 to disable).
+set SUBSONIC_HTTPS_PORT=0
+
+REM The context path (i.e., the last part of the Libresonic URL). Typically "/" or "/libresonic".
+set SUBSONIC_CONTEXT_PATH=/
+
+REM The memory limit (max Java heap size) in megabytes.
+set MAX_MEMORY=150
+
+java -Xmx%MAX_MEMORY%m -Dlibresonic.home=%SUBSONIC_HOME% -Dlibresonic.host=%SUBSONIC_HOST% -Dlibresonic.port=%SUBSONIC_PORT% -Dlibresonic.httpsPort=%SUBSONIC_HTTPS_PORT% -Dlibresonic.contextPath=%SUBSONIC_CONTEXT_PATH% -jar libresonic-booter-jar-with-dependencies.jar
+
diff --git a/subsonic-booter/src/main/script/subsonic.sh b/libresonic-booter/src/main/script/libresonic.sh
similarity index 63%
rename from subsonic-booter/src/main/script/subsonic.sh
rename to libresonic-booter/src/main/script/libresonic.sh
index 4022fb72..8590b671 100755
--- a/subsonic-booter/src/main/script/subsonic.sh
+++ b/libresonic-booter/src/main/script/libresonic.sh
@@ -1,12 +1,12 @@
#!/bin/sh
###################################################################################
-# Shell script for starting Subsonic. See http://subsonic.org.
+# Shell script for starting Libresonic. See http://libresonic.org.
#
# Author: Sindre Mehus
###################################################################################
-SUBSONIC_HOME=/var/subsonic
+SUBSONIC_HOME=/var/libresonic
SUBSONIC_HOST=0.0.0.0
SUBSONIC_PORT=4040
SUBSONIC_HTTPS_PORT=0
@@ -20,30 +20,30 @@ SUBSONIC_DEFAULT_PLAYLIST_FOLDER=/var/playlists
quiet=0
usage() {
- echo "Usage: subsonic.sh [options]"
+ echo "Usage: libresonic.sh [options]"
echo " --help This small usage guide."
- echo " --home=DIR The directory where Subsonic will create files."
- echo " Make sure it is writable. Default: /var/subsonic"
- echo " --host=HOST The host name or IP address on which to bind Subsonic."
+ echo " --home=DIR The directory where Libresonic will create files."
+ echo " Make sure it is writable. Default: /var/libresonic"
+ echo " --host=HOST The host name or IP address on which to bind Libresonic."
echo " Only relevant if you have multiple network interfaces and want"
- echo " to make Subsonic available on only one of them. The default value"
- echo " will bind Subsonic to all available network interfaces. Default: 0.0.0.0"
- echo " --port=PORT The port on which Subsonic will listen for"
+ echo " to make Libresonic available on only one of them. The default value"
+ echo " will bind Libresonic to all available network interfaces. Default: 0.0.0.0"
+ echo " --port=PORT The port on which Libresonic will listen for"
echo " incoming HTTP traffic. Default: 4040"
- echo " --https-port=PORT The port on which Subsonic will listen for"
+ echo " --https-port=PORT The port on which Libresonic will listen for"
echo " incoming HTTPS traffic. Default: 0 (disabled)"
- echo " --context-path=PATH The context path, i.e., the last part of the Subsonic"
- echo " URL. Typically '/' or '/subsonic'. Default '/'"
+ echo " --context-path=PATH The context path, i.e., the last part of the Libresonic"
+ echo " URL. Typically '/' or '/libresonic'. Default '/'"
echo " --max-memory=MB The memory limit (max Java heap size) in megabytes."
echo " Default: 100"
echo " --pidfile=PIDFILE Write PID to this file. Default not created."
echo " --quiet Don't print anything to standard out. Default false."
- echo " --default-music-folder=DIR Configure Subsonic to use this folder for music. This option "
- echo " only has effect the first time Subsonic is started. Default '/var/music'"
- echo " --default-podcast-folder=DIR Configure Subsonic to use this folder for Podcasts. This option "
- echo " only has effect the first time Subsonic is started. Default '/var/music/Podcast'"
- echo " --default-playlist-folder=DIR Configure Subsonic to use this folder for playlists. This option "
- echo " only has effect the first time Subsonic is started. Default '/var/playlists'"
+ echo " --default-music-folder=DIR Configure Libresonic to use this folder for music. This option "
+ echo " only has effect the first time Libresonic is started. Default '/var/music'"
+ echo " --default-podcast-folder=DIR Configure Libresonic to use this folder for Podcasts. This option "
+ echo " only has effect the first time Libresonic is started. Default '/var/music/Podcast'"
+ echo " --default-playlist-folder=DIR Configure Libresonic to use this folder for playlists. This option "
+ echo " only has effect the first time Libresonic is started. Default '/var/playlists'"
exit 1
}
@@ -100,9 +100,9 @@ if [ -e "${JAVA_HOME}" ]
JAVA=${JAVA_HOME}/bin/java
fi
-# Create Subsonic home directory.
+# Create Libresonic home directory.
mkdir -p ${SUBSONIC_HOME}
-LOG=${SUBSONIC_HOME}/subsonic_sh.log
+LOG=${SUBSONIC_HOME}/libresonic_sh.log
rm -f ${LOG}
cd $(dirname $0)
@@ -111,17 +111,17 @@ if [ -L $0 ] && ([ -e /bin/readlink ] || [ -e /usr/bin/readlink ]); then
fi
${JAVA} -Xmx${SUBSONIC_MAX_MEMORY}m \
- -Dsubsonic.home=${SUBSONIC_HOME} \
- -Dsubsonic.host=${SUBSONIC_HOST} \
- -Dsubsonic.port=${SUBSONIC_PORT} \
- -Dsubsonic.httpsPort=${SUBSONIC_HTTPS_PORT} \
- -Dsubsonic.contextPath=${SUBSONIC_CONTEXT_PATH} \
- -Dsubsonic.defaultMusicFolder=${SUBSONIC_DEFAULT_MUSIC_FOLDER} \
- -Dsubsonic.defaultPodcastFolder=${SUBSONIC_DEFAULT_PODCAST_FOLDER} \
- -Dsubsonic.defaultPlaylistFolder=${SUBSONIC_DEFAULT_PLAYLIST_FOLDER} \
+ -Dlibresonic.home=${SUBSONIC_HOME} \
+ -Dlibresonic.host=${SUBSONIC_HOST} \
+ -Dlibresonic.port=${SUBSONIC_PORT} \
+ -Dlibresonic.httpsPort=${SUBSONIC_HTTPS_PORT} \
+ -Dlibresonic.contextPath=${SUBSONIC_CONTEXT_PATH} \
+ -Dlibresonic.defaultMusicFolder=${SUBSONIC_DEFAULT_MUSIC_FOLDER} \
+ -Dlibresonic.defaultPodcastFolder=${SUBSONIC_DEFAULT_PODCAST_FOLDER} \
+ -Dlibresonic.defaultPlaylistFolder=${SUBSONIC_DEFAULT_PLAYLIST_FOLDER} \
-Djava.awt.headless=true \
-verbose:gc \
- -jar subsonic-booter-jar-with-dependencies.jar > ${LOG} 2>&1 &
+ -jar libresonic-booter-jar-with-dependencies.jar > ${LOG} 2>&1 &
# Write pid to pidfile if it is defined.
if [ $SUBSONIC_PIDFILE ]; then
@@ -129,6 +129,6 @@ if [ $SUBSONIC_PIDFILE ]; then
fi
if [ $quiet = 0 ]; then
- echo Started Subsonic [PID $!, ${LOG}]
+ echo Started Libresonic [PID $!, ${LOG}]
fi
diff --git a/subsonic-installer-debian/pom.xml b/libresonic-installer-debian/pom.xml
similarity index 71%
rename from subsonic-installer-debian/pom.xml
rename to libresonic-installer-debian/pom.xml
index ca15cbb5..a53e444c 100644
--- a/subsonic-installer-debian/pom.xml
+++ b/libresonic-installer-debian/pom.xml
@@ -2,14 +2,14 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0
- net.sourceforge.subsonic
- subsonic-installer-debian
+ org.libresonic.player
+ libresonic-installer-debianpom
- Subsonic Installer for Debian
+ Libresonic Installer for Debian
- net.sourceforge.subsonic
- subsonic
+ org.libresonic.player
+ libresonic6.0.1
@@ -41,11 +41,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -53,10 +53,10 @@
-
-
-
-
+
+
+
+
@@ -65,10 +65,10 @@
-
+
-
+
diff --git a/libresonic-installer-debian/src/DEBIAN/conffiles b/libresonic-installer-debian/src/DEBIAN/conffiles
new file mode 100644
index 00000000..01b33bee
--- /dev/null
+++ b/libresonic-installer-debian/src/DEBIAN/conffiles
@@ -0,0 +1 @@
+/etc/default/libresonic
diff --git a/subsonic-installer-debian/src/DEBIAN/control b/libresonic-installer-debian/src/DEBIAN/control
similarity index 69%
rename from subsonic-installer-debian/src/DEBIAN/control
rename to libresonic-installer-debian/src/DEBIAN/control
index 21caa735..5f6fbf42 100644
--- a/subsonic-installer-debian/src/DEBIAN/control
+++ b/libresonic-installer-debian/src/DEBIAN/control
@@ -1,4 +1,4 @@
-Package: subsonic
+Package: libresonic
Version: @VERSION@
Section: Multimedia
Priority: optional
@@ -6,13 +6,13 @@ Recommends: ffmpeg
Architecture: all
Maintainer: Sindre Mehus
Description: A web-based music streamer, jukebox and Podcast receiver
- Subsonic is a web-based music streamer, jukebox and Podcast receiver,
+ Libresonic is a web-based music streamer, jukebox and Podcast receiver,
providing access to your music collection wherever you are. Use it
to share your music with friends, or to listen to your music while away
from home.
.
Apps for Android, iPhone and Windows Phone are also available.
.
- Java 1.6 or higher is required to run Subsonic.
+ Java 1.6 or higher is required to run Libresonic.
.
- Subsonic can be found at http://subsonic.org
+ Libresonic can be found at http://libresonic.org
diff --git a/libresonic-installer-debian/src/DEBIAN/postinst b/libresonic-installer-debian/src/DEBIAN/postinst
new file mode 100644
index 00000000..30abebda
--- /dev/null
+++ b/libresonic-installer-debian/src/DEBIAN/postinst
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+set -e
+
+ln -sf /usr/share/libresonic/libresonic.sh /usr/bin/libresonic
+
+chmod 750 /var/libresonic
+
+# Clear jetty cache.
+rm -rf /var/libresonic/jetty
+
+# Configure Libresonic service.
+update-rc.d libresonic defaults 99
+
+# Start Libresonic service.
+invoke-rc.d libresonic start
diff --git a/subsonic-installer-debian/src/DEBIAN/postrm b/libresonic-installer-debian/src/DEBIAN/postrm
similarity index 52%
rename from subsonic-installer-debian/src/DEBIAN/postrm
rename to libresonic-installer-debian/src/DEBIAN/postrm
index 1ecc392d..2bfccda9 100644
--- a/subsonic-installer-debian/src/DEBIAN/postrm
+++ b/libresonic-installer-debian/src/DEBIAN/postrm
@@ -3,7 +3,7 @@
set -e
# Remove symlink.
-rm -f /usr/bin/subsonic
+rm -f /usr/bin/libresonic
# Remove startup scripts.
-update-rc.d -f subsonic remove
+update-rc.d -f libresonic remove
diff --git a/libresonic-installer-debian/src/DEBIAN/preinst b/libresonic-installer-debian/src/DEBIAN/preinst
new file mode 100644
index 00000000..1b32b446
--- /dev/null
+++ b/libresonic-installer-debian/src/DEBIAN/preinst
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+set -e
+
+# Stop Libresonic service.
+if [ -e /etc/init.d/libresonic ]; then
+ invoke-rc.d libresonic stop
+fi
+
+# Backup database.
+if [ -e /var/libresonic/db ]; then
+ rm -rf /var/libresonic/db.backup
+ cp -R /var/libresonic/db /var/libresonic/db.backup
+fi
+
diff --git a/libresonic-installer-debian/src/DEBIAN/prerm b/libresonic-installer-debian/src/DEBIAN/prerm
new file mode 100644
index 00000000..786b645e
--- /dev/null
+++ b/libresonic-installer-debian/src/DEBIAN/prerm
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+set -e
+
+# Stop Libresonic service.
+if [ -e /etc/init.d/libresonic ]; then
+ invoke-rc.d libresonic stop
+fi
diff --git a/subsonic-installer-debian/src/etc/default/subsonic b/libresonic-installer-debian/src/etc/default/libresonic
similarity index 55%
rename from subsonic-installer-debian/src/etc/default/subsonic
rename to libresonic-installer-debian/src/etc/default/libresonic
index c056edfd..89765688 100644
--- a/subsonic-installer-debian/src/etc/default/subsonic
+++ b/libresonic-installer-debian/src/etc/default/libresonic
@@ -1,14 +1,14 @@
#
-# This is the configuration file for the Subsonic service
-# (/etc/init.d/subsonic)
+# This is the configuration file for the Libresonic service
+# (/etc/init.d/libresonic)
#
-# To change the startup parameters of Subsonic, modify
+# To change the startup parameters of Libresonic, modify
# the SUBSONIC_ARGS variable below.
#
-# Type "/usr/share/subsonic/subsonic.sh --help" on the command line to read an
+# Type "/usr/share/libresonic/libresonic.sh --help" on the command line to read an
# explanation of the different options.
#
-# For example, to specify that Subsonic should use port 80 (for http)
+# For example, to specify that Libresonic should use port 80 (for http)
# and 443 (for https), and use a Java memory heap size of 200 MB, use
# the following:
#
@@ -17,7 +17,7 @@
SUBSONIC_ARGS="--max-memory=150"
-# The user which should run the Subsonic process. Default "root".
+# The user which should run the Libresonic process. Default "root".
# Note that non-root users are by default not allowed to use ports
# below 1024. Also make sure to grant the user write permissions in
# the music directories, otherwise changing album art and tags will fail.
diff --git a/subsonic-installer-debian/src/etc/init.d/subsonic b/libresonic-installer-debian/src/etc/init.d/libresonic
similarity index 81%
rename from subsonic-installer-debian/src/etc/init.d/subsonic
rename to libresonic-installer-debian/src/etc/init.d/libresonic
index b45c1ed9..f7e98f48 100644
--- a/subsonic-installer-debian/src/etc/init.d/subsonic
+++ b/libresonic-installer-debian/src/etc/init.d/libresonic
@@ -1,25 +1,25 @@
#! /bin/sh
### BEGIN INIT INFO
-# Provides: subsonic
+# Provides: libresonic
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# Short-Description: Subsonic daemon
-# Description: Starts the Subsonic daemon. Subsonic is a web-based
+# Short-Description: Libresonic daemon
+# Description: Starts the Libresonic daemon. Libresonic is a web-based
# music streamer, jukebox and Podcast receiver.
-# See http://subsonic.org for more details.
+# See http://libresonic.org for more details.
### END INIT INFO
# Author: Sindre Mehus
-# To change the startup parameters of Subsonic, modify the service
-# configuration file /etc/default/subsonic rather than this file.
-[ -r /etc/default/subsonic ] && . /etc/default/subsonic
+# To change the startup parameters of Libresonic, modify the service
+# configuration file /etc/default/libresonic rather than this file.
+[ -r /etc/default/libresonic ] && . /etc/default/libresonic
PATH=/sbin:/usr/sbin:/bin:/usr/bin
-DESC="Subsonic Daemon"
-NAME=subsonic
+DESC="Libresonic Daemon"
+NAME=libresonic
PIDFILE=/var/run/$NAME.pid
DAEMON=/usr/bin/$NAME
DAEMON_ARGS="--pidfile=$PIDFILE $SUBSONIC_ARGS"
@@ -31,7 +31,7 @@ SCRIPTNAME=/etc/init.d/$NAME
# Run as root if SUBSONIC_USER is not set.
[ "$SUBSONIC_USER" = "" ] && SUBSONIC_USER=root
-# Make sure Subsonic is started with system locale
+# Make sure Libresonic is started with system locale
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG
@@ -62,8 +62,8 @@ do_start()
touch $PIDFILE
chown $SUBSONIC_USER $PIDFILE
- [ -e /var/subsonic ] && chown -R $SUBSONIC_USER /var/subsonic
- [ -e /tmp/subsonic ] && chown -R $SUBSONIC_USER /tmp/subsonic
+ [ -e /var/libresonic ] && chown -R $SUBSONIC_USER /var/libresonic
+ [ -e /tmp/libresonic ] && chown -R $SUBSONIC_USER /tmp/libresonic
start-stop-daemon --start -c $SUBSONIC_USER --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS || return 2
}
diff --git a/subsonic-installer-mac/pom.xml b/libresonic-installer-mac/pom.xml
similarity index 65%
rename from subsonic-installer-mac/pom.xml
rename to libresonic-installer-mac/pom.xml
index 4ccf67f1..455ff4e7 100644
--- a/subsonic-installer-mac/pom.xml
+++ b/libresonic-installer-mac/pom.xml
@@ -2,29 +2,29 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0
- net.sourceforge.subsonic
- subsonic-installer-mac
+ org.libresonic.player
+ libresonic-installer-macpom
- Subsonic Installer for Mac
+ Libresonic Installer for Mac
- net.sourceforge.subsonic
- subsonic
+ org.libresonic.player
+ libresonic6.0.1
- net.sourceforge.subsonic
- subsonic-main
+ org.libresonic.player
+ libresonic-main${project.version}war
- net.sourceforge.subsonic
- subsonic-booter
+ org.libresonic.player
+ libresonic-booter${project.version}
@@ -52,41 +52,41 @@
+ mainclassname="org.libresonic.player.booter.Main">
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
-
+
-
-
+
+
diff --git a/subsonic-installer-mac/src/subsonic.icns b/libresonic-installer-mac/src/libresonic.icns
similarity index 100%
rename from subsonic-installer-mac/src/subsonic.icns
rename to libresonic-installer-mac/src/libresonic.icns
diff --git a/subsonic-installer-mac/src/subsonic.pkgproj b/libresonic-installer-mac/src/libresonic.pkgproj
similarity index 98%
rename from subsonic-installer-mac/src/subsonic.pkgproj
rename to libresonic-installer-mac/src/libresonic.pkgproj
index f8240032..c2c75fe2 100755
--- a/subsonic-installer-mac/src/subsonic.pkgproj
+++ b/libresonic-installer-mac/src/libresonic.pkgproj
@@ -22,7 +22,7 @@
GID80PATH
- ../target/Subsonic.app
+ ../target/Libresonic.appPATH_TYPE1PERMISSIONS
@@ -80,7 +80,7 @@
GID80PATH
- ../../subsonic-transcode/mac/ffmpeg
+ ../../libresonic-transcode/mac/ffmpegPATH_TYPE1PERMISSIONS
@@ -108,7 +108,7 @@
GID80PATH
- Subsonic
+ LibresonicPATH_TYPE0PERMISSIONS
@@ -546,9 +546,9 @@
CONCLUSION_ACTION0IDENTIFIER
- net.sourceforge.subsonic
+ org.libresonic.playerNAME
- subsonic
+ libresonicOVERWRITE_PERMISSIONSVERSION
@@ -586,7 +586,7 @@
BACKGROUND_PATHPATH
- subsonic.png
+ libresonic.pngPATH_TYPE1
@@ -672,7 +672,7 @@
LANGUAGEEnglishVALUE
- Subsonic
+ Libresonic
@@ -872,7 +872,7 @@
NAME
- subsonic
+ libresonicTYPE
diff --git a/subsonic-installer-mac/src/subsonic.png b/libresonic-installer-mac/src/libresonic.png
similarity index 100%
rename from subsonic-installer-mac/src/subsonic.png
rename to libresonic-installer-mac/src/libresonic.png
diff --git a/subsonic-installer-mac/src/postinstall.sh b/libresonic-installer-mac/src/postinstall.sh
similarity index 68%
rename from subsonic-installer-mac/src/postinstall.sh
rename to libresonic-installer-mac/src/postinstall.sh
index 95ddc230..f72d50f5 100644
--- a/subsonic-installer-mac/src/postinstall.sh
+++ b/libresonic-installer-mac/src/postinstall.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-SUBSONIC_HOME="/Library/Application Support/Subsonic"
+SUBSONIC_HOME="/Library/Application Support/Libresonic"
chmod oug+rwx "$SUBSONIC_HOME"
chown root:admin "$SUBSONIC_HOME"
@@ -10,4 +10,4 @@ chown root:admin "$SUBSONIC_HOME/transcode"
rm -rf "$SUBSONIC_HOME/jetty"
-echo Subsonic installation done
+echo Libresonic installation done
diff --git a/subsonic-installer-mac/src/preinstall.sh b/libresonic-installer-mac/src/preinstall.sh
similarity index 74%
rename from subsonic-installer-mac/src/preinstall.sh
rename to libresonic-installer-mac/src/preinstall.sh
index 84055f5e..10907350 100755
--- a/subsonic-installer-mac/src/preinstall.sh
+++ b/libresonic-installer-mac/src/preinstall.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-SUBSONIC_HOME="/Library/Application Support/Subsonic"
+SUBSONIC_HOME="/Library/Application Support/Libresonic"
# Backup database.
diff --git a/subsonic-installer-rpm/pom.xml b/libresonic-installer-rpm/pom.xml
similarity index 80%
rename from subsonic-installer-rpm/pom.xml
rename to libresonic-installer-rpm/pom.xml
index 89837d66..3aab61c9 100644
--- a/subsonic-installer-rpm/pom.xml
+++ b/libresonic-installer-rpm/pom.xml
@@ -2,14 +2,14 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0
- net.sourceforge.subsonic
- subsonic-installer-rpm
+ org.libresonic.player
+ libresonic-installer-rpmpom
- Subsonic Installer for RPM
+ Libresonic Installer for RPM
- net.sourceforge.subsonic
- subsonic
+ org.libresonic.player
+ libresonic6.0.1
@@ -52,7 +52,7 @@
Creating RPM package...
-
@@ -61,7 +61,7 @@
-
+ .beta1.beta2.beta3
@@ -70,20 +70,20 @@
-
-
-
-
-
-
-
+
+
+
+
+
@@ -93,17 +93,17 @@
-
+
-
+
-
+
diff --git a/subsonic-installer-rpm/src/etc/init.d/subsonic b/libresonic-installer-rpm/src/etc/init.d/libresonic
similarity index 71%
rename from subsonic-installer-rpm/src/etc/init.d/subsonic
rename to libresonic-installer-rpm/src/etc/init.d/libresonic
index 8c17ea44..71616490 100644
--- a/subsonic-installer-rpm/src/etc/init.d/subsonic
+++ b/libresonic-installer-rpm/src/etc/init.d/libresonic
@@ -1,30 +1,30 @@
#!/bin/bash
#
-# subsonic This shell script takes care of starting and stopping Subsonic
+# libresonic This shell script takes care of starting and stopping Libresonic
#
# chkconfig: - 80 20
#
### BEGIN INIT INFO
-# Provides: subsonic
+# Provides: libresonic
# Required-Start: $network $syslog
# Required-Stop: $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# Short-Description: Subsonic daemon
-# Description: Starts the Subsonic daemon. Subsonic is a web-based
+# Short-Description: Libresonic daemon
+# Description: Starts the Libresonic daemon. Libresonic is a web-based
# music streamer, jukebox and Podcast receiver.
-# See http://subsonic.org for more details.
+# See http://libresonic.org for more details.
### END INIT INFO
# Author: Sindre Mehus
-# To change the startup parameters of Subsonic, modify the service
-# configuration file /etc/sysconfig/subsonic rather than this file.
-[ -r /etc/sysconfig/subsonic ] && . /etc/sysconfig/subsonic
+# To change the startup parameters of Libresonic, modify the service
+# configuration file /etc/sysconfig/libresonic rather than this file.
+[ -r /etc/sysconfig/libresonic ] && . /etc/sysconfig/libresonic
PATH=/sbin:/usr/sbin:/bin:/usr/bin
-DESC="Subsonic Daemon"
-NAME=subsonic
+DESC="Libresonic Daemon"
+NAME=libresonic
PIDFILE=/var/run/$NAME.pid
LOCKFILE=/var/lock/subsys/$NAME
DAEMON=/usr/bin/$NAME
@@ -54,8 +54,8 @@ do_start()
touch $PIDFILE
chown $SUBSONIC_USER $PIDFILE
- [ -e /var/subsonic ] && chown -R $SUBSONIC_USER /var/subsonic
- [ -e /tmp/subsonic ] && chown -R $SUBSONIC_USER /tmp/subsonic
+ [ -e /var/libresonic ] && chown -R $SUBSONIC_USER /var/libresonic
+ [ -e /tmp/libresonic ] && chown -R $SUBSONIC_USER /tmp/libresonic
echo $"Starting $NAME ..."
su -c "$DAEMON $DAEMON_ARGS" $SUBSONIC_USER
diff --git a/subsonic-installer-rpm/src/etc/sysconfig/subsonic b/libresonic-installer-rpm/src/etc/sysconfig/libresonic
similarity index 57%
rename from subsonic-installer-rpm/src/etc/sysconfig/subsonic
rename to libresonic-installer-rpm/src/etc/sysconfig/libresonic
index 25fa2453..f76a1139 100644
--- a/subsonic-installer-rpm/src/etc/sysconfig/subsonic
+++ b/libresonic-installer-rpm/src/etc/sysconfig/libresonic
@@ -1,14 +1,14 @@
#
-# This is the configuration file for the Subsonic service
-# (/etc/init.d/subsonic)
+# This is the configuration file for the Libresonic service
+# (/etc/init.d/libresonic)
#
-# To change the startup parameters of Subsonic, modify
+# To change the startup parameters of Libresonic, modify
# the SUBSONIC_ARGS variable below.
#
-# Type "/usr/share/subsonic/subsonic.sh --help" on the command line to read an
+# Type "/usr/share/libresonic/libresonic.sh --help" on the command line to read an
# explanation of the different options.
#
-# For example, to specify that Subsonic should use port 80 (for http)
+# For example, to specify that Libresonic should use port 80 (for http)
# and 443 (for https), and use a Java memory heap size of 200 MB, use
# the following:
#
@@ -17,7 +17,7 @@
SUBSONIC_ARGS="--max-memory=150"
-# The user which should run the Subsonic process. Default "root".
+# The user which should run the Libresonic process. Default "root".
# Note that non-root users are by default not allowed to use ports
# below 1024. Also make sure to grant the user write permissions in
# the music directories, otherwise changing album art and tags will fail.
diff --git a/libresonic-installer-rpm/src/libresonic.spec b/libresonic-installer-rpm/src/libresonic.spec
new file mode 100644
index 00000000..2818f059
--- /dev/null
+++ b/libresonic-installer-rpm/src/libresonic.spec
@@ -0,0 +1,78 @@
+Name: libresonic
+Version: @VERSION@
+Release: @BUILD_NUMBER@
+Summary: A web-based music streamer, jukebox and Podcast receiver
+
+Group: Applications/Multimedia
+License: GPLv3
+URL: http://libresonic.org
+
+%description
+Libresonic is a web-based music streamer, jukebox and Podcast receiver,
+providing access to your music collection wherever you are. Use it
+to share your music with friends, or to listen to your music while away
+from home.
+
+Apps for Android, iPhone and Windows Phone are also available.
+
+Java 1.6 or higher is required to run Libresonic.
+
+Libresonic can be found at http://libresonic.org
+
+%files
+%defattr(644,root,root,755)
+/usr/share/libresonic/libresonic-booter-jar-with-dependencies.jar
+/usr/share/libresonic/libresonic.war
+%attr(755,root,root) /usr/share/libresonic/libresonic.sh
+%attr(755,root,root) /etc/init.d/libresonic
+%attr(755,root,root) /var/libresonic/transcode/ffmpeg
+%attr(755,root,root) /var/libresonic/transcode/lame
+%config(noreplace) /etc/sysconfig/libresonic
+
+%pre
+# Stop Libresonic service.
+if [ -e /etc/init.d/libresonic ]; then
+ service libresonic stop
+fi
+
+# Backup database.
+if [ -e /var/libresonic/db ]; then
+ rm -rf /var/libresonic/db.backup
+ cp -R /var/libresonic/db /var/libresonic/db.backup
+fi
+
+exit 0
+
+%post
+ln -sf /usr/share/libresonic/libresonic.sh /usr/bin/libresonic
+chmod 750 /var/libresonic
+
+# Clear jetty cache.
+rm -rf /var/libresonic/jetty
+
+# For SELinux: Set security context
+chcon -t java_exec_t /etc/init.d/libresonic 2>/dev/null
+
+# Configure and start Libresonic service.
+chkconfig --add libresonic
+service libresonic start
+
+exit 0
+
+%preun
+# Only do it if uninstalling, not upgrading.
+if [ $1 = 0 ] ; then
+
+ # Stop the service.
+ [ -e /etc/init.d/libresonic ] && service libresonic stop
+
+ # Remove symlink.
+ rm -f /usr/bin/libresonic
+
+ # Remove startup scripts.
+ chkconfig --del libresonic
+
+fi
+
+exit 0
+
diff --git a/subsonic-installer-windows/pom.xml b/libresonic-installer-windows/pom.xml
similarity index 80%
rename from subsonic-installer-windows/pom.xml
rename to libresonic-installer-windows/pom.xml
index ce5417c6..b3b777a3 100644
--- a/subsonic-installer-windows/pom.xml
+++ b/libresonic-installer-windows/pom.xml
@@ -2,14 +2,14 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0
- net.sourceforge.subsonic
- subsonic-installer-windows
+ org.libresonic.player
+ libresonic-installer-windowspom
- Subsonic Installer for Windows
+ Libresonic Installer for Windows
- net.sourceforge.subsonic
- subsonic
+ org.libresonic.player
+ libresonic6.0.1
@@ -21,15 +21,15 @@
- net.sourceforge.subsonic
- subsonic-main
+ org.libresonic.player
+ libresonic-main${project.version}war
- net.sourceforge.subsonic
- subsonic-booter
+ org.libresonic.player
+ libresonic-booter${project.version}
@@ -56,20 +56,20 @@
Compiling exe4j...
-
-
-
+
+
+
-
+
-
+
-
+
@@ -86,8 +86,8 @@
Compiling NSIS script...
-
-
+
+
diff --git a/subsonic-installer-windows/src/main/exe4j/subsonic-16.ico b/libresonic-installer-windows/src/main/exe4j/libresonic-16.ico
similarity index 100%
rename from subsonic-installer-windows/src/main/exe4j/subsonic-16.ico
rename to libresonic-installer-windows/src/main/exe4j/libresonic-16.ico
diff --git a/subsonic-installer-windows/src/main/exe4j/subsonic-agent-elevated.exe.vmoptions b/libresonic-installer-windows/src/main/exe4j/libresonic-agent-elevated.exe.vmoptions
similarity index 100%
rename from subsonic-installer-windows/src/main/exe4j/subsonic-agent-elevated.exe.vmoptions
rename to libresonic-installer-windows/src/main/exe4j/libresonic-agent-elevated.exe.vmoptions
diff --git a/subsonic-installer-windows/src/main/exe4j/subsonic-agent-elevated.exe4j b/libresonic-installer-windows/src/main/exe4j/libresonic-agent-elevated.exe4j
similarity index 53%
rename from subsonic-installer-windows/src/main/exe4j/subsonic-agent-elevated.exe4j
rename to libresonic-installer-windows/src/main/exe4j/libresonic-agent-elevated.exe4j
index b6c2d9a3..7b213300 100644
--- a/subsonic-installer-windows/src/main/exe4j/subsonic-agent-elevated.exe4j
+++ b/libresonic-installer-windows/src/main/exe4j/libresonic-agent-elevated.exe4j
@@ -1,12 +1,12 @@
-
+
-
+
@@ -18,14 +18,14 @@
-
+
-
+
diff --git a/subsonic-installer-windows/src/main/exe4j/subsonic-agent.exe.vmoptions b/libresonic-installer-windows/src/main/exe4j/libresonic-agent.exe.vmoptions
similarity index 100%
rename from subsonic-installer-windows/src/main/exe4j/subsonic-agent.exe.vmoptions
rename to libresonic-installer-windows/src/main/exe4j/libresonic-agent.exe.vmoptions
diff --git a/subsonic-installer-windows/src/main/exe4j/subsonic-agent.exe4j b/libresonic-installer-windows/src/main/exe4j/libresonic-agent.exe4j
similarity index 66%
rename from subsonic-installer-windows/src/main/exe4j/subsonic-agent.exe4j
rename to libresonic-installer-windows/src/main/exe4j/libresonic-agent.exe4j
index 5611e45f..da39f532 100644
--- a/subsonic-installer-windows/src/main/exe4j/subsonic-agent.exe4j
+++ b/libresonic-installer-windows/src/main/exe4j/libresonic-agent.exe4j
@@ -1,12 +1,12 @@
-
+
-
+
@@ -24,14 +24,14 @@
-
+
-
+
diff --git a/libresonic-installer-windows/src/main/exe4j/libresonic-service.exe.vmoptions b/libresonic-installer-windows/src/main/exe4j/libresonic-service.exe.vmoptions
new file mode 100644
index 00000000..7196e9ae
--- /dev/null
+++ b/libresonic-installer-windows/src/main/exe4j/libresonic-service.exe.vmoptions
@@ -0,0 +1,6 @@
+-Xmx150m
+-verbose:gc
+-Dlibresonic.host=0.0.0.0
+-Dlibresonic.port=4040
+-Dlibresonic.httpsPort=0
+-Dlibresonic.contextPath=/
diff --git a/subsonic-installer-windows/src/main/exe4j/subsonic-service.exe4j b/libresonic-installer-windows/src/main/exe4j/libresonic-service.exe4j
similarity index 65%
rename from subsonic-installer-windows/src/main/exe4j/subsonic-service.exe4j
rename to libresonic-installer-windows/src/main/exe4j/libresonic-service.exe4j
index 2b870b59..6bfb2327 100644
--- a/subsonic-installer-windows/src/main/exe4j/subsonic-service.exe4j
+++ b/libresonic-installer-windows/src/main/exe4j/libresonic-service.exe4j
@@ -1,12 +1,12 @@
-
+
-
+
@@ -24,14 +24,14 @@
-
+
-
+
diff --git a/subsonic-installer-windows/src/main/nsis/jre-8u31-windows-i586-iftw.exe b/libresonic-installer-windows/src/main/nsis/jre-8u31-windows-i586-iftw.exe
similarity index 100%
rename from subsonic-installer-windows/src/main/nsis/jre-8u31-windows-i586-iftw.exe
rename to libresonic-installer-windows/src/main/nsis/jre-8u31-windows-i586-iftw.exe
diff --git a/libresonic-installer-windows/src/main/nsis/libresonic.nsi b/libresonic-installer-windows/src/main/nsis/libresonic.nsi
new file mode 100644
index 00000000..b7ef37fe
--- /dev/null
+++ b/libresonic-installer-windows/src/main/nsis/libresonic.nsi
@@ -0,0 +1,213 @@
+# libresonic.nsi
+
+!include "WordFunc.nsh"
+!include "MUI.nsh"
+
+!insertmacro VersionCompare
+
+# The name of the installer
+Name "Libresonic"
+
+# The default installation directory
+InstallDir $PROGRAMFILES\Libresonic
+
+# Registry key to check for directory (so if you install again, it will
+# overwrite the old one automatically)
+InstallDirRegKey HKLM "Software\Libresonic" "Install_Dir"
+
+#--------------------------------
+#Interface Configuration
+
+!define MUI_HEADERIMAGE
+!define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\orange.bmp"
+!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\Getting Started.html"
+!define MUI_FINISHPAGE_SHOWREADME_TEXT "View Getting Started document"
+
+#--------------------------------
+# Pages
+
+# This page checks for JRE
+Page custom CheckInstalledJRE
+
+!insertmacro MUI_PAGE_WELCOME
+!insertmacro MUI_PAGE_DIRECTORY
+!insertmacro MUI_PAGE_INSTFILES
+!insertmacro MUI_PAGE_FINISH
+
+!insertmacro MUI_UNPAGE_WELCOME
+!insertmacro MUI_UNPAGE_CONFIRM
+!insertmacro MUI_UNPAGE_INSTFILES
+
+# Languages
+!insertmacro MUI_LANGUAGE "English"
+
+Section "Libresonic"
+
+ SectionIn RO
+
+ # Install for all users
+ SetShellVarContext "all"
+
+ # Take backup of existing libresonic-service.exe.vmoptions
+ CopyFiles /SILENT $INSTDIR\libresonic-service.exe.vmoptions $TEMP\libresonic-service.exe.vmoptions
+
+ # Silently uninstall existing version.
+ ExecWait '"$INSTDIR\uninstall.exe" /S _?=$INSTDIR'
+
+ # Remove previous Jetty temp directory.
+ RMDir /r "c:\libresonic\jetty"
+
+ # Backup database.
+ RMDir /r "c:\libresonic\db.backup"
+ CreateDirectory "c:\libresonic\db.backup"
+ CopyFiles /SILENT "c:\libresonic\db\*" "c:\libresonic\db.backup"
+
+ # Set output path to the installation directory.
+ SetOutPath $INSTDIR
+
+ # Write files.
+ File ..\..\..\target\libresonic-agent.exe
+ File ..\..\..\target\libresonic-agent.exe.vmoptions
+ File ..\..\..\target\libresonic-agent-elevated.exe
+ File ..\..\..\target\libresonic-agent-elevated.exe.vmoptions
+ File ..\..\..\target\libresonic-service.exe
+ File ..\..\..\target\libresonic-service.exe.vmoptions
+ File ..\..\..\..\libresonic-booter\target\libresonic-booter-jar-with-dependencies.jar
+ File ..\..\..\..\libresonic-main\README.TXT
+ File ..\..\..\..\libresonic-main\LICENSE.TXT
+ File "..\..\..\..\libresonic-main\Getting Started.html"
+ File ..\..\..\..\libresonic-main\target\libresonic.war
+ File ..\..\..\..\libresonic-main\target\classes\version.txt
+ File ..\..\..\..\libresonic-main\target\classes\build_number.txt
+
+ # Write the installation path into the registry
+ WriteRegStr HKLM SOFTWARE\Libresonic "Install_Dir" "$INSTDIR"
+
+ # Write the uninstall keys for Windows
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Libresonic" "DisplayName" "Libresonic"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Libresonic" "UninstallString" '"$INSTDIR\uninstall.exe"'
+ WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Libresonic" "NoModify" 1
+ WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Libresonic" "NoRepair" 1
+ WriteUninstaller "uninstall.exe"
+
+ # Restore libresonic-service.exe.vmoptions
+ CopyFiles /SILENT $TEMP\libresonic-service.exe.vmoptions $INSTDIR\libresonic-service.exe.vmoptions
+ Delete $TEMP\libresonic-service.exe.vmoptions
+
+ # Write transcoding pack files.
+ SetOutPath "c:\libresonic\transcode"
+ File ..\..\..\..\libresonic-transcode\windows\*.*
+
+ # Add Windows Firewall exception.
+ # (Requires NSIS plugin found on http://nsis.sourceforge.net/NSIS_Simple_Firewall_Plugin to be installed
+ # as NSIS_HOME/Plugins/SimpleFC.dll)
+
+ SimpleFC::AdvAddRule "Libresonic Service (TCP)" "" "6" "1" "1" "7" "1" "$INSTDIR\libresonic-service.exe" "" "" "Libresonic" "" "" "" ""
+ SimpleFC::AdvAddRule "Libresonic Service (UDP)" "" "17" "1" "1" "7" "1" "$INSTDIR\libresonic-service.exe" "" "" "Libresonic" "" "" "" ""
+ SimpleFC::AdvAddRule "Libresonic Agent (TCP)" "" "6" "1" "1" "7" "1" "$INSTDIR\libresonic-agent.exe" "" "" "Libresonic" "" "" "" ""
+ SimpleFC::AdvAddRule "Libresonic Agent (UDP)" "" "17" "1" "1" "7" "1" "$INSTDIR\libresonic-agent.exe" "" "" "Libresonic" "" "" "" ""
+ SimpleFC::AdvAddRule "Libresonic Agent Elevated (TCP)" "" "6" "1" "1" "7" "1" "$INSTDIR\libresonic-agent-elevated.exe" "" "" "Libresonic" "" "" "" ""
+ SimpleFC::AdvAddRule "Libresonic Agent Elevated (UDP)" "" "17" "1" "1" "7" "1" "$INSTDIR\libresonic-agent-elevated.exe" "" "" "Libresonic" "" "" "" ""
+
+ # Install and start service.
+ ExecWait '"$INSTDIR\libresonic-service.exe" -install'
+ ExecWait '"$INSTDIR\libresonic-service.exe" -start'
+
+ # Start agent.
+ Exec '"$INSTDIR\libresonic-agent-elevated.exe" -balloon'
+
+SectionEnd
+
+
+Section "Start Menu Shortcuts"
+
+ CreateDirectory "$SMPROGRAMS\Libresonic"
+ CreateShortCut "$SMPROGRAMS\Libresonic\Open Libresonic.lnk" "$INSTDIR\libresonic.url" "" "$INSTDIR\libresonic-agent.exe" 0
+ CreateShortCut "$SMPROGRAMS\Libresonic\Libresonic Tray Icon.lnk" "$INSTDIR\libresonic-agent.exe" "-balloon" "$INSTDIR\libresonic-agent.exe" 0
+ CreateShortCut "$SMPROGRAMS\Libresonic\Start Libresonic Service.lnk" "$INSTDIR\libresonic-service.exe" "-start" "$INSTDIR\libresonic-service.exe" 0
+ CreateShortCut "$SMPROGRAMS\Libresonic\Stop Libresonic Service.lnk" "$INSTDIR\libresonic-service.exe" "-stop" "$INSTDIR\libresonic-service.exe" 0
+ CreateShortCut "$SMPROGRAMS\Libresonic\Uninstall Libresonic.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
+ CreateShortCut "$SMPROGRAMS\Libresonic\Getting Started.lnk" "$INSTDIR\Getting Started.html" "" "$INSTDIR\Getting Started.html" 0
+
+ CreateShortCut "$SMSTARTUP\Libresonic.lnk" "$INSTDIR\libresonic-agent.exe" "" "$INSTDIR\libresonic-agent.exe" 0
+
+SectionEnd
+
+
+# Uninstaller
+
+Section "Uninstall"
+
+ # Uninstall for all users
+ SetShellVarContext "all"
+
+ # Stop and uninstall service if present.
+ ExecWait '"$INSTDIR\libresonic-service.exe" -stop'
+ ExecWait '"$INSTDIR\libresonic-service.exe" -uninstall'
+
+ # Stop agent by killing it.
+ # (Requires NSIS plugin found on http://nsis.sourceforge.net/Processes_plug-in to be installed
+ # as NSIS_HOME/Plugins/Processes.dll)
+ Processes::KillProcess "libresonic-agent"
+ Processes::KillProcess "libresonic-agent-elevated"
+ Processes::KillProcess "ffmpeg"
+
+ # Remove registry keys
+ DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Libresonic"
+ DeleteRegKey HKLM SOFTWARE\Libresonic
+
+ # Remove files.
+ Delete "$SMSTARTUP\Libresonic.lnk"
+ RMDir /r "$SMPROGRAMS\Libresonic"
+ Delete "$INSTDIR\build_number.txt"
+ Delete "$INSTDIR\elevate.exe"
+ Delete "$INSTDIR\Getting Started.html"
+ Delete "$INSTDIR\LICENSE.TXT"
+ Delete "$INSTDIR\README.TXT"
+ Delete "$INSTDIR\libresonic.url"
+ Delete "$INSTDIR\libresonic.war"
+ Delete "$INSTDIR\libresonic-agent.exe"
+ Delete "$INSTDIR\libresonic-agent.exe.vmoptions"
+ Delete "$INSTDIR\libresonic-agent-elevated.exe"
+ Delete "$INSTDIR\libresonic-agent-elevated.exe.vmoptions"
+ Delete "$INSTDIR\libresonic-booter-jar-with-dependencies.jar"
+ Delete "$INSTDIR\libresonic-service.exe"
+ Delete "$INSTDIR\libresonic-service.exe.vmoptions"
+ Delete "$INSTDIR\uninstall.exe"
+ Delete "$INSTDIR\version.txt"
+ RMDir /r "$INSTDIR\log"
+ RMDir "$INSTDIR"
+
+ # Remove Windows Firewall exception.
+ # (Requires NSIS plugin found on http://nsis.sourceforge.net/NSIS_Simple_Firewall_Plugin to be installed
+ # as NSIS_HOME/Plugins/SimpleFC.dll)
+ SimpleFC::AdvRemoveRule "Libresonic Service (TCP)"
+ SimpleFC::AdvRemoveRule "Libresonic Service (UDP)"
+ SimpleFC::AdvRemoveRule "Libresonic Agent (TCP)"
+ SimpleFC::AdvRemoveRule "Libresonic Agent (UDP)"
+ SimpleFC::AdvRemoveRule "Libresonic Agent Elevated (TCP)"
+ SimpleFC::AdvRemoveRule "Libresonic Agent Elevated (UDP)"
+
+SectionEnd
+
+
+Function CheckInstalledJRE
+ # Read the value from the registry into the $0 register
+ ReadRegStr $0 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" CurrentVersion
+
+ # Check JRE version. At least 1.6 is required.
+ # $1=0 Versions are equal
+ # $1=1 Installed version is newer
+ # $1=2 Installed version is older (or non-existent)
+ ${VersionCompare} $0 "1.6" $1
+ IntCmp $1 2 InstallJRE 0 0
+ Return
+
+ InstallJRE:
+ # Launch Java web installer.
+ MessageBox MB_OK "Java was not found and will now be installed."
+ File /oname=$TEMP\jre-setup.exe jre-8u31-windows-i586-iftw.exe
+ ExecWait '"$TEMP\jre-setup.exe"' $0
+ Delete "$TEMP\jre-setup.exe"
+
+FunctionEnd
diff --git a/libresonic-main/Getting Started.html b/libresonic-main/Getting Started.html
new file mode 100644
index 00000000..b0c9f829
--- /dev/null
+++ b/libresonic-main/Getting Started.html
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/subsonic-main/LICENSE.TXT b/libresonic-main/LICENSE.TXT
similarity index 100%
rename from subsonic-main/LICENSE.TXT
rename to libresonic-main/LICENSE.TXT
diff --git a/subsonic-main/dreamplug.txt b/libresonic-main/dreamplug.txt
similarity index 84%
rename from subsonic-main/dreamplug.txt
rename to libresonic-main/dreamplug.txt
index cbf4ccab..30dcbcce 100644
--- a/subsonic-main/dreamplug.txt
+++ b/libresonic-main/dreamplug.txt
@@ -84,19 +84,19 @@ java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu1~9.04.1)
OpenJDK Zero VM (build 14.0-b16, mixed mode)
-root@ubuntu:/tmp# dpkg -i subsonic-4.4.deb
-Selecting previously deselected package subsonic.
+root@ubuntu:/tmp# dpkg -i libresonic-4.4.deb
+Selecting previously deselected package libresonic.
(Reading database ... 21622 files and directories currently installed.)
-Unpacking subsonic (from subsonic-4.4.deb) ...
-Setting up subsonic (4.4) ...
- Adding system startup for /etc/init.d/subsonic ...
- /etc/rc0.d/K99subsonic -> ../init.d/subsonic
- /etc/rc1.d/K99subsonic -> ../init.d/subsonic
- /etc/rc6.d/K99subsonic -> ../init.d/subsonic
- /etc/rc2.d/S99subsonic -> ../init.d/subsonic
- /etc/rc3.d/S99subsonic -> ../init.d/subsonic
- /etc/rc4.d/S99subsonic -> ../init.d/subsonic
- /etc/rc5.d/S99subsonic -> ../init.d/subsonic
-Started Subsonic [PID 2596, /var/subsonic/subsonic_sh.log]
+Unpacking libresonic (from libresonic-4.4.deb) ...
+Setting up libresonic (4.4) ...
+ Adding system startup for /etc/init.d/libresonic ...
+ /etc/rc0.d/K99libresonic -> ../init.d/libresonic
+ /etc/rc1.d/K99libresonic -> ../init.d/libresonic
+ /etc/rc6.d/K99libresonic -> ../init.d/libresonic
+ /etc/rc2.d/S99libresonic -> ../init.d/libresonic
+ /etc/rc3.d/S99libresonic -> ../init.d/libresonic
+ /etc/rc4.d/S99libresonic -> ../init.d/libresonic
+ /etc/rc5.d/S99libresonic -> ../init.d/libresonic
+Started Libresonic [PID 2596, /var/libresonic/libresonic_sh.log]
http://192.168.0.100:4040
\ No newline at end of file
diff --git a/subsonic-main/subsonic-main.iml b/libresonic-main/libresonic-main.iml
similarity index 98%
rename from subsonic-main/subsonic-main.iml
rename to libresonic-main/libresonic-main.iml
index 2a6f46df..4ac8de09 100644
--- a/subsonic-main/subsonic-main.iml
+++ b/libresonic-main/libresonic-main.iml
@@ -27,8 +27,8 @@
-
-
+
+
diff --git a/subsonic-main/pom.xml b/libresonic-main/pom.xml
similarity index 95%
rename from subsonic-main/pom.xml
rename to libresonic-main/pom.xml
index 6c8b44fa..b730e3f0 100644
--- a/subsonic-main/pom.xml
+++ b/libresonic-main/pom.xml
@@ -2,13 +2,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0
- net.sourceforge.subsonic
- subsonic-main
+ org.libresonic.player
+ libresonic-mainwar
- Subsonic Main
+ Libresonic Main
- net.sourceforge.subsonic
+ org.libresonic.playerlibresonic6.0.1
@@ -16,14 +16,14 @@
- net.sourceforge.subsonic
- subsonic-rest-api
+ org.libresonic.player
+ libresonic-rest-api${project.version}
- net.sourceforge.subsonic
- subsonic-sonos-api
+ org.libresonic.player
+ libresonic-sonos-api${project.version}
@@ -382,7 +382,7 @@
- subsonic
+ libresonic
@@ -393,8 +393,8 @@
-
+ ${buildNumber}${DSTAMP}${project.version}
diff --git a/subsonic-main/src/main/java/org/json/CDL.java b/libresonic-main/src/main/java/org/json/CDL.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/CDL.java
rename to libresonic-main/src/main/java/org/json/CDL.java
diff --git a/subsonic-main/src/main/java/org/json/Cookie.java b/libresonic-main/src/main/java/org/json/Cookie.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/Cookie.java
rename to libresonic-main/src/main/java/org/json/Cookie.java
diff --git a/subsonic-main/src/main/java/org/json/CookieList.java b/libresonic-main/src/main/java/org/json/CookieList.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/CookieList.java
rename to libresonic-main/src/main/java/org/json/CookieList.java
diff --git a/subsonic-main/src/main/java/org/json/HTTP.java b/libresonic-main/src/main/java/org/json/HTTP.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/HTTP.java
rename to libresonic-main/src/main/java/org/json/HTTP.java
diff --git a/subsonic-main/src/main/java/org/json/HTTPTokener.java b/libresonic-main/src/main/java/org/json/HTTPTokener.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/HTTPTokener.java
rename to libresonic-main/src/main/java/org/json/HTTPTokener.java
diff --git a/subsonic-main/src/main/java/org/json/JSONArray.java b/libresonic-main/src/main/java/org/json/JSONArray.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/JSONArray.java
rename to libresonic-main/src/main/java/org/json/JSONArray.java
diff --git a/subsonic-main/src/main/java/org/json/JSONException.java b/libresonic-main/src/main/java/org/json/JSONException.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/JSONException.java
rename to libresonic-main/src/main/java/org/json/JSONException.java
diff --git a/subsonic-main/src/main/java/org/json/JSONML.java b/libresonic-main/src/main/java/org/json/JSONML.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/JSONML.java
rename to libresonic-main/src/main/java/org/json/JSONML.java
diff --git a/subsonic-main/src/main/java/org/json/JSONObject.java b/libresonic-main/src/main/java/org/json/JSONObject.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/JSONObject.java
rename to libresonic-main/src/main/java/org/json/JSONObject.java
diff --git a/subsonic-main/src/main/java/org/json/JSONString.java b/libresonic-main/src/main/java/org/json/JSONString.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/JSONString.java
rename to libresonic-main/src/main/java/org/json/JSONString.java
diff --git a/subsonic-main/src/main/java/org/json/JSONStringer.java b/libresonic-main/src/main/java/org/json/JSONStringer.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/JSONStringer.java
rename to libresonic-main/src/main/java/org/json/JSONStringer.java
diff --git a/subsonic-main/src/main/java/org/json/JSONTokener.java b/libresonic-main/src/main/java/org/json/JSONTokener.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/JSONTokener.java
rename to libresonic-main/src/main/java/org/json/JSONTokener.java
diff --git a/subsonic-main/src/main/java/org/json/JSONWriter.java b/libresonic-main/src/main/java/org/json/JSONWriter.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/JSONWriter.java
rename to libresonic-main/src/main/java/org/json/JSONWriter.java
diff --git a/subsonic-main/src/main/java/org/json/XML.java b/libresonic-main/src/main/java/org/json/XML.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/XML.java
rename to libresonic-main/src/main/java/org/json/XML.java
diff --git a/subsonic-main/src/main/java/org/json/XMLTokener.java b/libresonic-main/src/main/java/org/json/XMLTokener.java
similarity index 100%
rename from subsonic-main/src/main/java/org/json/XMLTokener.java
rename to libresonic-main/src/main/java/org/json/XMLTokener.java
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/Logger.java b/libresonic-main/src/main/java/org/libresonic/player/Logger.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/Logger.java
rename to libresonic-main/src/main/java/org/libresonic/player/Logger.java
index c8ccfd9d..ad32335a 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/Logger.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/Logger.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic;
+package org.libresonic.player;
-import net.sourceforge.subsonic.domain.Version;
-import net.sourceforge.subsonic.service.*;
-import net.sourceforge.subsonic.util.*;
+import org.libresonic.player.domain.Version;
+import org.libresonic.player.service.*;
+import org.libresonic.player.util.*;
import org.apache.commons.lang.exception.*;
import java.io.*;
@@ -28,7 +28,7 @@ import java.text.*;
import java.util.*;
/**
- * Logger implementation which logs to SUBSONIC_HOME/subsonic.log.
+ * Logger implementation which logs to SUBSONIC_HOME/libresonic.log.
*
* Note: Third party logging libraries (such as log4j and Commons logging) are intentionally not
* used. These libraries causes a lot of headache when deploying to some application servers
@@ -167,7 +167,7 @@ public class Logger {
try {
getPrintWriter().println(entry);
} catch (IOException x) {
- System.err.println("Failed to write to subsonic.log. " + x);
+ System.err.println("Failed to write to libresonic.log. " + x);
}
entries.add(entry);
}
@@ -180,8 +180,8 @@ public class Logger {
}
public static File getLogFile() {
- File subsonicHome = SettingsService.getSubsonicHome();
- return new File(subsonicHome, "subsonic.log");
+ File libresonicHome = SettingsService.getLibresonicHome();
+ return new File(libresonicHome, "libresonic.log");
}
/**
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/ArtistInfo.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/ArtistInfo.java
similarity index 78%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/ArtistInfo.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/ArtistInfo.java
index f2c0e85d..c2828fd9 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/ArtistInfo.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/ArtistInfo.java
@@ -1,27 +1,27 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2014 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
import java.util.List;
-import net.sourceforge.subsonic.domain.ArtistBio;
+import org.libresonic.player.domain.ArtistBio;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/ChatService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/ChatService.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/ChatService.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/ChatService.java
index 8905c8a6..dcef306b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/ChatService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/ChatService.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.util.BoundedList;
+import org.libresonic.player.Logger;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.util.BoundedList;
import org.apache.commons.lang.StringUtils;
import org.directwebremoting.WebContext;
import org.directwebremoting.WebContextFactory;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/CoverArtInfo.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/CoverArtInfo.java
similarity index 78%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/CoverArtInfo.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/CoverArtInfo.java
index c9160f26..4184449e 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/CoverArtInfo.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/CoverArtInfo.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
/**
* Contains info about cover art images for an album.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/CoverArtService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/CoverArtService.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/CoverArtService.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/CoverArtService.java
index 2d9b801d..5cdaebe0 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/CoverArtService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/CoverArtService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
import java.io.File;
import java.io.FileOutputStream;
@@ -30,11 +30,11 @@ import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.params.HttpConnectionParams;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.util.StringUtil;
/**
* Provides AJAX-enabled services for changing cover art images.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/LyricsInfo.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/LyricsInfo.java
similarity index 82%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/LyricsInfo.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/LyricsInfo.java
index 2d8b62b1..c1335b8c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/LyricsInfo.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/LyricsInfo.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
/**
* Contains lyrics info for a song.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/LyricsService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/LyricsService.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/LyricsService.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/LyricsService.java
index ce683b98..7e376bf1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/LyricsService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/LyricsService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
import java.io.IOException;
import java.io.StringReader;
@@ -34,8 +34,8 @@ import org.jdom.Element;
import org.jdom.Namespace;
import org.jdom.input.SAXBuilder;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.util.StringUtil;
/**
* Provides AJAX-enabled services for retrieving song lyrics from chartlyrics.com.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/MultiService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/MultiService.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/MultiService.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/MultiService.java
index de04b4a7..308bcb46 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/MultiService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/MultiService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
import java.util.ArrayList;
import java.util.Arrays;
@@ -27,16 +27,16 @@ import javax.servlet.http.HttpServletRequest;
import org.directwebremoting.WebContextFactory;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.ArtistBio;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.LastFmService;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.NetworkService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.ArtistBio;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.LastFmService;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.NetworkService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Provides miscellaneous AJAX-enabled services.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/NetworkStatus.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/NetworkStatus.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/NetworkStatus.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/NetworkStatus.java
index 8634af26..d4d9ceea 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/NetworkStatus.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/NetworkStatus.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
import java.util.Date;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/NowPlayingInfo.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/NowPlayingInfo.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/NowPlayingInfo.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/NowPlayingInfo.java
index 0167d212..52c654af 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/NowPlayingInfo.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/NowPlayingInfo.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
/**
* Details about what a user is currently listening to.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/NowPlayingService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/NowPlayingService.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/NowPlayingService.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/NowPlayingService.java
index b29c8491..8fd15b9c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/NowPlayingService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/NowPlayingService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
import java.io.File;
import java.util.ArrayList;
@@ -29,17 +29,17 @@ import org.apache.commons.lang.StringUtils;
import org.directwebremoting.WebContext;
import org.directwebremoting.WebContextFactory;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.AvatarScheme;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.PlayStatus;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.MediaScannerService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.StatusService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.AvatarScheme;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.PlayStatus;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.MediaScannerService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.StatusService;
+import org.libresonic.player.util.StringUtil;
/**
* Provides AJAX-enabled services for retrieving the currently playing file and directory.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlayQueueInfo.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/PlayQueueInfo.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlayQueueInfo.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/PlayQueueInfo.java
index cc34e7ec..da92f9fd 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlayQueueInfo.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/PlayQueueInfo.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
import java.util.List;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.util.StringUtil;
/**
* The playlist of a player.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlayQueueService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/PlayQueueService.java
similarity index 95%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlayQueueService.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/PlayQueueService.java
index 3fbabbe6..606124b1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlayQueueService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/PlayQueueService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
import java.util.ArrayList;
import java.util.Arrays;
@@ -35,29 +35,29 @@ import org.springframework.web.servlet.support.RequestContextUtils;
import com.google.common.base.Function;
import com.google.common.collect.Lists;
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.dao.PlayQueueDao;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.PodcastEpisode;
-import net.sourceforge.subsonic.domain.PodcastStatus;
-import net.sourceforge.subsonic.domain.SavedPlayQueue;
-import net.sourceforge.subsonic.domain.UrlRedirectType;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.JukeboxService;
-import net.sourceforge.subsonic.service.LastFmService;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.PodcastService;
-import net.sourceforge.subsonic.service.RatingService;
-import net.sourceforge.subsonic.service.SearchService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.dao.PlayQueueDao;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.PodcastEpisode;
+import org.libresonic.player.domain.PodcastStatus;
+import org.libresonic.player.domain.SavedPlayQueue;
+import org.libresonic.player.domain.UrlRedirectType;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.JukeboxService;
+import org.libresonic.player.service.LastFmService;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.PodcastService;
+import org.libresonic.player.service.RatingService;
+import org.libresonic.player.service.SearchService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.util.StringUtil;
/**
* Provides AJAX-enabled services for manipulating the play queue of a player.
@@ -78,7 +78,7 @@ public class PlayQueueService {
private SearchService searchService;
private RatingService ratingService;
private PodcastService podcastService;
- private net.sourceforge.subsonic.service.PlaylistService playlistService;
+ private org.libresonic.player.service.PlaylistService playlistService;
private MediaFileDao mediaFileDao;
private PlayQueueDao playQueueDao;
@@ -141,7 +141,7 @@ public class PlayQueueService {
List ids = MediaFile.toIdList(playQueue.getFiles());
Integer currentId = currentSongIndex == -1 ? null : playQueue.getFile(currentSongIndex).getId();
- SavedPlayQueue savedPlayQueue = new SavedPlayQueue(null, username, ids, currentId, positionMillis, new Date(), "Subsonic");
+ SavedPlayQueue savedPlayQueue = new SavedPlayQueue(null, username, ids, currentId, positionMillis, new Date(), "Libresonic");
playQueueDao.savePlayQueue(savedPlayQueue);
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlaylistInfo.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/PlaylistInfo.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlaylistInfo.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/PlaylistInfo.java
index dec2f57e..3019df7a 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlaylistInfo.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/PlaylistInfo.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
import java.util.List;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.Playlist;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.Playlist;
/**
* The playlist of a player.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlaylistService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/PlaylistService.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlaylistService.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/PlaylistService.java
index 16005240..e4952e96 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/PlaylistService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/PlaylistService.java
@@ -1,33 +1,33 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
-
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.i18n.SubsonicLocaleResolver;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+package org.libresonic.player.ajax;
+
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.i18n.LibresonicLocaleResolver;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
import org.directwebremoting.WebContextFactory;
import javax.servlet.http.HttpServletRequest;
@@ -50,11 +50,11 @@ public class PlaylistService {
private MediaFileService mediaFileService;
private SecurityService securityService;
- private net.sourceforge.subsonic.service.PlaylistService playlistService;
+ private org.libresonic.player.service.PlaylistService playlistService;
private MediaFileDao mediaFileDao;
private SettingsService settingsService;
private PlayerService playerService;
- private SubsonicLocaleResolver localeResolver;
+ private LibresonicLocaleResolver localeResolver;
public List getReadablePlaylists() {
HttpServletRequest request = WebContextFactory.get().getHttpServletRequest();
@@ -139,7 +139,7 @@ public class PlaylistService {
playlist.setChanged(now);
playlist.setShared(false);
- ResourceBundle bundle = ResourceBundle.getBundle("net.sourceforge.subsonic.i18n.ResourceBundle", locale);
+ ResourceBundle bundle = ResourceBundle.getBundle("org.libresonic.player.i18n.ResourceBundle", locale);
playlist.setName(bundle.getString("top.starred") + " " + dateFormat.format(now));
playlistService.createPlaylist(playlist);
@@ -236,7 +236,7 @@ public class PlaylistService {
return getPlaylist(id);
}
- public void setPlaylistService(net.sourceforge.subsonic.service.PlaylistService playlistService) {
+ public void setPlaylistService(org.libresonic.player.service.PlaylistService playlistService) {
this.playlistService = playlistService;
}
@@ -260,7 +260,7 @@ public class PlaylistService {
this.playerService = playerService;
}
- public void setLocaleResolver(SubsonicLocaleResolver localeResolver) {
+ public void setLocaleResolver(LibresonicLocaleResolver localeResolver) {
this.localeResolver = localeResolver;
}
}
\ No newline at end of file
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/ScanInfo.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/ScanInfo.java
similarity index 76%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/ScanInfo.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/ScanInfo.java
index d984069e..f8b3892c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/ScanInfo.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/ScanInfo.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
/**
* Media folder scanning status.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/SimilarArtist.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/SimilarArtist.java
similarity index 77%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/SimilarArtist.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/SimilarArtist.java
index 09d6cd1f..53125fd2 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/SimilarArtist.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/SimilarArtist.java
@@ -1,22 +1,22 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2014 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
/**
* Contains info about a similar artist.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/StarService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/StarService.java
similarity index 77%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/StarService.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/StarService.java
index 5d014e06..06565784 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/StarService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/StarService.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.service.SecurityService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.service.SecurityService;
import org.directwebremoting.WebContext;
import org.directwebremoting.WebContextFactory;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/TagService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/TagService.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/TagService.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/TagService.java
index 6814e89e..b0720322 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/TagService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/TagService.java
@@ -1,33 +1,33 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang.ObjectUtils;
import org.apache.commons.lang.StringUtils;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.metadata.MetaData;
-import net.sourceforge.subsonic.service.metadata.MetaDataParser;
-import net.sourceforge.subsonic.service.metadata.MetaDataParserFactory;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.metadata.MetaData;
+import org.libresonic.player.service.metadata.MetaDataParser;
+import org.libresonic.player.service.metadata.MetaDataParserFactory;
/**
* Provides AJAX-enabled services for editing tags in music files.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/TopSong.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/TopSong.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/TopSong.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/TopSong.java
index 8e28fcfe..acced94e 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/TopSong.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/TopSong.java
@@ -1,22 +1,22 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
/**
* See {@link ArtistInfo}.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/TransferService.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/TransferService.java
similarity index 78%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/TransferService.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/TransferService.java
index 19309348..c6b93b06 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/TransferService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/TransferService.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
-import net.sourceforge.subsonic.domain.*;
-import net.sourceforge.subsonic.controller.*;
+import org.libresonic.player.domain.*;
+import org.libresonic.player.controller.*;
import org.directwebremoting.*;
import javax.servlet.http.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/UploadInfo.java b/libresonic-main/src/main/java/org/libresonic/player/ajax/UploadInfo.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/UploadInfo.java
rename to libresonic-main/src/main/java/org/libresonic/player/ajax/UploadInfo.java
index 47f9de99..3279a797 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ajax/UploadInfo.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ajax/UploadInfo.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ajax;
+package org.libresonic.player.ajax;
/**
* Contains status for a file upload.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/cache/CacheFactory.java b/libresonic-main/src/main/java/org/libresonic/player/cache/CacheFactory.java
similarity index 75%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/cache/CacheFactory.java
rename to libresonic-main/src/main/java/org/libresonic/player/cache/CacheFactory.java
index 00f656b1..d83f400d 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/cache/CacheFactory.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/cache/CacheFactory.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.cache;
+package org.libresonic.player.cache;
import java.io.File;
@@ -28,8 +28,8 @@ import net.sf.ehcache.CacheManager;
import net.sf.ehcache.Ehcache;
import net.sf.ehcache.config.Configuration;
import net.sf.ehcache.config.ConfigurationFactory;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.service.SettingsService;
/**
* Initializes Ehcache and creates caches.
@@ -45,8 +45,8 @@ public class CacheFactory implements InitializingBean {
public void afterPropertiesSet() throws Exception {
Configuration configuration = ConfigurationFactory.parseConfiguration();
- // Override configuration to make sure cache is stored in Subsonic home dir.
- File cacheDir = new File(SettingsService.getSubsonicHome(), "cache");
+ // Override configuration to make sure cache is stored in Libresonic home dir.
+ File cacheDir = new File(SettingsService.getLibresonicHome(), "cache");
configuration.getDiskStoreConfiguration().setPath(cacheDir.getPath());
cacheManager = CacheManager.create(configuration);
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/AdvancedSettingsCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/AdvancedSettingsCommand.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/AdvancedSettingsCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/AdvancedSettingsCommand.java
index 402bd3bb..035bad3d 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/AdvancedSettingsCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/AdvancedSettingsCommand.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
-import net.sourceforge.subsonic.controller.AdvancedSettingsController;
+import org.libresonic.player.controller.AdvancedSettingsController;
/**
* Command used in {@link AdvancedSettingsController}.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/EnumHolder.java b/libresonic-main/src/main/java/org/libresonic/player/command/EnumHolder.java
similarity index 76%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/EnumHolder.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/EnumHolder.java
index bb1fc5ff..97243b7a 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/EnumHolder.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/EnumHolder.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
/**
* Holds the name and description of an enum value.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/GeneralSettingsCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/GeneralSettingsCommand.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/GeneralSettingsCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/GeneralSettingsCommand.java
index ade1c501..47134ff3 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/GeneralSettingsCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/GeneralSettingsCommand.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
-import net.sourceforge.subsonic.controller.GeneralSettingsController;
-import net.sourceforge.subsonic.domain.Theme;
+import org.libresonic.player.controller.GeneralSettingsController;
+import org.libresonic.player.domain.Theme;
/**
* Command used in {@link GeneralSettingsController}.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/MusicFolderSettingsCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/MusicFolderSettingsCommand.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/MusicFolderSettingsCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/MusicFolderSettingsCommand.java
index 8fcfa72c..69d884b7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/MusicFolderSettingsCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/MusicFolderSettingsCommand.java
@@ -1,29 +1,29 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
import java.io.File;
import java.util.Date;
import java.util.List;
-import net.sourceforge.subsonic.controller.MusicFolderSettingsController;
-import net.sourceforge.subsonic.domain.MusicFolder;
+import org.libresonic.player.controller.MusicFolderSettingsController;
+import org.libresonic.player.domain.MusicFolder;
import org.apache.commons.lang.StringUtils;
/**
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/NetworkSettingsCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/NetworkSettingsCommand.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/NetworkSettingsCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/NetworkSettingsCommand.java
index 3b9b3aa7..a9711d51 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/NetworkSettingsCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/NetworkSettingsCommand.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
-import net.sourceforge.subsonic.domain.LicenseInfo;
+import org.libresonic.player.domain.LicenseInfo;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/PasswordSettingsCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/PasswordSettingsCommand.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/PasswordSettingsCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/PasswordSettingsCommand.java
index 21986023..c0879e88 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/PasswordSettingsCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/PasswordSettingsCommand.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
-import net.sourceforge.subsonic.controller.*;
+import org.libresonic.player.controller.*;
/**
* Command used in {@link PasswordSettingsController}.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/PersonalSettingsCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/PersonalSettingsCommand.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/PersonalSettingsCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/PersonalSettingsCommand.java
index 28098f9a..f7bb35fa 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/PersonalSettingsCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/PersonalSettingsCommand.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
import java.util.List;
-import net.sourceforge.subsonic.controller.PersonalSettingsController;
-import net.sourceforge.subsonic.domain.AlbumListType;
-import net.sourceforge.subsonic.domain.Avatar;
-import net.sourceforge.subsonic.domain.Theme;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
+import org.libresonic.player.controller.PersonalSettingsController;
+import org.libresonic.player.domain.AlbumListType;
+import org.libresonic.player.domain.Avatar;
+import org.libresonic.player.domain.Theme;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
/**
* Command used in {@link PersonalSettingsController}.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/PlayerSettingsCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/PlayerSettingsCommand.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/PlayerSettingsCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/PlayerSettingsCommand.java
index 9ee354ec..745941d1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/PlayerSettingsCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/PlayerSettingsCommand.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
import java.util.Date;
import java.util.List;
-import net.sourceforge.subsonic.controller.PlayerSettingsController;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.PlayerTechnology;
-import net.sourceforge.subsonic.domain.TranscodeScheme;
-import net.sourceforge.subsonic.domain.Transcoding;
+import org.libresonic.player.controller.PlayerSettingsController;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.PlayerTechnology;
+import org.libresonic.player.domain.TranscodeScheme;
+import org.libresonic.player.domain.Transcoding;
/**
* Command used in {@link PlayerSettingsController}.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/PodcastSettingsCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/PodcastSettingsCommand.java
similarity index 82%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/PodcastSettingsCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/PodcastSettingsCommand.java
index 3a07cd14..40687b24 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/PodcastSettingsCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/PodcastSettingsCommand.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
-import net.sourceforge.subsonic.controller.PodcastSettingsController;
+import org.libresonic.player.controller.PodcastSettingsController;
/**
* Command used in {@link PodcastSettingsController}.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/PremiumSettingsCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/PremiumSettingsCommand.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/PremiumSettingsCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/PremiumSettingsCommand.java
index 92b10c67..a5195c80 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/PremiumSettingsCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/PremiumSettingsCommand.java
@@ -1,28 +1,28 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
import org.apache.commons.lang.StringUtils;
-import net.sourceforge.subsonic.controller.PremiumSettingsController;
-import net.sourceforge.subsonic.domain.LicenseInfo;
-import net.sourceforge.subsonic.domain.User;
+import org.libresonic.player.controller.PremiumSettingsController;
+import org.libresonic.player.domain.LicenseInfo;
+import org.libresonic.player.domain.User;
/**
* Command used in {@link PremiumSettingsController}.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/SearchCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/SearchCommand.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/SearchCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/SearchCommand.java
index 0dacfbd4..9b029eea 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/SearchCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/SearchCommand.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
-import net.sourceforge.subsonic.domain.*;
-import net.sourceforge.subsonic.controller.*;
+import org.libresonic.player.domain.*;
+import org.libresonic.player.controller.*;
import java.util.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/UserSettingsCommand.java b/libresonic-main/src/main/java/org/libresonic/player/command/UserSettingsCommand.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/command/UserSettingsCommand.java
rename to libresonic-main/src/main/java/org/libresonic/player/command/UserSettingsCommand.java
index 2acff8be..604da2bc 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/command/UserSettingsCommand.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/command/UserSettingsCommand.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.command;
+package org.libresonic.player.command;
-import net.sourceforge.subsonic.controller.UserSettingsController;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.TranscodeScheme;
-import net.sourceforge.subsonic.domain.User;
+import org.libresonic.player.controller.UserSettingsController;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.TranscodeScheme;
+import org.libresonic.player.domain.User;
import java.util.List;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AbstractChartController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/AbstractChartController.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AbstractChartController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/AbstractChartController.java
index f163f82d..2c5ddbeb 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AbstractChartController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/AbstractChartController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import org.springframework.web.servlet.support.*;
import org.springframework.web.servlet.mvc.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AdvancedSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/AdvancedSettingsController.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AdvancedSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/AdvancedSettingsController.java
index 0228a6fb..277c15ab 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AdvancedSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/AdvancedSettingsController.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
-import net.sourceforge.subsonic.command.AdvancedSettingsCommand;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.command.AdvancedSettingsCommand;
+import org.libresonic.player.service.SettingsService;
import org.springframework.web.servlet.mvc.SimpleFormController;
import org.apache.commons.lang.StringUtils;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AllmusicController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/AllmusicController.java
similarity index 79%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AllmusicController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/AllmusicController.java
index 8b34f383..f6232ec1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AllmusicController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/AllmusicController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import org.springframework.web.servlet.*;
import org.springframework.web.servlet.mvc.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AutoCoverDemo.java b/libresonic-main/src/main/java/org/libresonic/player/controller/AutoCoverDemo.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AutoCoverDemo.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/AutoCoverDemo.java
index e110c438..37259e01 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AutoCoverDemo.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/AutoCoverDemo.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2013 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.awt.Color;
import java.awt.Dimension;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AvatarController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/AvatarController.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AvatarController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/AvatarController.java
index 2d4f9d3d..3178402a 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AvatarController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/AvatarController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@@ -26,10 +26,10 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
import org.springframework.web.servlet.mvc.LastModified;
-import net.sourceforge.subsonic.domain.Avatar;
-import net.sourceforge.subsonic.domain.AvatarScheme;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.Avatar;
+import org.libresonic.player.domain.AvatarScheme;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.SettingsService;
/**
* Controller which produces avatar images.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AvatarUploadController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/AvatarUploadController.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AvatarUploadController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/AvatarUploadController.java
index a22cd9a9..cc137647 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/AvatarUploadController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/AvatarUploadController.java
@@ -1,28 +1,28 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.Avatar;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.Avatar;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.util.StringUtil;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileItemFactory;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ChangeCoverArtController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/ChangeCoverArtController.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ChangeCoverArtController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/ChangeCoverArtController.java
index 94c88656..e66537a3 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ChangeCoverArtController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/ChangeCoverArtController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.Map;
@@ -28,8 +28,8 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.service.MediaFileService;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.service.MediaFileService;
/**
* Controller for changing cover art.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/CoverArtController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/CoverArtController.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/CoverArtController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/CoverArtController.java
index 22f386d5..61f5c105 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/CoverArtController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/CoverArtController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.awt.Color;
import java.awt.Font;
@@ -49,24 +49,24 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
import org.springframework.web.servlet.mvc.LastModified;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.AlbumDao;
-import net.sourceforge.subsonic.dao.ArtistDao;
-import net.sourceforge.subsonic.domain.Album;
-import net.sourceforge.subsonic.domain.Artist;
-import net.sourceforge.subsonic.domain.CoverArtScheme;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.domain.PodcastChannel;
-import net.sourceforge.subsonic.domain.Transcoding;
-import net.sourceforge.subsonic.domain.VideoTranscodingSettings;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.PodcastService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.service.metadata.JaudiotaggerParser;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.AlbumDao;
+import org.libresonic.player.dao.ArtistDao;
+import org.libresonic.player.domain.Album;
+import org.libresonic.player.domain.Artist;
+import org.libresonic.player.domain.CoverArtScheme;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.domain.PodcastChannel;
+import org.libresonic.player.domain.Transcoding;
+import org.libresonic.player.domain.VideoTranscodingSettings;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.PodcastService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.service.metadata.JaudiotaggerParser;
+import org.libresonic.player.util.StringUtil;
/**
* Controller which produces cover art images.
@@ -298,7 +298,7 @@ public class CoverArtController implements Controller, LastModified {
}
private synchronized File getImageCacheDirectory(int size) {
- File dir = new File(SettingsService.getSubsonicHome(), "thumbs");
+ File dir = new File(SettingsService.getLibresonicHome(), "thumbs");
dir = new File(dir, String.valueOf(size));
if (!dir.exists()) {
if (dir.mkdirs()) {
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/DBController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/DBController.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/DBController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/DBController.java
index 17d06497..6c0033d2 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/DBController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/DBController.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
-import net.sourceforge.subsonic.dao.DaoHelper;
+import org.libresonic.player.dao.DaoHelper;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.core.ColumnMapRowMapper;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/DLNASettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/DLNASettingsController.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/DLNASettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/DLNASettingsController.java
index 5eaa45d2..8995c462 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/DLNASettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/DLNASettingsController.java
@@ -1,22 +1,22 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2013 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.Map;
@@ -29,8 +29,8 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.UPnPService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.UPnPService;
/**
* Controller for the page used to administrate the UPnP/DLNA server settings.
@@ -75,7 +75,7 @@ public class DLNASettingsController extends ParameterizableViewController {
boolean dlnaEnabled = ServletRequestUtils.getBooleanParameter(request, "dlnaEnabled", false);
String dlnaServerName = StringUtils.trimToNull(request.getParameter("dlnaServerName"));
if (dlnaServerName == null) {
- dlnaServerName = "Subsonic";
+ dlnaServerName = "Libresonic";
}
upnpService.setMediaServerEnabled(false);
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/DownloadController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/DownloadController.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/DownloadController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/DownloadController.java
index f207feb4..850edc3c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/DownloadController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/DownloadController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.io.BufferedInputStream;
import java.io.File;
@@ -43,23 +43,23 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
import org.springframework.web.servlet.mvc.LastModified;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.domain.TransferStatus;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.io.RangeOutputStream;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.StatusService;
-import net.sourceforge.subsonic.util.FileUtil;
-import net.sourceforge.subsonic.util.HttpRange;
-import net.sourceforge.subsonic.util.Util;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.domain.TransferStatus;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.io.RangeOutputStream;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.StatusService;
+import org.libresonic.player.util.FileUtil;
+import org.libresonic.player.util.HttpRange;
+import org.libresonic.player.util.Util;
/**
* A controller used for downloading files to a remote client. If the requested path refers to a file, the
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/EditTagsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/EditTagsController.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/EditTagsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/EditTagsController.java
index 9b7befd9..ea9466bf 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/EditTagsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/EditTagsController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.ArrayList;
import java.util.HashMap;
@@ -31,11 +31,11 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.metadata.JaudiotaggerParser;
-import net.sourceforge.subsonic.service.metadata.MetaDataParser;
-import net.sourceforge.subsonic.service.metadata.MetaDataParserFactory;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.metadata.JaudiotaggerParser;
+import org.libresonic.player.service.metadata.MetaDataParser;
+import org.libresonic.player.service.metadata.MetaDataParserFactory;
/**
* Controller for the page used to edit MP3 tags.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ExternalPlayerController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/ExternalPlayerController.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ExternalPlayerController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/ExternalPlayerController.java
index 31a20209..c58b1eea 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ExternalPlayerController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/ExternalPlayerController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.io.IOException;
import java.util.ArrayList;
@@ -31,14 +31,14 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.Share;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.ShareService;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.Share;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.ShareService;
/**
* Controller for the page used to play shared music (Twitter, Facebook etc).
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/GeneralSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/GeneralSettingsController.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/GeneralSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/GeneralSettingsController.java
index e3e43432..670bd5a3 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/GeneralSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/GeneralSettingsController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.Locale;
@@ -24,9 +24,9 @@ import javax.servlet.http.HttpServletRequest;
import org.springframework.web.servlet.mvc.SimpleFormController;
-import net.sourceforge.subsonic.command.GeneralSettingsCommand;
-import net.sourceforge.subsonic.domain.Theme;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.command.GeneralSettingsCommand;
+import org.libresonic.player.domain.Theme;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the page used to administrate general settings.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/HLSController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/HLSController.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/HLSController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/HLSController.java
index 13b1b19b..ebde6b5a 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/HLSController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/HLSController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.awt.Dimension;
import java.io.PrintWriter;
@@ -33,13 +33,13 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.util.Pair;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.util.Pair;
+import org.libresonic.player.util.StringUtil;
/**
* Controller which produces the HLS (Http Live Streaming) playlist.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/HelpController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/HelpController.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/HelpController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/HelpController.java
index 276c0f27..1ec95790 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/HelpController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/HelpController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.Map;
@@ -27,10 +27,10 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.VersionService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.VersionService;
/**
* Controller for the help page.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/HomeController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/HomeController.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/HomeController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/HomeController.java
index 4ef59d2c..5186891f 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/HomeController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/HomeController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.io.IOException;
import java.util.ArrayList;
@@ -34,19 +34,19 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
import org.springframework.web.servlet.view.RedirectView;
-import net.sourceforge.subsonic.domain.AlbumListType;
-import net.sourceforge.subsonic.domain.CoverArtScheme;
-import net.sourceforge.subsonic.domain.Genre;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.MediaScannerService;
-import net.sourceforge.subsonic.service.RatingService;
-import net.sourceforge.subsonic.service.SearchService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.AlbumListType;
+import org.libresonic.player.domain.CoverArtScheme;
+import org.libresonic.player.domain.Genre;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.MediaScannerService;
+import org.libresonic.player.service.RatingService;
+import org.libresonic.player.service.SearchService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
import static org.springframework.web.bind.ServletRequestUtils.getIntParameter;
import static org.springframework.web.bind.ServletRequestUtils.getStringParameter;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ImportPlaylistController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/ImportPlaylistController.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ImportPlaylistController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/ImportPlaylistController.java
index 2c59a386..eca96a7d 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ImportPlaylistController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/ImportPlaylistController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.List;
@@ -34,9 +34,9 @@ import org.apache.commons.lang.StringUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.SecurityService;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.SecurityService;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/InternetRadioSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/InternetRadioSettingsController.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/InternetRadioSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/InternetRadioSettingsController.java
index 13026147..c67ad6b4 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/InternetRadioSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/InternetRadioSettingsController.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
-import net.sourceforge.subsonic.domain.InternetRadio;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.InternetRadio;
+import org.libresonic.player.service.SettingsService;
import org.apache.commons.lang.StringUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/JAXBWriter.java b/libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/JAXBWriter.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java
index 79b063d5..448e1937 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/JAXBWriter.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.io.InputStream;
import java.io.StringWriter;
@@ -36,13 +36,13 @@ import org.eclipse.persistence.jaxb.MarshallerProperties;
import org.jdom.Attribute;
import org.jdom.Document;
import org.jdom.input.SAXBuilder;
-import org.subsonic.restapi.Error;
-import org.subsonic.restapi.ObjectFactory;
-import org.subsonic.restapi.Response;
-import org.subsonic.restapi.ResponseStatus;
+import org.libresonic.restapi.Error;
+import org.libresonic.restapi.ObjectFactory;
+import org.libresonic.restapi.Response;
+import org.libresonic.restapi.ResponseStatus;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.util.StringUtil;
import static org.springframework.web.bind.ServletRequestUtils.getStringParameter;
@@ -87,7 +87,7 @@ public class JAXBWriter {
private String getRESTProtocolVersion() throws Exception {
InputStream in = null;
try {
- in = StringUtil.class.getResourceAsStream("/subsonic-rest-api.xsd");
+ in = StringUtil.class.getResourceAsStream("/libresonic-rest-api.xsd");
Document document = new SAXBuilder().build(in);
Attribute version = document.getRootElement().getAttribute("version");
return version.getValue();
@@ -133,7 +133,7 @@ public class JAXBWriter {
if (jsonp) {
writer.append(jsonpCallback).append('(');
}
- marshaller.marshal(new ObjectFactory().createSubsonicResponse(jaxbResponse), writer);
+ marshaller.marshal(new ObjectFactory().createLibresonicResponse(jaxbResponse), writer);
if (jsonp) {
writer.append(");");
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/LeftController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/LeftController.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/LeftController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/LeftController.java
index 881f98a8..addebaf8 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/LeftController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/LeftController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.io.File;
import java.util.Arrays;
@@ -34,18 +34,18 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
import org.springframework.web.servlet.support.RequestContextUtils;
-import net.sourceforge.subsonic.domain.InternetRadio;
-import net.sourceforge.subsonic.domain.MediaLibraryStatistics;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.MusicFolderContent;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.MediaScannerService;
-import net.sourceforge.subsonic.service.MusicIndexService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.util.FileUtil;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.domain.InternetRadio;
+import org.libresonic.player.domain.MediaLibraryStatistics;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.MusicFolderContent;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.MediaScannerService;
+import org.libresonic.player.service.MusicIndexService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.util.FileUtil;
+import org.libresonic.player.util.StringUtil;
/**
* Controller for the left index frame.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/LyricsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/LyricsController.java
similarity index 82%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/LyricsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/LyricsController.java
index d47ad233..e9b34bf2 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/LyricsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/LyricsController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
import org.springframework.web.servlet.ModelAndView;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/M3UController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/M3UController.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/M3UController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/M3UController.java
index 63d27611..007d3216 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/M3UController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/M3UController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.io.IOException;
import java.io.PrintWriter;
@@ -28,13 +28,13 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.util.StringUtil;
/**
* Controller which produces the M3U playlist.
@@ -99,7 +99,7 @@ public class M3UController implements Controller {
}
out.println("#EXTM3U");
- out.println("#EXTINF:-1,Subsonic");
+ out.println("#EXTINF:-1,Libresonic");
out.println(url);
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MainController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/MainController.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MainController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/MainController.java
index a70025bb..e02c0db0 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MainController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/MainController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.io.IOException;
import java.util.ArrayList;
@@ -36,18 +36,18 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;
import org.springframework.web.servlet.view.RedirectView;
-import net.sourceforge.subsonic.domain.CoverArtScheme;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MediaFileComparator;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.AdService;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.RatingService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.CoverArtScheme;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MediaFileComparator;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.AdService;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.RatingService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the main page.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MoreController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/MoreController.java
similarity index 82%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MoreController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/MoreController.java
index 1361e1c9..24f7e1fc 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MoreController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/MoreController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.io.File;
import java.util.Calendar;
@@ -30,14 +30,14 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.util.StringUtil;
/**
* Controller for the "more" page.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MultiController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/MultiController.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MultiController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/MultiController.java
index efb97464..7fa20736 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MultiController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/MultiController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.ArrayList;
import java.util.HashMap;
@@ -41,14 +41,14 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;
import org.springframework.web.servlet.view.RedirectView;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.util.StringUtil;
import net.tanesha.recaptcha.ReCaptcha;
import net.tanesha.recaptcha.ReCaptchaFactory;
import net.tanesha.recaptcha.ReCaptchaResponse;
@@ -140,20 +140,20 @@ public class MultiController extends MultiActionController {
try {
HttpConnectionParams.setConnectionTimeout(client.getParams(), 10000);
HttpConnectionParams.setSoTimeout(client.getParams(), 10000);
- HttpPost method = new HttpPost("http://subsonic.org/backend/sendMail.view");
+ HttpPost method = new HttpPost("http://libresonic.org/backend/sendMail.view");
List params = new ArrayList();
- params.add(new BasicNameValuePair("from", "noreply@subsonic.org"));
+ params.add(new BasicNameValuePair("from", "noreply@libresonic.org"));
params.add(new BasicNameValuePair("to", email));
- params.add(new BasicNameValuePair("subject", "Subsonic Password"));
+ params.add(new BasicNameValuePair("subject", "Libresonic Password"));
params.add(new BasicNameValuePair("text",
"Hi there!\n\n" +
- "You have requested to reset your Subsonic password. Please find your new login details below.\n\n" +
+ "You have requested to reset your Libresonic password. Please find your new login details below.\n\n" +
"Username: " + username + "\n" +
"Password: " + password + "\n\n" +
"--\n" +
- "The Subsonic Team\n" +
- "subsonic.org"));
+ "The Libresonic Team\n" +
+ "libresonic.org"));
method.setEntity(new UrlEncodedFormEntity(params, StringUtil.ENCODING_UTF8));
client.execute(method);
return true;
@@ -228,8 +228,8 @@ public class MultiController extends MultiActionController {
private void updatePortAndContextPath(HttpServletRequest request) {
- int port = Integer.parseInt(System.getProperty("subsonic.port", String.valueOf(request.getLocalPort())));
- int httpsPort = Integer.parseInt(System.getProperty("subsonic.httpsPort", "0"));
+ int port = Integer.parseInt(System.getProperty("libresonic.port", String.valueOf(request.getLocalPort())));
+ int httpsPort = Integer.parseInt(System.getProperty("libresonic.httpsPort", "0"));
String contextPath = request.getContextPath().replace("/", "");
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MusicFolderSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/MusicFolderSettingsController.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MusicFolderSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/MusicFolderSettingsController.java
index 60f00ac4..b1abbd8c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/MusicFolderSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/MusicFolderSettingsController.java
@@ -1,30 +1,30 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
-
-import net.sourceforge.subsonic.command.MusicFolderSettingsCommand;
-import net.sourceforge.subsonic.dao.AlbumDao;
-import net.sourceforge.subsonic.dao.ArtistDao;
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.service.MediaScannerService;
-import net.sourceforge.subsonic.service.SettingsService;
+package org.libresonic.player.controller;
+
+import org.libresonic.player.command.MusicFolderSettingsCommand;
+import org.libresonic.player.dao.AlbumDao;
+import org.libresonic.player.dao.ArtistDao;
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.service.MediaScannerService;
+import org.libresonic.player.service.SettingsService;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.SimpleFormController;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/NetworkSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/NetworkSettingsController.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/NetworkSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/NetworkSettingsController.java
index 76a043fa..49389e84 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/NetworkSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/NetworkSettingsController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.Random;
@@ -25,10 +25,10 @@ import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang.StringUtils;
import org.springframework.web.servlet.mvc.SimpleFormController;
-import net.sourceforge.subsonic.command.NetworkSettingsCommand;
-import net.sourceforge.subsonic.domain.UrlRedirectType;
-import net.sourceforge.subsonic.service.NetworkService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.command.NetworkSettingsCommand;
+import org.libresonic.player.domain.UrlRedirectType;
+import org.libresonic.player.service.NetworkService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the page used to change the network settings.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/NowPlayingController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/NowPlayingController.java
similarity index 78%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/NowPlayingController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/NowPlayingController.java
index 93e2131e..60c9d061 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/NowPlayingController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/NowPlayingController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.List;
@@ -27,12 +27,12 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;
import org.springframework.web.servlet.view.RedirectView;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.TransferStatus;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.StatusService;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.TransferStatus;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.StatusService;
/**
* Controller for showing what's currently playing.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PasswordSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PasswordSettingsController.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PasswordSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PasswordSettingsController.java
index b30e510f..35957e29 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PasswordSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PasswordSettingsController.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import org.springframework.web.servlet.mvc.*;
-import net.sourceforge.subsonic.service.*;
-import net.sourceforge.subsonic.command.*;
-import net.sourceforge.subsonic.domain.*;
+import org.libresonic.player.service.*;
+import org.libresonic.player.command.*;
+import org.libresonic.player.domain.*;
import javax.servlet.http.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PersonalSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PersonalSettingsController.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PersonalSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PersonalSettingsController.java
index 5348493e..edc34251 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PersonalSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PersonalSettingsController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.Date;
import java.util.Locale;
@@ -26,14 +26,14 @@ import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang.StringUtils;
import org.springframework.web.servlet.mvc.SimpleFormController;
-import net.sourceforge.subsonic.command.PersonalSettingsCommand;
-import net.sourceforge.subsonic.domain.AlbumListType;
-import net.sourceforge.subsonic.domain.AvatarScheme;
-import net.sourceforge.subsonic.domain.Theme;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.command.PersonalSettingsCommand;
+import org.libresonic.player.domain.AlbumListType;
+import org.libresonic.player.domain.AvatarScheme;
+import org.libresonic.player.domain.Theme;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the page used to administrate per-user settings.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlayQueueController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PlayQueueController.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlayQueueController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PlayQueueController.java
index 8952bb6b..b6247a23 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlayQueueController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PlayQueueController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.Map;
@@ -27,12 +27,12 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the playlist frame.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlayerSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PlayerSettingsController.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlayerSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PlayerSettingsController.java
index ef2a7598..2bd0644b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlayerSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PlayerSettingsController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.ArrayList;
import java.util.List;
@@ -26,15 +26,15 @@ import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang.StringUtils;
import org.springframework.web.servlet.mvc.SimpleFormController;
-import net.sourceforge.subsonic.command.PlayerSettingsCommand;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.PlayerTechnology;
-import net.sourceforge.subsonic.domain.TranscodeScheme;
-import net.sourceforge.subsonic.domain.Transcoding;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.TranscodingService;
+import org.libresonic.player.command.PlayerSettingsCommand;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.PlayerTechnology;
+import org.libresonic.player.domain.TranscodeScheme;
+import org.libresonic.player.domain.Transcoding;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.TranscodingService;
/**
* Controller for the player settings page.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlaylistController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PlaylistController.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlaylistController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PlaylistController.java
index 6cf24405..27d79357 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlaylistController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PlaylistController.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
-
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+package org.libresonic.player.controller;
+
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlaylistsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PlaylistsController.java
similarity index 73%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlaylistsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PlaylistsController.java
index d00322cb..3afbb1f1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PlaylistsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PlaylistsController.java
@@ -1,22 +1,22 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2014 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.List;
@@ -30,14 +30,14 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
import org.springframework.web.servlet.view.RedirectView;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the playlists page.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastChannelController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PodcastChannelController.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastChannelController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PodcastChannelController.java
index 4ef0d92b..8ddbb583 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastChannelController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PodcastChannelController.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.Map;
@@ -29,8 +29,8 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.service.PodcastService;
-import net.sourceforge.subsonic.service.SecurityService;
+import org.libresonic.player.service.PodcastService;
+import org.libresonic.player.service.SecurityService;
/**
* Controller for the "Podcast channel" page.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastChannelsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PodcastChannelsController.java
similarity index 81%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastChannelsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PodcastChannelsController.java
index 2e044ef2..1dff8955 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastChannelsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PodcastChannelsController.java
@@ -1,22 +1,22 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.LinkedHashMap;
@@ -29,11 +29,11 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.PodcastChannel;
-import net.sourceforge.subsonic.domain.PodcastEpisode;
-import net.sourceforge.subsonic.service.PodcastService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.PodcastChannel;
+import org.libresonic.player.domain.PodcastEpisode;
+import org.libresonic.player.service.PodcastService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the "Podcast channels" page.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PodcastController.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PodcastController.java
index a3f1467b..efb0f60d 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PodcastController.java
@@ -1,29 +1,29 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
-
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.util.StringUtil;
+package org.libresonic.player.controller;
+
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.util.StringUtil;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastReceiverAdminController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PodcastReceiverAdminController.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastReceiverAdminController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PodcastReceiverAdminController.java
index 20224823..61ec7e8b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastReceiverAdminController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PodcastReceiverAdminController.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
-import net.sourceforge.subsonic.domain.PodcastEpisode;
-import net.sourceforge.subsonic.domain.PodcastStatus;
-import net.sourceforge.subsonic.service.PodcastService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.domain.PodcastEpisode;
+import org.libresonic.player.domain.PodcastStatus;
+import org.libresonic.player.service.PodcastService;
+import org.libresonic.player.util.StringUtil;
import org.apache.commons.lang.StringUtils;
import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PodcastSettingsController.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PodcastSettingsController.java
index 85be43d8..e2912e59 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PodcastSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PodcastSettingsController.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import org.springframework.web.servlet.mvc.SimpleFormController;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.PodcastService;
-import net.sourceforge.subsonic.command.PodcastSettingsCommand;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.PodcastService;
+import org.libresonic.player.command.PodcastSettingsCommand;
import javax.servlet.http.HttpServletRequest;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PremiumSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/PremiumSettingsController.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PremiumSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/PremiumSettingsController.java
index 9add5d32..3db0c9fe 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/PremiumSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/PremiumSettingsController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.Date;
@@ -27,9 +27,9 @@ import org.springframework.validation.BindException;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.SimpleFormController;
-import net.sourceforge.subsonic.command.PremiumSettingsCommand;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.command.PremiumSettingsCommand;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the Subsonic Premium page.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ProxyController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/ProxyController.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ProxyController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/ProxyController.java
index 9535e059..cdc678c5 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ProxyController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/ProxyController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.io.InputStream;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/RESTController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/RESTController.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/RESTController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/RESTController.java
index 255608bc..82f1bc37 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/RESTController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/RESTController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.ArrayList;
import java.util.Collections;
@@ -37,109 +37,109 @@ import org.apache.commons.lang.StringUtils;
import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;
-import org.subsonic.restapi.AlbumID3;
-import org.subsonic.restapi.AlbumList;
-import org.subsonic.restapi.AlbumList2;
-import org.subsonic.restapi.AlbumWithSongsID3;
-import org.subsonic.restapi.ArtistID3;
-import org.subsonic.restapi.ArtistInfo;
-import org.subsonic.restapi.ArtistInfo2;
-import org.subsonic.restapi.ArtistWithAlbumsID3;
-import org.subsonic.restapi.ArtistsID3;
-import org.subsonic.restapi.Bookmarks;
-import org.subsonic.restapi.ChatMessage;
-import org.subsonic.restapi.ChatMessages;
-import org.subsonic.restapi.Child;
-import org.subsonic.restapi.Directory;
-import org.subsonic.restapi.Genres;
-import org.subsonic.restapi.Index;
-import org.subsonic.restapi.IndexID3;
-import org.subsonic.restapi.Indexes;
-import org.subsonic.restapi.InternetRadioStation;
-import org.subsonic.restapi.InternetRadioStations;
-import org.subsonic.restapi.JukeboxPlaylist;
-import org.subsonic.restapi.JukeboxStatus;
-import org.subsonic.restapi.License;
-import org.subsonic.restapi.Lyrics;
-import org.subsonic.restapi.MediaType;
-import org.subsonic.restapi.MusicFolders;
-import org.subsonic.restapi.NewestPodcasts;
-import org.subsonic.restapi.NowPlaying;
-import org.subsonic.restapi.NowPlayingEntry;
-import org.subsonic.restapi.PlaylistWithSongs;
-import org.subsonic.restapi.Playlists;
-import org.subsonic.restapi.PodcastStatus;
-import org.subsonic.restapi.Podcasts;
-import org.subsonic.restapi.Response;
-import org.subsonic.restapi.SearchResult2;
-import org.subsonic.restapi.SearchResult3;
-import org.subsonic.restapi.Shares;
-import org.subsonic.restapi.SimilarSongs;
-import org.subsonic.restapi.SimilarSongs2;
-import org.subsonic.restapi.Songs;
-import org.subsonic.restapi.Starred;
-import org.subsonic.restapi.Starred2;
-import org.subsonic.restapi.TopSongs;
-import org.subsonic.restapi.Users;
-import org.subsonic.restapi.Videos;
-
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.ajax.ChatService;
-import net.sourceforge.subsonic.ajax.LyricsInfo;
-import net.sourceforge.subsonic.ajax.LyricsService;
-import net.sourceforge.subsonic.ajax.PlayQueueService;
-import net.sourceforge.subsonic.command.UserSettingsCommand;
-import net.sourceforge.subsonic.dao.AlbumDao;
-import net.sourceforge.subsonic.dao.ArtistDao;
-import net.sourceforge.subsonic.dao.BookmarkDao;
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.dao.PlayQueueDao;
-import net.sourceforge.subsonic.domain.Album;
-import net.sourceforge.subsonic.domain.Artist;
-import net.sourceforge.subsonic.domain.ArtistBio;
-import net.sourceforge.subsonic.domain.Bookmark;
-import net.sourceforge.subsonic.domain.Genre;
-import net.sourceforge.subsonic.domain.InternetRadio;
-import net.sourceforge.subsonic.domain.LicenseInfo;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.MusicFolderContent;
-import net.sourceforge.subsonic.domain.MusicIndex;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.PlayStatus;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.PlayerTechnology;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.domain.PodcastChannel;
-import net.sourceforge.subsonic.domain.PodcastEpisode;
-import net.sourceforge.subsonic.domain.RandomSearchCriteria;
-import net.sourceforge.subsonic.domain.SavedPlayQueue;
-import net.sourceforge.subsonic.domain.SearchCriteria;
-import net.sourceforge.subsonic.domain.SearchResult;
-import net.sourceforge.subsonic.domain.Share;
-import net.sourceforge.subsonic.domain.TranscodeScheme;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.AudioScrobblerService;
-import net.sourceforge.subsonic.service.JukeboxService;
-import net.sourceforge.subsonic.service.LastFmService;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.MusicIndexService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.PodcastService;
-import net.sourceforge.subsonic.service.RatingService;
-import net.sourceforge.subsonic.service.SearchService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.ShareService;
-import net.sourceforge.subsonic.service.StatusService;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.util.Pair;
-import net.sourceforge.subsonic.util.StringUtil;
-import net.sourceforge.subsonic.util.Util;
-
-import static net.sourceforge.subsonic.security.RESTRequestParameterProcessingFilter.decrypt;
+import org.libresonic.restapi.AlbumID3;
+import org.libresonic.restapi.AlbumList;
+import org.libresonic.restapi.AlbumList2;
+import org.libresonic.restapi.AlbumWithSongsID3;
+import org.libresonic.restapi.ArtistID3;
+import org.libresonic.restapi.ArtistInfo;
+import org.libresonic.restapi.ArtistInfo2;
+import org.libresonic.restapi.ArtistWithAlbumsID3;
+import org.libresonic.restapi.ArtistsID3;
+import org.libresonic.restapi.Bookmarks;
+import org.libresonic.restapi.ChatMessage;
+import org.libresonic.restapi.ChatMessages;
+import org.libresonic.restapi.Child;
+import org.libresonic.restapi.Directory;
+import org.libresonic.restapi.Genres;
+import org.libresonic.restapi.Index;
+import org.libresonic.restapi.IndexID3;
+import org.libresonic.restapi.Indexes;
+import org.libresonic.restapi.InternetRadioStation;
+import org.libresonic.restapi.InternetRadioStations;
+import org.libresonic.restapi.JukeboxPlaylist;
+import org.libresonic.restapi.JukeboxStatus;
+import org.libresonic.restapi.License;
+import org.libresonic.restapi.Lyrics;
+import org.libresonic.restapi.MediaType;
+import org.libresonic.restapi.MusicFolders;
+import org.libresonic.restapi.NewestPodcasts;
+import org.libresonic.restapi.NowPlaying;
+import org.libresonic.restapi.NowPlayingEntry;
+import org.libresonic.restapi.PlaylistWithSongs;
+import org.libresonic.restapi.Playlists;
+import org.libresonic.restapi.PodcastStatus;
+import org.libresonic.restapi.Podcasts;
+import org.libresonic.restapi.Response;
+import org.libresonic.restapi.SearchResult2;
+import org.libresonic.restapi.SearchResult3;
+import org.libresonic.restapi.Shares;
+import org.libresonic.restapi.SimilarSongs;
+import org.libresonic.restapi.SimilarSongs2;
+import org.libresonic.restapi.Songs;
+import org.libresonic.restapi.Starred;
+import org.libresonic.restapi.Starred2;
+import org.libresonic.restapi.TopSongs;
+import org.libresonic.restapi.Users;
+import org.libresonic.restapi.Videos;
+
+import org.libresonic.player.Logger;
+import org.libresonic.player.ajax.ChatService;
+import org.libresonic.player.ajax.LyricsInfo;
+import org.libresonic.player.ajax.LyricsService;
+import org.libresonic.player.ajax.PlayQueueService;
+import org.libresonic.player.command.UserSettingsCommand;
+import org.libresonic.player.dao.AlbumDao;
+import org.libresonic.player.dao.ArtistDao;
+import org.libresonic.player.dao.BookmarkDao;
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.dao.PlayQueueDao;
+import org.libresonic.player.domain.Album;
+import org.libresonic.player.domain.Artist;
+import org.libresonic.player.domain.ArtistBio;
+import org.libresonic.player.domain.Bookmark;
+import org.libresonic.player.domain.Genre;
+import org.libresonic.player.domain.InternetRadio;
+import org.libresonic.player.domain.LicenseInfo;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.MusicFolderContent;
+import org.libresonic.player.domain.MusicIndex;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.PlayStatus;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.PlayerTechnology;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.domain.PodcastChannel;
+import org.libresonic.player.domain.PodcastEpisode;
+import org.libresonic.player.domain.RandomSearchCriteria;
+import org.libresonic.player.domain.SavedPlayQueue;
+import org.libresonic.player.domain.SearchCriteria;
+import org.libresonic.player.domain.SearchResult;
+import org.libresonic.player.domain.Share;
+import org.libresonic.player.domain.TranscodeScheme;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.AudioScrobblerService;
+import org.libresonic.player.service.JukeboxService;
+import org.libresonic.player.service.LastFmService;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.MusicIndexService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.PodcastService;
+import org.libresonic.player.service.RatingService;
+import org.libresonic.player.service.SearchService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.ShareService;
+import org.libresonic.player.service.StatusService;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.util.Pair;
+import org.libresonic.player.util.StringUtil;
+import org.libresonic.player.util.Util;
+
+import static org.libresonic.player.security.RESTRequestParameterProcessingFilter.decrypt;
import static org.springframework.web.bind.ServletRequestUtils.*;
/**
@@ -230,7 +230,7 @@ public class RESTController extends MultiActionController {
MusicFolders musicFolders = new MusicFolders();
String username = securityService.getCurrentUsername(request);
for (MusicFolder musicFolder : settingsService.getMusicFoldersForUser(username)) {
- org.subsonic.restapi.MusicFolder mf = new org.subsonic.restapi.MusicFolder();
+ org.libresonic.restapi.MusicFolder mf = new org.libresonic.restapi.MusicFolder();
mf.setId(musicFolder.getId());
mf.setName(musicFolder.getName());
musicFolders.getMusicFolder().add(mf);
@@ -284,7 +284,7 @@ public class RESTController extends MultiActionController {
for (MediaFile mediaFile : artist.getMediaFiles()) {
if (mediaFile.isDirectory()) {
Date starredDate = mediaFileDao.getMediaFileStarredDate(mediaFile.getId(), username);
- org.subsonic.restapi.Artist a = new org.subsonic.restapi.Artist();
+ org.libresonic.restapi.Artist a = new org.libresonic.restapi.Artist();
index.getArtist().add(a);
a.setId(String.valueOf(mediaFile.getId()));
a.setName(artist.getName());
@@ -316,7 +316,7 @@ public class RESTController extends MultiActionController {
Genres genres = new Genres();
for (Genre genre : mediaFileDao.getGenres(false)) {
- org.subsonic.restapi.Genre g = new org.subsonic.restapi.Genre();
+ org.libresonic.restapi.Genre g = new org.libresonic.restapi.Genre();
genres.getGenre().add(g);
g.setContent(genre.getName());
g.setAlbumCount(genre.getAlbumCount());
@@ -536,8 +536,8 @@ public class RESTController extends MultiActionController {
return jaxbArtist;
}
- private org.subsonic.restapi.Artist createJaxbArtist(MediaFile artist, String username) {
- org.subsonic.restapi.Artist result = new org.subsonic.restapi.Artist();
+ private org.libresonic.restapi.Artist createJaxbArtist(MediaFile artist, String username) {
+ org.libresonic.restapi.Artist result = new org.libresonic.restapi.Artist();
result.setId(String.valueOf(artist.getId()));
result.setName(artist.getArtist());
Date starred = mediaFileDao.getMediaFileStarredDate(artist.getId(), username);
@@ -589,7 +589,7 @@ public class RESTController extends MultiActionController {
return jaxbAlbum;
}
- private T createJaxbPlaylist(T jaxbPlaylist, Playlist playlist) {
+ private T createJaxbPlaylist(T jaxbPlaylist, Playlist playlist) {
jaxbPlaylist.setId(String.valueOf(playlist.getId()));
jaxbPlaylist.setName(playlist.getName());
jaxbPlaylist.setComment(playlist.getComment());
@@ -728,7 +728,7 @@ public class RESTController extends MultiActionController {
List musicFolders = settingsService.getMusicFoldersForUser(username);
SearchResult result = searchService.search(criteria, musicFolders, SearchService.IndexType.SONG);
- org.subsonic.restapi.SearchResult searchResult = new org.subsonic.restapi.SearchResult();
+ org.libresonic.restapi.SearchResult searchResult = new org.libresonic.restapi.SearchResult();
searchResult.setOffset(result.getOffset());
searchResult.setTotalHits(result.getTotalHits());
@@ -836,7 +836,7 @@ public class RESTController extends MultiActionController {
Playlists result = new Playlists();
for (Playlist playlist : playlistService.getReadablePlaylistsForUser(requestedUsername)) {
- result.getPlaylist().add(createJaxbPlaylist(new org.subsonic.restapi.Playlist(), playlist));
+ result.getPlaylist().add(createJaxbPlaylist(new org.libresonic.restapi.Playlist(), playlist));
}
Response res = createResponse();
@@ -1577,7 +1577,7 @@ public class RESTController extends MultiActionController {
for (PodcastChannel channel : podcastService.getAllChannels()) {
if (channelId == null || channelId.equals(channel.getId())) {
- org.subsonic.restapi.PodcastChannel c = new org.subsonic.restapi.PodcastChannel();
+ org.libresonic.restapi.PodcastChannel c = new org.libresonic.restapi.PodcastChannel();
result.getChannel().add(c);
c.setId(String.valueOf(channel.getId()));
@@ -1620,13 +1620,13 @@ public class RESTController extends MultiActionController {
jaxbWriter.writeResponse(request, response, res);
}
- private org.subsonic.restapi.PodcastEpisode createJaxbPodcastEpisode(Player player, String username, PodcastEpisode episode) {
- org.subsonic.restapi.PodcastEpisode e = new org.subsonic.restapi.PodcastEpisode();
+ private org.libresonic.restapi.PodcastEpisode createJaxbPodcastEpisode(Player player, String username, PodcastEpisode episode) {
+ org.libresonic.restapi.PodcastEpisode e = new org.libresonic.restapi.PodcastEpisode();
String path = episode.getPath();
if (path != null) {
MediaFile mediaFile = mediaFileService.getMediaFile(path);
- e = createJaxbChild(new org.subsonic.restapi.PodcastEpisode(), player, mediaFile, username);
+ e = createJaxbChild(new org.libresonic.restapi.PodcastEpisode(), player, mediaFile, username);
e.setStreamId(String.valueOf(mediaFile.getId()));
}
@@ -1739,7 +1739,7 @@ public class RESTController extends MultiActionController {
Bookmarks result = new Bookmarks();
for (Bookmark bookmark : bookmarkDao.getBookmarks(username)) {
- org.subsonic.restapi.Bookmark b = new org.subsonic.restapi.Bookmark();
+ org.libresonic.restapi.Bookmark b = new org.libresonic.restapi.Bookmark();
result.getBookmark().add(b);
b.setPosition(bookmark.getPositionMillis());
b.setUsername(bookmark.getUsername());
@@ -1795,7 +1795,7 @@ public class RESTController extends MultiActionController {
return;
}
- org.subsonic.restapi.PlayQueue restPlayQueue = new org.subsonic.restapi.PlayQueue();
+ org.libresonic.restapi.PlayQueue restPlayQueue = new org.libresonic.restapi.PlayQueue();
restPlayQueue.setUsername(playQueue.getUsername());
restPlayQueue.setCurrent(playQueue.getCurrentMediaFileId());
restPlayQueue.setPosition(playQueue.getPositionMillis());
@@ -1844,7 +1844,7 @@ public class RESTController extends MultiActionController {
Shares result = new Shares();
for (Share share : shareService.getSharesForUser(user)) {
- org.subsonic.restapi.Share s = createJaxbShare(share);
+ org.libresonic.restapi.Share s = createJaxbShare(share);
result.getShare().add(s);
for (MediaFile mediaFile : shareService.getSharedFiles(share.getId(), musicFolders)) {
@@ -1869,7 +1869,7 @@ public class RESTController extends MultiActionController {
}
if (!settingsService.isUrlRedirectionEnabled()) {
- error(request, response, ErrorCode.GENERIC, "Sharing is only supported for *.subsonic.org domain names.");
+ error(request, response, ErrorCode.GENERIC, "Sharing is only supported for *.libresonic.org domain names.");
return;
}
@@ -1887,7 +1887,7 @@ public class RESTController extends MultiActionController {
shareService.updateShare(share);
Shares result = new Shares();
- org.subsonic.restapi.Share s = createJaxbShare(share);
+ org.libresonic.restapi.Share s = createJaxbShare(share);
result.getShare().add(s);
List musicFolders = settingsService.getMusicFoldersForUser(username);
@@ -1947,8 +1947,8 @@ public class RESTController extends MultiActionController {
writeEmptyResponse(request, response);
}
- private org.subsonic.restapi.Share createJaxbShare(Share share) {
- org.subsonic.restapi.Share result = new org.subsonic.restapi.Share();
+ private org.libresonic.restapi.Share createJaxbShare(Share share) {
+ org.libresonic.restapi.Share result = new org.libresonic.restapi.Share();
result.setId(String.valueOf(share.getId()));
result.setUrl(shareService.getShareUrl(share));
result.setUsername(share.getUsername());
@@ -2073,10 +2073,10 @@ public class RESTController extends MultiActionController {
jaxbWriter.writeResponse(request, response, res);
}
- private org.subsonic.restapi.User createJaxbUser(User user) {
+ private org.libresonic.restapi.User createJaxbUser(User user) {
UserSettings userSettings = settingsService.getUserSettings(user.getUsername());
- org.subsonic.restapi.User result = new org.subsonic.restapi.User();
+ org.libresonic.restapi.User result = new org.libresonic.restapi.User();
result.setUsername(user.getUsername());
result.setEmail(user.getEmail());
result.setScrobblingEnabled(userSettings.isLastFmEnabled());
@@ -2484,11 +2484,11 @@ public class RESTController extends MultiActionController {
GENERIC(0, "A generic error."),
MISSING_PARAMETER(10, "Required parameter is missing."),
- PROTOCOL_MISMATCH_CLIENT_TOO_OLD(20, "Incompatible Subsonic REST protocol version. Client must upgrade."),
- PROTOCOL_MISMATCH_SERVER_TOO_OLD(30, "Incompatible Subsonic REST protocol version. Server must upgrade."),
+ PROTOCOL_MISMATCH_CLIENT_TOO_OLD(20, "Incompatible Libresonic REST protocol version. Client must upgrade."),
+ PROTOCOL_MISMATCH_SERVER_TOO_OLD(30, "Incompatible Libresonic REST protocol version. Server must upgrade."),
NOT_AUTHENTICATED(40, "Wrong username or password."),
NOT_AUTHORIZED(50, "User is not authorized for the given operation."),
- NOT_LICENSED(60, "The trial period for the Subsonic server is over. Please upgrade to Subsonic Premium. Visit subsonic.org for details."),
+ NOT_LICENSED(60, "The trial period for the Libresonic server is over. Please upgrade to Subsonic Premium. Visit libresonic.org for details."),
NOT_FOUND(70, "Requested data was not found.");
private final int code;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/RandomPlayQueueController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/RandomPlayQueueController.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/RandomPlayQueueController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/RandomPlayQueueController.java
index 6dd7f7b2..aa935a5c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/RandomPlayQueueController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/RandomPlayQueueController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.Arrays;
import java.util.Collections;
@@ -33,14 +33,14 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.RandomSearchCriteria;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SearchService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.RandomSearchCriteria;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SearchService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the creating a random play queue.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ReloadFrame.java b/libresonic-main/src/main/java/org/libresonic/player/controller/ReloadFrame.java
similarity index 74%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ReloadFrame.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/ReloadFrame.java
index 093b7fa1..4d084895 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ReloadFrame.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/ReloadFrame.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
/**
- * Used in subsonic-servlet.xml to specify frame reloading.
+ * Used in libresonic-servlet.xml to specify frame reloading.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/RightController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/RightController.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/RightController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/RightController.java
index 74bc6c9c..6cada45b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/RightController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/RightController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.Map;
@@ -27,10 +27,10 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.VersionService;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.VersionService;
/**
* Controller for the right frame.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SearchController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/SearchController.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SearchController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/SearchController.java
index db08d88a..be7276d8 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SearchController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/SearchController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.List;
@@ -28,16 +28,16 @@ import org.springframework.validation.BindException;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.SimpleFormController;
-import net.sourceforge.subsonic.command.SearchCommand;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.SearchCriteria;
-import net.sourceforge.subsonic.domain.SearchResult;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SearchService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.command.SearchCommand;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.SearchCriteria;
+import org.libresonic.player.domain.SearchResult;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SearchService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the search page.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SetMusicFileInfoController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/SetMusicFileInfoController.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SetMusicFileInfoController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/SetMusicFileInfoController.java
index 50bec647..c64f7f08 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SetMusicFileInfoController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/SetMusicFileInfoController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@@ -26,9 +26,9 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;
import org.springframework.web.servlet.view.RedirectView;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.util.StringUtil;
/**
* Controller for updating music file metadata.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SetRatingController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/SetRatingController.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SetRatingController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/SetRatingController.java
index 653ebaad..06e36e63 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SetRatingController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/SetRatingController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@@ -26,10 +26,10 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;
import org.springframework.web.servlet.view.RedirectView;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.RatingService;
-import net.sourceforge.subsonic.service.SecurityService;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.RatingService;
+import org.libresonic.player.service.SecurityService;
/**
* Controller for updating music file ratings.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/SettingsController.java
similarity index 79%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/SettingsController.java
index ed0c21c5..ee1f57e1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/SettingsController.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
-import net.sourceforge.subsonic.domain.*;
-import net.sourceforge.subsonic.service.*;
+import org.libresonic.player.domain.*;
+import org.libresonic.player.service.*;
import org.springframework.web.servlet.*;
import org.springframework.web.servlet.view.*;
import org.springframework.web.servlet.mvc.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ShareManagementController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/ShareManagementController.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ShareManagementController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/ShareManagementController.java
index 1b4b5bad..5cdb55b2 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ShareManagementController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/ShareManagementController.java
@@ -1,33 +1,33 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
-
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.Share;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.ShareService;
+package org.libresonic.player.controller;
+
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.Share;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.ShareService;
import org.springframework.web.bind.ServletRequestBindingException;
import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ShareSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/ShareSettingsController.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ShareSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/ShareSettingsController.java
index 2d95df1c..893243f8 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/ShareSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/ShareSettingsController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.ArrayList;
import java.util.Calendar;
@@ -33,14 +33,14 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.Share;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.ShareService;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.Share;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.ShareService;
/**
* Controller for the page used to administrate the set of shared media.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SonosSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/SonosSettingsController.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SonosSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/SonosSettingsController.java
index 59567130..eb8226b6 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/SonosSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/SonosSettingsController.java
@@ -1,22 +1,22 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.Map;
@@ -29,8 +29,8 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.SonosService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.SonosService;
/**
* Controller for the page used to administrate the Sonos music service settings.
@@ -75,7 +75,7 @@ public class SonosSettingsController extends ParameterizableViewController {
boolean sonosEnabled = ServletRequestUtils.getBooleanParameter(request, "sonosEnabled", false);
String sonosServiceName = StringUtils.trimToNull(request.getParameter("sonosServiceName"));
if (sonosServiceName == null) {
- sonosServiceName = "Subsonic";
+ sonosServiceName = "Libresonic";
}
settingsService.setSonosEnabled(sonosEnabled);
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StarredController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/StarredController.java
similarity index 81%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StarredController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/StarredController.java
index 90701383..74f52076 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StarredController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/StarredController.java
@@ -1,33 +1,33 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
-
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.domain.CoverArtScheme;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+package org.libresonic.player.controller;
+
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.domain.CoverArtScheme;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StatusChartController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/StatusChartController.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StatusChartController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/StatusChartController.java
index 878b8ae8..78c55ad5 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StatusChartController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/StatusChartController.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
-import net.sourceforge.subsonic.domain.*;
-import net.sourceforge.subsonic.service.*;
+import org.libresonic.player.domain.*;
+import org.libresonic.player.service.*;
import org.jfree.chart.*;
import org.jfree.chart.axis.*;
import org.jfree.chart.plot.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StatusController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/StatusController.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StatusController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/StatusController.java
index 964e7810..4bc5c924 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StatusController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/StatusController.java
@@ -1,28 +1,28 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.TransferStatus;
-import net.sourceforge.subsonic.service.StatusService;
-import net.sourceforge.subsonic.util.FileUtil;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.TransferStatus;
+import org.libresonic.player.service.StatusService;
+import org.libresonic.player.util.FileUtil;
+import org.libresonic.player.util.StringUtil;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
import org.springframework.web.servlet.support.RequestContextUtils;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StreamController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/StreamController.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StreamController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/StreamController.java
index 440e1656..a775e721 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/StreamController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/StreamController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.awt.Dimension;
import java.io.IOException;
@@ -34,32 +34,32 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.TransferStatus;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.VideoTranscodingSettings;
-import net.sourceforge.subsonic.io.PlayQueueInputStream;
-import net.sourceforge.subsonic.io.RangeOutputStream;
-import net.sourceforge.subsonic.io.ShoutCastOutputStream;
-import net.sourceforge.subsonic.service.AudioScrobblerService;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.SearchService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.StatusService;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.service.sonos.SonosHelper;
-import net.sourceforge.subsonic.util.HttpRange;
-import net.sourceforge.subsonic.util.StringUtil;
-import net.sourceforge.subsonic.util.Util;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.TransferStatus;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.VideoTranscodingSettings;
+import org.libresonic.player.io.PlayQueueInputStream;
+import org.libresonic.player.io.RangeOutputStream;
+import org.libresonic.player.io.ShoutCastOutputStream;
+import org.libresonic.player.service.AudioScrobblerService;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.SearchService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.StatusService;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.service.sonos.SonosHelper;
+import org.libresonic.player.util.HttpRange;
+import org.libresonic.player.util.StringUtil;
+import org.libresonic.player.util.Util;
/**
- * A controller which streams the content of a {@link net.sourceforge.subsonic.domain.PlayQueue} to a remote
+ * A controller which streams the content of a {@link org.libresonic.player.domain.PlayQueue} to a remote
* {@link Player}.
*
* @author Sindre Mehus
@@ -195,11 +195,11 @@ public class StreamController implements Controller {
boolean isShoutCastRequested = "1".equals(request.getHeader("icy-metadata"));
if (isShoutCastRequested && !isSingleFile) {
response.setHeader("icy-metaint", "" + ShoutCastOutputStream.META_DATA_INTERVAL);
- response.setHeader("icy-notice1", "This stream is served using Subsonic");
- response.setHeader("icy-notice2", "Subsonic - Free media streamer - subsonic.org");
- response.setHeader("icy-name", "Subsonic");
+ response.setHeader("icy-notice1", "This stream is served using Libresonic");
+ response.setHeader("icy-notice2", "Libresonic - Free media streamer - libresonic.org");
+ response.setHeader("icy-name", "Libresonic");
response.setHeader("icy-genre", "Mixed");
- response.setHeader("icy-url", "http://subsonic.org/");
+ response.setHeader("icy-url", "http://libresonic.org/");
out = new ShoutCastOutputStream(out, player.getPlayQueue(), settingsService);
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/TopController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/TopController.java
similarity index 77%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/TopController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/TopController.java
index 3f3506dc..79447400 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/TopController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/TopController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.Map;
@@ -27,11 +27,11 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.AvatarScheme;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.AvatarScheme;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the top frame.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/TranscodingSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/TranscodingSettingsController.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/TranscodingSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/TranscodingSettingsController.java
index 39176fd1..91fc3d0e 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/TranscodingSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/TranscodingSettingsController.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
-import net.sourceforge.subsonic.domain.Transcoding;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.Transcoding;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.service.SettingsService;
import org.apache.commons.lang.StringUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/UploadController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/UploadController.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/UploadController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/UploadController.java
index de7bf8dd..7f101082 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/UploadController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/UploadController.java
@@ -1,28 +1,28 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
-import net.sourceforge.subsonic.*;
-import net.sourceforge.subsonic.domain.*;
-import net.sourceforge.subsonic.upload.*;
-import net.sourceforge.subsonic.service.*;
-import net.sourceforge.subsonic.util.*;
+import org.libresonic.player.*;
+import org.libresonic.player.domain.*;
+import org.libresonic.player.upload.*;
+import org.libresonic.player.service.*;
+import org.libresonic.player.util.*;
import org.apache.commons.fileupload.*;
import org.apache.commons.fileupload.servlet.*;
import org.apache.commons.io.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/UserChartController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/UserChartController.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/UserChartController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/UserChartController.java
index 0428eff8..1e8d1e5c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/UserChartController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/UserChartController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.awt.Color;
import java.awt.GradientPaint;
@@ -40,8 +40,8 @@ import org.jfree.data.category.CategoryDataset;
import org.jfree.data.category.DefaultCategoryDataset;
import org.springframework.web.servlet.ModelAndView;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.service.SecurityService;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.service.SecurityService;
/**
* Controller for generating a chart showing bitrate vs time.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/UserSettingsController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/UserSettingsController.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/UserSettingsController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/UserSettingsController.java
index d0af59ea..38571283 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/UserSettingsController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/UserSettingsController.java
@@ -1,32 +1,32 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
-
-import net.sourceforge.subsonic.command.UserSettingsCommand;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.TranscodeScheme;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.util.Util;
+package org.libresonic.player.controller;
+
+import org.libresonic.player.command.UserSettingsCommand;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.TranscodeScheme;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.util.Util;
import org.apache.commons.lang.StringUtils;
import org.springframework.web.bind.ServletRequestBindingException;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/VideoPlayerController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/VideoPlayerController.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/VideoPlayerController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/VideoPlayerController.java
index 141a0e90..98a87f9b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/VideoPlayerController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/VideoPlayerController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.util.HashMap;
import java.util.LinkedHashMap;
@@ -29,13 +29,13 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.ParameterizableViewController;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.util.StringUtil;
/**
* Controller for the page used to play videos.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/WapController.java b/libresonic-main/src/main/java/org/libresonic/player/controller/WapController.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/controller/WapController.java
rename to libresonic-main/src/main/java/org/libresonic/player/controller/WapController.java
index 416b61ae..54594f42 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/controller/WapController.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/controller/WapController.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.controller;
+package org.libresonic.player.controller;
import java.io.IOException;
import java.util.ArrayList;
@@ -33,22 +33,22 @@ import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.MusicIndex;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.RandomSearchCriteria;
-import net.sourceforge.subsonic.domain.SearchCriteria;
-import net.sourceforge.subsonic.domain.SearchResult;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.MusicIndexService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.SearchService;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.MusicIndex;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.RandomSearchCriteria;
+import org.libresonic.player.domain.SearchCriteria;
+import org.libresonic.player.domain.SearchResult;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.MusicIndexService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.SearchService;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
/**
* Multi-controller used for wap pages.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/AbstractDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/AbstractDao.java
similarity index 95%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/AbstractDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/AbstractDao.java
index d1dba4d0..f9366fbb 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/AbstractDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/AbstractDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.util.Date;
import java.util.List;
@@ -26,7 +26,7 @@ import java.util.concurrent.TimeUnit;
import org.springframework.jdbc.core.*;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
-import net.sourceforge.subsonic.Logger;
+import org.libresonic.player.Logger;
/**
* Abstract superclass for all DAO's.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/AlbumDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/AlbumDao.java
similarity index 97%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/AlbumDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/AlbumDao.java
index 5fd775ac..522da90f 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/AlbumDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/AlbumDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -30,10 +30,10 @@ import org.apache.commons.lang.ObjectUtils;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.domain.Album;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.util.FileUtil;
+import org.libresonic.player.domain.Album;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.util.FileUtil;
/**
* Provides database services for albums.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/ArtistDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/ArtistDao.java
similarity index 95%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/ArtistDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/ArtistDao.java
index fd3673a6..b5465ae6 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/ArtistDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/ArtistDao.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.Artist;
-import net.sourceforge.subsonic.domain.MusicFolder;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.Artist;
+import org.libresonic.player.domain.MusicFolder;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/AvatarDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/AvatarDao.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/AvatarDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/AvatarDao.java
index abdc118d..7247e1b5 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/AvatarDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/AvatarDao.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
-import net.sourceforge.subsonic.domain.Avatar;
+import org.libresonic.player.domain.Avatar;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
import java.sql.ResultSet;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/BookmarkDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/BookmarkDao.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/BookmarkDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/BookmarkDao.java
index 5f9b6c28..5d804026 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/BookmarkDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/BookmarkDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -24,7 +24,7 @@ import java.util.List;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.domain.Bookmark;
+import org.libresonic.player.domain.Bookmark;
/**
* Provides database services for media file bookmarks.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/DaoHelper.java b/libresonic-main/src/main/java/org/libresonic/player/dao/DaoHelper.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/DaoHelper.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/DaoHelper.java
index a45ffafa..a21c5e23 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/DaoHelper.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/DaoHelper.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/DaoHelperFactory.java b/libresonic-main/src/main/java/org/libresonic/player/dao/DaoHelperFactory.java
similarity index 70%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/DaoHelperFactory.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/DaoHelperFactory.java
index 20f837e7..e3287d37 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/DaoHelperFactory.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/DaoHelperFactory.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/HsqlDaoHelper.java b/libresonic-main/src/main/java/org/libresonic/player/dao/HsqlDaoHelper.java
similarity index 61%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/HsqlDaoHelper.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/HsqlDaoHelper.java
index 226ef52d..98137858 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/HsqlDaoHelper.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/HsqlDaoHelper.java
@@ -1,22 +1,22 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.io.File;
@@ -26,33 +26,33 @@ import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema25;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema26;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema27;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema28;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema29;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema30;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema31;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema32;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema33;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema34;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema35;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema36;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema37;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema38;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema40;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema43;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema45;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema46;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema47;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema49;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema50;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema51;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema52;
-import net.sourceforge.subsonic.dao.schema.hsql.Schema53;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
+import org.libresonic.player.dao.schema.hsql.Schema25;
+import org.libresonic.player.dao.schema.hsql.Schema26;
+import org.libresonic.player.dao.schema.hsql.Schema27;
+import org.libresonic.player.dao.schema.hsql.Schema28;
+import org.libresonic.player.dao.schema.hsql.Schema29;
+import org.libresonic.player.dao.schema.hsql.Schema30;
+import org.libresonic.player.dao.schema.hsql.Schema31;
+import org.libresonic.player.dao.schema.hsql.Schema32;
+import org.libresonic.player.dao.schema.hsql.Schema33;
+import org.libresonic.player.dao.schema.hsql.Schema34;
+import org.libresonic.player.dao.schema.hsql.Schema35;
+import org.libresonic.player.dao.schema.hsql.Schema36;
+import org.libresonic.player.dao.schema.hsql.Schema37;
+import org.libresonic.player.dao.schema.hsql.Schema38;
+import org.libresonic.player.dao.schema.hsql.Schema40;
+import org.libresonic.player.dao.schema.hsql.Schema43;
+import org.libresonic.player.dao.schema.hsql.Schema45;
+import org.libresonic.player.dao.schema.hsql.Schema46;
+import org.libresonic.player.dao.schema.hsql.Schema47;
+import org.libresonic.player.dao.schema.hsql.Schema49;
+import org.libresonic.player.dao.schema.hsql.Schema50;
+import org.libresonic.player.dao.schema.hsql.Schema51;
+import org.libresonic.player.dao.schema.hsql.Schema52;
+import org.libresonic.player.dao.schema.hsql.Schema53;
+import org.libresonic.player.service.SettingsService;
/**
* DAO helper class which creates the data source, and updates the database schema.
@@ -106,10 +106,10 @@ public class HsqlDaoHelper implements DaoHelper {
}
private DataSource createDataSource() {
- File subsonicHome = SettingsService.getSubsonicHome();
+ File libresonicHome = SettingsService.getLibresonicHome();
DriverManagerDataSource ds = new DriverManagerDataSource();
ds.setDriverClassName("org.hsqldb.jdbcDriver");
- ds.setUrl("jdbc:hsqldb:file:" + subsonicHome.getPath() + "/db/subsonic");
+ ds.setUrl("jdbc:hsqldb:file:" + libresonicHome.getPath() + "/db/libresonic");
ds.setUsername("sa");
ds.setPassword("");
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/InternetRadioDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/InternetRadioDao.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/InternetRadioDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/InternetRadioDao.java
index c3c20a74..293dbfb7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/InternetRadioDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/InternetRadioDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -24,8 +24,8 @@ import java.util.List;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.InternetRadio;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.InternetRadio;
/**
* Provides database services for internet radio.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/MediaFileDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/MediaFileDao.java
similarity index 98%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/MediaFileDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/MediaFileDao.java
index 989defd3..fe4ff74e 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/MediaFileDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/MediaFileDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -31,12 +31,12 @@ import org.apache.commons.lang.StringUtils;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.domain.Genre;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
+import org.libresonic.player.domain.Genre;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
-import static net.sourceforge.subsonic.domain.MediaFile.MediaType;
-import static net.sourceforge.subsonic.domain.MediaFile.MediaType.*;
+import static org.libresonic.player.domain.MediaFile.MediaType;
+import static org.libresonic.player.domain.MediaFile.MediaType.*;
/**
* Provides database services for media files.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/MusicFolderDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/MusicFolderDao.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/MusicFolderDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/MusicFolderDao.java
index 4deca18e..1d3a0005 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/MusicFolderDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/MusicFolderDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.io.File;
import java.sql.ResultSet;
@@ -25,8 +25,8 @@ import java.util.List;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MusicFolder;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MusicFolder;
/**
* Provides database services for music folders.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PlayQueueDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/PlayQueueDao.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PlayQueueDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/PlayQueueDao.java
index 78abcb09..f56bd232 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PlayQueueDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/PlayQueueDao.java
@@ -1,22 +1,22 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -25,7 +25,7 @@ import java.util.List;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.domain.SavedPlayQueue;
+import org.libresonic.player.domain.SavedPlayQueue;
/**
* Provides database services for play queues
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PlayerDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/PlayerDao.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PlayerDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/PlayerDao.java
index 04b1d9a3..495800b7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PlayerDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/PlayerDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -28,12 +28,12 @@ import java.util.Map;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.CoverArtScheme;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.PlayerTechnology;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.TranscodeScheme;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.CoverArtScheme;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.PlayerTechnology;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.TranscodeScheme;
/**
* Provides player-related database services.
@@ -64,7 +64,7 @@ public class PlayerDao extends AbstractDao {
*
* @param username The name of the user.
* @param clientId The third-party client ID (used if this player is managed over the
- * Subsonic REST API). May be null.
+ * Libresonic REST API). May be null.
* @return All relevant players.
*/
public List getPlayersForUserAndClientId(String username, String clientId) {
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PlaylistDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/PlaylistDao.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PlaylistDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/PlaylistDao.java
index b26f986f..02e386ad 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PlaylistDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/PlaylistDao.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.Playlist;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.Playlist;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PodcastDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/PodcastDao.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PodcastDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/PodcastDao.java
index 2765920b..c6f014c8 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/PodcastDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/PodcastDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -25,9 +25,9 @@ import java.util.List;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.domain.PodcastChannel;
-import net.sourceforge.subsonic.domain.PodcastEpisode;
-import net.sourceforge.subsonic.domain.PodcastStatus;
+import org.libresonic.player.domain.PodcastChannel;
+import org.libresonic.player.domain.PodcastEpisode;
+import org.libresonic.player.domain.PodcastStatus;
/**
* Provides database services for Podcast channels and episodes.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/RatingDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/RatingDao.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/RatingDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/RatingDao.java
index fed91575..fe8ed9a6 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/RatingDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/RatingDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.util.ArrayList;
import java.util.Collections;
@@ -26,10 +26,10 @@ import java.util.Map;
import org.springframework.dao.EmptyResultDataAccessException;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
-import static net.sourceforge.subsonic.domain.MediaFile.MediaType.ALBUM;
+import static org.libresonic.player.domain.MediaFile.MediaType.ALBUM;
/**
* Provides database services for ratings.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/ShareDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/ShareDao.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/ShareDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/ShareDao.java
index a1e8cae3..cfbbc0e9 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/ShareDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/ShareDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -27,8 +27,8 @@ import java.util.Map;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.Share;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.Share;
/**
* Provides database services for shared media.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/TranscodingDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/TranscodingDao.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/TranscodingDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/TranscodingDao.java
index 22b8ae20..760f35ba 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/TranscodingDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/TranscodingDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -24,8 +24,8 @@ import java.util.List;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.Transcoding;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.Transcoding;
/**
* Provides database services for transcoding configurations.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/UserDao.java b/libresonic-main/src/main/java/org/libresonic/player/dao/UserDao.java
similarity index 96%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/UserDao.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/UserDao.java
index cf281d03..15dd06b4 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/UserDao.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/UserDao.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao;
+package org.libresonic.player.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
@@ -24,13 +24,13 @@ import java.util.List;
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.AlbumListType;
-import net.sourceforge.subsonic.domain.AvatarScheme;
-import net.sourceforge.subsonic.domain.TranscodeScheme;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.AlbumListType;
+import org.libresonic.player.domain.AvatarScheme;
+import org.libresonic.player.domain.TranscodeScheme;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.util.StringUtil;
/**
* Provides user-related database services.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/Schema.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/Schema.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/Schema.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/Schema.java
index 20c3d9eb..2861fcb8 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/Schema.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/Schema.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema;
+package org.libresonic.player.dao.schema;
import org.springframework.jdbc.core.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema25.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema25.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema25.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema25.java
index 55fbb895..d5fa4e05 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema25.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema25.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
import org.springframework.jdbc.core.JdbcTemplate;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 2.5.
+ * This class implementes the database schema for Libresonic version 2.5.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema26.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema26.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema26.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema26.java
index c375e576..1d99fe7c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema26.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema26.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.*;
-import net.sourceforge.subsonic.dao.schema.Schema;
-import net.sourceforge.subsonic.util.Util;
+import org.libresonic.player.*;
+import org.libresonic.player.dao.schema.Schema;
+import org.libresonic.player.util.Util;
import org.springframework.jdbc.core.*;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 2.6.
+ * This class implementes the database schema for Libresonic version 2.6.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema27.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema27.java
similarity index 82%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema27.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema27.java
index 55050143..0c8da3ef 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema27.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema27.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.*;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.*;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.*;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 2.7.
+ * This class implementes the database schema for Libresonic version 2.7.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema28.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema28.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema28.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema28.java
index 0f7b9143..6166dee3 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema28.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema28.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.*;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.*;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.*;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 2.8.
+ * This class implementes the database schema for Libresonic version 2.8.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema29.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema29.java
similarity index 81%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema29.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema29.java
index 9d9631ce..dace378e 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema29.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema29.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.*;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.*;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.*;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 2.9.
+ * This class implementes the database schema for Libresonic version 2.9.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema30.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema30.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema30.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema30.java
index ec7d85a8..033c3fed 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema30.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema30.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.*;
-import net.sourceforge.subsonic.dao.schema.Schema;
-import net.sourceforge.subsonic.domain.TranscodeScheme;
+import org.libresonic.player.*;
+import org.libresonic.player.dao.schema.Schema;
+import org.libresonic.player.domain.TranscodeScheme;
import org.springframework.jdbc.core.*;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 3.0.
+ * This class implementes the database schema for Libresonic version 3.0.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema31.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema31.java
similarity index 79%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema31.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema31.java
index 25b6724c..3f55ea50 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema31.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema31.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 3.1.
+ * This class implementes the database schema for Libresonic version 3.1.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema32.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema32.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema32.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema32.java
index 683d4a29..426a62aa 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema32.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema32.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 3.2.
+ * This class implementes the database schema for Libresonic version 3.2.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema33.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema33.java
similarity index 75%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema33.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema33.java
index bbeb7000..460f842f 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema33.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema33.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 3.3.
+ * This class implementes the database schema for Libresonic version 3.3.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema34.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema34.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema34.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema34.java
index a00c38cb..c35afb99 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema34.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema34.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 3.4.
+ * This class implementes the database schema for Libresonic version 3.4.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema35.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema35.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema35.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema35.java
index 09faf644..841342ae 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema35.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema35.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.apache.commons.io.IOUtils;
import org.springframework.jdbc.core.JdbcTemplate;
@@ -30,7 +30,7 @@ import java.util.Date;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 3.5.
+ * This class implementes the database schema for Libresonic version 3.5.
*
* @author Sindre Mehus
*/
@@ -138,7 +138,7 @@ public class Schema35 extends Schema {
InputStream in = null;
try {
- in = getClass().getResourceAsStream("/net/sourceforge/subsonic/dao/schema/" + avatar + ".png");
+ in = getClass().getResourceAsStream("/org.libresonic.player/dao/schema/" + avatar + ".png");
byte[] imageData = IOUtils.toByteArray(in);
template.update("insert into system_avatar values (null, ?, ?, ?, ?, ?, ?)",
new Object[]{avatar, new Date(), "image/png", 48, 48, imageData});
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema36.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema36.java
similarity index 75%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema36.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema36.java
index 1ddd1fd7..c7c4ea64 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema36.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema36.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Used for creating and evolving the database schema.
- * This class implementes the database schema for Subsonic version 3.6.
+ * This class implementes the database schema for Libresonic version 3.6.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema37.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema37.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema37.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema37.java
index ffb342cc..7429f5f2 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema37.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema37.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 3.7.
+ * This class implements the database schema for Libresonic version 3.7.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema38.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema38.java
similarity index 79%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema38.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema38.java
index bddeaee4..9769ad2c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema38.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema38.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 3.8.
+ * This class implements the database schema for Libresonic version 3.8.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema40.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema40.java
similarity index 73%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema40.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema40.java
index 758daddb..8bc98590 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema40.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema40.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 4.0.
+ * This class implements the database schema for Libresonic version 4.0.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema43.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema43.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema43.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema43.java
index f66382f0..b17fd95b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema43.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema43.java
@@ -1,33 +1,33 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
import org.springframework.jdbc.core.JdbcTemplate;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import java.util.Arrays;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 4.3.
+ * This class implements the database schema for Libresonic version 4.3.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema45.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema45.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema45.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema45.java
index a012cb11..3fe3957a 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema45.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema45.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 4.5.
+ * This class implements the database schema for Libresonic version 4.5.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema46.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema46.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema46.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema46.java
index 9410e6fb..90c866a7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema46.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema46.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
import org.springframework.jdbc.core.JdbcTemplate;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 4.6.
+ * This class implements the database schema for Libresonic version 4.6.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema47.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema47.java
similarity index 96%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema47.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema47.java
index f2e7974e..b02eb365 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema47.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema47.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 4.7.
+ * This class implements the database schema for Libresonic version 4.7.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema49.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema49.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema49.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema49.java
index a9cfe5b1..432d5056 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema49.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema49.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
import org.springframework.jdbc.core.JdbcTemplate;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 4.9.
+ * This class implements the database schema for Libresonic version 4.9.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema50.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema50.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema50.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema50.java
index 917bf6e0..64efd54c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema50.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema50.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
import org.springframework.jdbc.core.JdbcTemplate;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 5.0.
+ * This class implements the database schema for Libresonic version 5.0.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema51.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema51.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema51.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema51.java
index 87295d6d..cccd762d 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema51.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema51.java
@@ -1,31 +1,31 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2014 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
import org.springframework.jdbc.core.JdbcTemplate;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 5.1.
+ * This class implements the database schema for Libresonic version 5.1.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema52.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema52.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema52.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema52.java
index 36e40c0f..2853c256 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema52.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema52.java
@@ -1,31 +1,31 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
import org.springframework.jdbc.core.JdbcTemplate;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 5.2.
+ * This class implements the database schema for Libresonic version 5.2.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema53.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema53.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema53.java
rename to libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema53.java
index 8578a6c1..9ebead30 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/dao/schema/hsql/Schema53.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema53.java
@@ -1,33 +1,33 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.dao.schema.hsql;
+package org.libresonic.player.dao.schema.hsql;
import org.springframework.jdbc.core.JdbcTemplate;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.schema.Schema;
-import net.sourceforge.subsonic.domain.AlbumListType;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.schema.Schema;
+import org.libresonic.player.domain.AlbumListType;
/**
* Used for creating and evolving the database schema.
- * This class implements the database schema for Subsonic version 5.3.
+ * This class implements the database schema for Libresonic version 5.3.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Album.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Album.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Album.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Album.java
index 93bea91c..0f99aae8 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Album.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Album.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/AlbumListType.java b/libresonic-main/src/main/java/org/libresonic/player/domain/AlbumListType.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/AlbumListType.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/AlbumListType.java
index 7508588e..5356da01 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/AlbumListType.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/AlbumListType.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Artist.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Artist.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Artist.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Artist.java
index ef50da28..6cf77d52 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Artist.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Artist.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/ArtistBio.java b/libresonic-main/src/main/java/org/libresonic/player/domain/ArtistBio.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/ArtistBio.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/ArtistBio.java
index 02f8f40a..f12af5cf 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/ArtistBio.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/ArtistBio.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2014 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Avatar.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Avatar.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Avatar.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Avatar.java
index 0089a8a3..d1adafb7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Avatar.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Avatar.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/AvatarScheme.java b/libresonic-main/src/main/java/org/libresonic/player/domain/AvatarScheme.java
similarity index 77%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/AvatarScheme.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/AvatarScheme.java
index 024dcb24..12049075 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/AvatarScheme.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/AvatarScheme.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* Enumeration of avatar schemes.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Bookmark.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Bookmark.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Bookmark.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Bookmark.java
index 9daf6df1..a77e0b0e 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Bookmark.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Bookmark.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/CacheElement.java b/libresonic-main/src/main/java/org/libresonic/player/domain/CacheElement.java
similarity index 82%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/CacheElement.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/CacheElement.java
index bb52eff7..ab17a9e3 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/CacheElement.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/CacheElement.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/CoverArtScheme.java b/libresonic-main/src/main/java/org/libresonic/player/domain/CoverArtScheme.java
similarity index 79%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/CoverArtScheme.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/CoverArtScheme.java
index 8e43f875..8fcdf2cf 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/CoverArtScheme.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/CoverArtScheme.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* Enumeration of cover art schemes. Each value contains a size, which indicates how big the
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Genre.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Genre.java
similarity index 82%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Genre.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Genre.java
index f6dcce1c..4dce8f17 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Genre.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Genre.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* Represents a musical genre.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Genres.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Genres.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Genres.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Genres.java
index 3f249a43..7029ae5c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Genres.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Genres.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.ArrayList;
import java.util.HashMap;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/InternetRadio.java b/libresonic-main/src/main/java/org/libresonic/player/domain/InternetRadio.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/InternetRadio.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/InternetRadio.java
index ae0c1f67..96082c2f 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/InternetRadio.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/InternetRadio.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/LicenseInfo.java b/libresonic-main/src/main/java/org/libresonic/player/domain/LicenseInfo.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/LicenseInfo.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/LicenseInfo.java
index 4e61ce79..bed8652d 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/LicenseInfo.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/LicenseInfo.java
@@ -1,28 +1,28 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.service.SettingsService;
/**
* Controller for the "Podcast receiver" page.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MediaFile.java b/libresonic-main/src/main/java/org/libresonic/player/domain/MediaFile.java
similarity index 97%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MediaFile.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/MediaFile.java
index 2ac11eed..0d7879e8 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MediaFile.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/MediaFile.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.io.File;
import java.util.Date;
@@ -27,7 +27,7 @@ import org.apache.commons.io.FilenameUtils;
import com.google.common.base.Function;
import com.google.common.collect.Lists;
-import net.sourceforge.subsonic.util.FileUtil;
+import org.libresonic.player.util.FileUtil;
/**
* A media file (audio, video or directory) with an assortment of its meta data.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MediaFileComparator.java b/libresonic-main/src/main/java/org/libresonic/player/domain/MediaFileComparator.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MediaFileComparator.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/MediaFileComparator.java
index 70caf0fe..839aedb1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MediaFileComparator.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/MediaFileComparator.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Comparator;
-import static net.sourceforge.subsonic.domain.MediaFile.MediaType.DIRECTORY;
+import static org.libresonic.player.domain.MediaFile.MediaType.DIRECTORY;
/**
* Comparator for sorting media files.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MediaLibraryStatistics.java b/libresonic-main/src/main/java/org/libresonic/player/domain/MediaLibraryStatistics.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MediaLibraryStatistics.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/MediaLibraryStatistics.java
index a01fd5e9..285acc24 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MediaLibraryStatistics.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/MediaLibraryStatistics.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.util.StringUtil;
/**
* Contains media libaray statistics, including the number of artists, albums and songs.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MusicFolder.java b/libresonic-main/src/main/java/org/libresonic/player/domain/MusicFolder.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MusicFolder.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/MusicFolder.java
index c539d21d..6c9bd177 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MusicFolder.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/MusicFolder.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.io.File;
import java.io.Serializable;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MusicFolderContent.java b/libresonic-main/src/main/java/org/libresonic/player/domain/MusicFolderContent.java
similarity index 81%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MusicFolderContent.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/MusicFolderContent.java
index 444e584e..a0d80cd1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MusicFolderContent.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/MusicFolderContent.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.List;
import java.util.SortedMap;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MusicIndex.java b/libresonic-main/src/main/java/org/libresonic/player/domain/MusicIndex.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MusicIndex.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/MusicIndex.java
index 33cf1fb3..1a8d9de4 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/MusicIndex.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/MusicIndex.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.io.Serializable;
import java.text.CollationKey;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PlayQueue.java b/libresonic-main/src/main/java/org/libresonic/player/domain/PlayQueue.java
similarity index 97%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PlayQueue.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/PlayQueue.java
index 8b52db81..ccaeb643 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PlayQueue.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/PlayQueue.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.io.IOException;
import java.util.ArrayList;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PlayStatus.java b/libresonic-main/src/main/java/org/libresonic/player/domain/PlayStatus.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PlayStatus.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/PlayStatus.java
index 32d58c15..28c5e54a 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PlayStatus.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/PlayStatus.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Player.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Player.java
similarity index 95%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Player.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Player.java
index 450293ee..c3079f46 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Player.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Player.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import org.apache.commons.lang.StringUtils;
@@ -90,7 +90,7 @@ public class Player {
/**
* Returns the third-party client ID (used if this player is managed over the
- * Subsonic REST API).
+ * Libresonic REST API).
*
* @return The client ID.
*/
@@ -100,7 +100,7 @@ public class Player {
/**
* Sets the third-party client ID (used if this player is managed over the
- * Subsonic REST API).
+ * Libresonic REST API).
*
* @param clientId The client ID.
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PlayerTechnology.java b/libresonic-main/src/main/java/org/libresonic/player/domain/PlayerTechnology.java
similarity index 71%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PlayerTechnology.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/PlayerTechnology.java
index 5ba3ff71..726d1a30 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PlayerTechnology.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/PlayerTechnology.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* Enumeration of player technologies.
@@ -36,13 +36,13 @@ public enum PlayerTechnology {
EXTERNAL,
/**
- * Same as above, but the playlist is managed by the player, rather than the Subsonic server.
+ * Same as above, but the playlist is managed by the player, rather than the Libresonic server.
* In this mode, skipping within songs is possible.
*/
EXTERNAL_WITH_PLAYLIST,
/**
- * Plays music directly on the audio device of the Subsonic server.
+ * Plays music directly on the audio device of the Libresonic server.
*/
JUKEBOX
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Playlist.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Playlist.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Playlist.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Playlist.java
index e43fb21c..6ca61ed2 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Playlist.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Playlist.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.util.StringUtil;
import java.util.Date;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PodcastChannel.java b/libresonic-main/src/main/java/org/libresonic/player/domain/PodcastChannel.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PodcastChannel.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/PodcastChannel.java
index 98db7a37..deaee64b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PodcastChannel.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/PodcastChannel.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* A Podcast channel. Each channel contain several episodes.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PodcastEpisode.java b/libresonic-main/src/main/java/org/libresonic/player/domain/PodcastEpisode.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PodcastEpisode.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/PodcastEpisode.java
index 3a9b6741..ff310034 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PodcastEpisode.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/PodcastEpisode.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.util.StringUtil;
/**
* A Podcast episode belonging to a channel.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PodcastStatus.java b/libresonic-main/src/main/java/org/libresonic/player/domain/PodcastStatus.java
similarity index 71%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PodcastStatus.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/PodcastStatus.java
index 57cad155..e34d3dbd 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/PodcastStatus.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/PodcastStatus.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* Enumeration of statuses for {@link PodcastChannel} and
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/RandomSearchCriteria.java b/libresonic-main/src/main/java/org/libresonic/player/domain/RandomSearchCriteria.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/RandomSearchCriteria.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/RandomSearchCriteria.java
index c57555bd..f4c0c3fd 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/RandomSearchCriteria.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/RandomSearchCriteria.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.List;
@@ -24,7 +24,7 @@ import java.util.List;
* Defines criteria used when generating random playlists.
*
* @author Sindre Mehus
- * @see net.sourceforge.subsonic.service.SearchService#getRandomSongs
+ * @see org.libresonic.player.service.SearchService#getRandomSongs
*/
public class RandomSearchCriteria {
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/SavedPlayQueue.java b/libresonic-main/src/main/java/org/libresonic/player/domain/SavedPlayQueue.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/SavedPlayQueue.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/SavedPlayQueue.java
index 5f8d1358..1e4a3ce1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/SavedPlayQueue.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/SavedPlayQueue.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
import java.util.List;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/SearchCriteria.java b/libresonic-main/src/main/java/org/libresonic/player/domain/SearchCriteria.java
similarity index 76%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/SearchCriteria.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/SearchCriteria.java
index 63596d1f..85a47572 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/SearchCriteria.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/SearchCriteria.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
-import net.sourceforge.subsonic.service.SearchService;
+import org.libresonic.player.service.SearchService;
/**
* Defines criteria used when searching.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/SearchResult.java b/libresonic-main/src/main/java/org/libresonic/player/domain/SearchResult.java
similarity index 78%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/SearchResult.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/SearchResult.java
index bf4b370a..a7bed0f3 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/SearchResult.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/SearchResult.java
@@ -1,28 +1,28 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.ArrayList;
import java.util.List;
-import net.sourceforge.subsonic.service.MediaScannerService;
-import net.sourceforge.subsonic.service.SearchService;
+import org.libresonic.player.service.MediaScannerService;
+import org.libresonic.player.service.SearchService;
/**
* The outcome of a search.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Share.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Share.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Share.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Share.java
index 6c75c5c1..69a8bc22 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Share.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Share.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Theme.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Theme.java
similarity index 79%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Theme.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Theme.java
index 37483520..3ee5c676 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Theme.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Theme.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* Contains the ID and name for a theme.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/TranscodeScheme.java b/libresonic-main/src/main/java/org/libresonic/player/domain/TranscodeScheme.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/TranscodeScheme.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/TranscodeScheme.java
index a43a8a16..b3f4f96e 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/TranscodeScheme.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/TranscodeScheme.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* Enumeration of transcoding schemes. Transcoding is the process of
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Transcoding.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Transcoding.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Transcoding.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Transcoding.java
index 57c8316f..e3f366b2 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Transcoding.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Transcoding.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.util.StringUtil;
/**
* Contains the configuration for a transcoding, i.e., a specification of how a given media format
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/TransferStatus.java b/libresonic-main/src/main/java/org/libresonic/player/domain/TransferStatus.java
similarity index 96%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/TransferStatus.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/TransferStatus.java
index 06930ae3..e139097c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/TransferStatus.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/TransferStatus.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.io.File;
-import net.sourceforge.subsonic.util.BoundedList;
+import org.libresonic.player.util.BoundedList;
/**
* Status for a single transfer (stream, download or upload).
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/UrlRedirectType.java b/libresonic-main/src/main/java/org/libresonic/player/domain/UrlRedirectType.java
similarity index 67%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/UrlRedirectType.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/UrlRedirectType.java
index 23c75815..83329570 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/UrlRedirectType.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/UrlRedirectType.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/User.java b/libresonic-main/src/main/java/org/libresonic/player/domain/User.java
similarity index 95%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/User.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/User.java
index fb7e1d7e..cfc4f2f7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/User.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/User.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* Represent a user.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/UserSettings.java b/libresonic-main/src/main/java/org/libresonic/player/domain/UserSettings.java
similarity index 97%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/UserSettings.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/UserSettings.java
index f0e0fcdd..841feff4 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/UserSettings.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/UserSettings.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
import java.util.Date;
import java.util.Locale;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Version.java b/libresonic-main/src/main/java/org/libresonic/player/domain/Version.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Version.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/Version.java
index fd329f8a..07b74ad0 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/Version.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/Version.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
- * Represents the version number of Subsonic.
+ * Represents the version number of Libresonic.
*
* @author Sindre Mehus
* @version $Revision: 1.3 $ $Date: 2006/01/20 21:25:16 $
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/VideoTranscodingSettings.java b/libresonic-main/src/main/java/org/libresonic/player/domain/VideoTranscodingSettings.java
similarity index 82%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/domain/VideoTranscodingSettings.java
rename to libresonic-main/src/main/java/org/libresonic/player/domain/VideoTranscodingSettings.java
index 06793a92..564ce03b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/domain/VideoTranscodingSettings.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/domain/VideoTranscodingSettings.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.domain;
+package org.libresonic.player.domain;
/**
* Parameters used when transcoding videos.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/filter/BootstrapVerificationFilter.java b/libresonic-main/src/main/java/org/libresonic/player/filter/BootstrapVerificationFilter.java
similarity index 78%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/filter/BootstrapVerificationFilter.java
rename to libresonic-main/src/main/java/org/libresonic/player/filter/BootstrapVerificationFilter.java
index 57e100ab..7df53352 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/filter/BootstrapVerificationFilter.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/filter/BootstrapVerificationFilter.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.filter;
+package org.libresonic.player.filter;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.service.SettingsService;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
@@ -36,10 +36,10 @@ import java.util.concurrent.atomic.AtomicBoolean;
/**
* This filter is executed very early in the filter chain. It verifies that
- * the Subsonic home directory (c:\subsonic or /var/subsonic) exists and
+ * the Libresonic home directory (c:\libresonic or /var/libresonic) exists and
* is writable. If not, a proper error message is given to the user.
*
- * (The Subsonic home directory is usually created automatically, but a common
+ * (The Libresonic home directory is usually created automatically, but a common
* problem on Linux is that the Tomcat user does not have the necessary
* privileges).
*
@@ -48,33 +48,33 @@ import java.util.concurrent.atomic.AtomicBoolean;
public class BootstrapVerificationFilter implements Filter {
private static final Logger LOG = Logger.getLogger(BootstrapVerificationFilter.class);
- private boolean subsonicHomeVerified = false;
+ private boolean libresonicHomeVerified = false;
private final AtomicBoolean serverInfoLogged = new AtomicBoolean();
public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
throws IOException, ServletException {
// Already verified?
- if (subsonicHomeVerified) {
+ if (libresonicHomeVerified) {
chain.doFilter(req, res);
return;
}
- File home = SettingsService.getSubsonicHome();
+ File home = SettingsService.getLibresonicHome();
if (!directoryExists(home)) {
error(res, "
The directory " + home + " does not exist. Please create it and make it writable, " +
"then restart the servlet container.
" +
- "
(You can override the directory location by specifying -Dsubsonic.home=... when " +
+ "
(You can override the directory location by specifying -Dlibresonic.home=... when " +
"starting the servlet container.)
");
} else if (!directoryWritable(home)) {
error(res, "
The directory " + home + " is not writable. Please change file permissions, " +
"then restart the servlet container.
" +
- "
(You can override the directory location by specifying -Dsubsonic.home=... when " +
+ "
(You can override the directory location by specifying -Dlibresonic.home=... when " +
"starting the servlet container.)
" +
error +
"" +
"");
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/filter/ParameterDecodingFilter.java b/libresonic-main/src/main/java/org/libresonic/player/filter/ParameterDecodingFilter.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/filter/ParameterDecodingFilter.java
rename to libresonic-main/src/main/java/org/libresonic/player/filter/ParameterDecodingFilter.java
index 52a98ad0..06688516 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/filter/ParameterDecodingFilter.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/filter/ParameterDecodingFilter.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.filter;
+package org.libresonic.player.filter;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.util.StringUtil;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/filter/RESTFilter.java b/libresonic-main/src/main/java/org/libresonic/player/filter/RESTFilter.java
similarity index 81%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/filter/RESTFilter.java
rename to libresonic-main/src/main/java/org/libresonic/player/filter/RESTFilter.java
index 07dca5f0..18637477 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/filter/RESTFilter.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/filter/RESTFilter.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.filter;
+package org.libresonic.player.filter;
import java.io.IOException;
@@ -32,12 +32,12 @@ import javax.servlet.http.HttpServletResponse;
import org.springframework.web.bind.ServletRequestBindingException;
import org.springframework.web.util.NestedServletException;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.controller.JAXBWriter;
-import net.sourceforge.subsonic.controller.RESTController;
+import org.libresonic.player.Logger;
+import org.libresonic.player.controller.JAXBWriter;
+import org.libresonic.player.controller.RESTController;
-import static net.sourceforge.subsonic.controller.RESTController.ErrorCode.GENERIC;
-import static net.sourceforge.subsonic.controller.RESTController.ErrorCode.MISSING_PARAMETER;
+import static org.libresonic.player.controller.RESTController.ErrorCode.GENERIC;
+import static org.libresonic.player.controller.RESTController.ErrorCode.MISSING_PARAMETER;
/**
* Intercepts exceptions thrown by RESTController.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/filter/RequestEncodingFilter.java b/libresonic-main/src/main/java/org/libresonic/player/filter/RequestEncodingFilter.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/filter/RequestEncodingFilter.java
rename to libresonic-main/src/main/java/org/libresonic/player/filter/RequestEncodingFilter.java
index 3b37e8d4..796db3ef 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/filter/RequestEncodingFilter.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/filter/RequestEncodingFilter.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.filter;
+package org.libresonic.player.filter;
import javax.servlet.*;
import javax.servlet.http.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/filter/ResponseHeaderFilter.java b/libresonic-main/src/main/java/org/libresonic/player/filter/ResponseHeaderFilter.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/filter/ResponseHeaderFilter.java
rename to libresonic-main/src/main/java/org/libresonic/player/filter/ResponseHeaderFilter.java
index 58f6e2d6..7a6e45a7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/filter/ResponseHeaderFilter.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/filter/ResponseHeaderFilter.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.filter;
+package org.libresonic.player.filter;
import javax.servlet.*;
import javax.servlet.http.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/i18n/SubsonicLocaleResolver.java b/libresonic-main/src/main/java/org/libresonic/player/i18n/LibresonicLocaleResolver.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/i18n/SubsonicLocaleResolver.java
rename to libresonic-main/src/main/java/org/libresonic/player/i18n/LibresonicLocaleResolver.java
index 231ad6e7..68a762e6 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/i18n/SubsonicLocaleResolver.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/i18n/LibresonicLocaleResolver.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.i18n;
+package org.libresonic.player.i18n;
-import net.sourceforge.subsonic.service.*;
-import net.sourceforge.subsonic.domain.*;
+import org.libresonic.player.service.*;
+import org.libresonic.player.domain.*;
import org.springframework.web.servlet.*;
import javax.servlet.http.*;
@@ -30,7 +30,7 @@ import java.util.*;
*
* @author Sindre Mehus
*/
-public class SubsonicLocaleResolver implements LocaleResolver {
+public class LibresonicLocaleResolver implements LocaleResolver {
private SecurityService securityService;
private SettingsService settingsService;
@@ -43,14 +43,14 @@ public class SubsonicLocaleResolver implements LocaleResolver {
* @return The current locale.
*/
public Locale resolveLocale(HttpServletRequest request) {
- Locale locale = (Locale) request.getAttribute("subsonic.locale");
+ Locale locale = (Locale) request.getAttribute("libresonic.locale");
if (locale != null) {
return locale;
}
// Optimization: Cache locale in the request.
locale = doResolveLocale(request);
- request.setAttribute("subsonic.locale", locale);
+ request.setAttribute("libresonic.locale", locale);
return locale;
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/io/InputStreamReaderThread.java b/libresonic-main/src/main/java/org/libresonic/player/io/InputStreamReaderThread.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/io/InputStreamReaderThread.java
rename to libresonic-main/src/main/java/org/libresonic/player/io/InputStreamReaderThread.java
index 44292043..9fad0ee7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/io/InputStreamReaderThread.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/io/InputStreamReaderThread.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.io;
+package org.libresonic.player.io;
-import net.sourceforge.subsonic.*;
+import org.libresonic.player.*;
import org.apache.commons.io.*;
import java.io.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/io/PlayQueueInputStream.java b/libresonic-main/src/main/java/org/libresonic/player/io/PlayQueueInputStream.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/io/PlayQueueInputStream.java
rename to libresonic-main/src/main/java/org/libresonic/player/io/PlayQueueInputStream.java
index 8aaf718c..38ec8528 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/io/PlayQueueInputStream.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/io/PlayQueueInputStream.java
@@ -1,42 +1,42 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.io;
+package org.libresonic.player.io;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.TransferStatus;
-import net.sourceforge.subsonic.domain.VideoTranscodingSettings;
-import net.sourceforge.subsonic.service.AudioScrobblerService;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.SearchService;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.service.sonos.SonosHelper;
-import net.sourceforge.subsonic.util.FileUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.TransferStatus;
+import org.libresonic.player.domain.VideoTranscodingSettings;
+import org.libresonic.player.service.AudioScrobblerService;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.SearchService;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.service.sonos.SonosHelper;
+import org.libresonic.player.util.FileUtil;
/**
- * Implementation of {@link InputStream} which reads from a {@link net.sourceforge.subsonic.domain.PlayQueue}.
+ * Implementation of {@link InputStream} which reads from a {@link org.libresonic.player.domain.PlayQueue}.
*
* @author Sindre Mehus
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/io/RangeOutputStream.java b/libresonic-main/src/main/java/org/libresonic/player/io/RangeOutputStream.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/io/RangeOutputStream.java
rename to libresonic-main/src/main/java/org/libresonic/player/io/RangeOutputStream.java
index 01931fa1..5efc6ed8 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/io/RangeOutputStream.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/io/RangeOutputStream.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.io;
+package org.libresonic.player.io;
-import net.sourceforge.subsonic.util.HttpRange;
+import org.libresonic.player.util.HttpRange;
import java.io.FilterOutputStream;
import java.io.IOException;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/io/ShoutCastOutputStream.java b/libresonic-main/src/main/java/org/libresonic/player/io/ShoutCastOutputStream.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/io/ShoutCastOutputStream.java
rename to libresonic-main/src/main/java/org/libresonic/player/io/ShoutCastOutputStream.java
index 9a8618c6..0e739003 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/io/ShoutCastOutputStream.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/io/ShoutCastOutputStream.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.io;
+package org.libresonic.player.io;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.service.SettingsService;
import org.apache.commons.lang.StringUtils;
import java.io.IOException;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/io/TranscodeInputStream.java b/libresonic-main/src/main/java/org/libresonic/player/io/TranscodeInputStream.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/io/TranscodeInputStream.java
rename to libresonic-main/src/main/java/org/libresonic/player/io/TranscodeInputStream.java
index b7ba4ce2..2181e414 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/io/TranscodeInputStream.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/io/TranscodeInputStream.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.io;
+package org.libresonic.player.io;
-import net.sourceforge.subsonic.*;
+import org.libresonic.player.*;
import org.apache.commons.io.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ldap/SubsonicLdapBindAuthenticator.java b/libresonic-main/src/main/java/org/libresonic/player/ldap/LibresonicLdapBindAuthenticator.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ldap/SubsonicLdapBindAuthenticator.java
rename to libresonic-main/src/main/java/org/libresonic/player/ldap/LibresonicLdapBindAuthenticator.java
index fee4ff2c..66604ae6 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ldap/SubsonicLdapBindAuthenticator.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ldap/LibresonicLdapBindAuthenticator.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ldap;
+package org.libresonic.player.ldap;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
import org.acegisecurity.BadCredentialsException;
import org.acegisecurity.ldap.DefaultInitialDirContextFactory;
import org.acegisecurity.ldap.search.FilterBasedLdapUserSearch;
@@ -39,9 +39,9 @@ import java.util.Map;
*
* @author Sindre Mehus
*/
-public class SubsonicLdapBindAuthenticator implements LdapAuthenticator {
+public class LibresonicLdapBindAuthenticator implements LdapAuthenticator {
- private static final Logger LOG = Logger.getLogger(SubsonicLdapBindAuthenticator.class);
+ private static final Logger LOG = Logger.getLogger(LibresonicLdapBindAuthenticator.class);
private SecurityService securityService;
private SettingsService settingsService;
@@ -56,7 +56,7 @@ public class SubsonicLdapBindAuthenticator implements LdapAuthenticator {
throw new BadCredentialsException("LDAP authentication disabled.");
}
- // User must be defined in Subsonic, unless auto-shadowing is enabled.
+ // User must be defined in Libresonic, unless auto-shadowing is enabled.
User user = securityService.getUserByName(username);
if (user == null && !settingsService.isLdapAutoShadowing()) {
throw new BadCredentialsException("User does not exist.");
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/ldap/UserDetailsServiceBasedAuthoritiesPopulator.java b/libresonic-main/src/main/java/org/libresonic/player/ldap/UserDetailsServiceBasedAuthoritiesPopulator.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/ldap/UserDetailsServiceBasedAuthoritiesPopulator.java
rename to libresonic-main/src/main/java/org/libresonic/player/ldap/UserDetailsServiceBasedAuthoritiesPopulator.java
index a3b9359e..92ae1cc4 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/ldap/UserDetailsServiceBasedAuthoritiesPopulator.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/ldap/UserDetailsServiceBasedAuthoritiesPopulator.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.ldap;
+package org.libresonic.player.ldap;
import org.acegisecurity.GrantedAuthority;
import org.acegisecurity.ldap.LdapDataAccessException;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/security/SubsonicApplicationEventListener.java b/libresonic-main/src/main/java/org/libresonic/player/security/LibresonicApplicationEventListener.java
similarity index 82%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/security/SubsonicApplicationEventListener.java
rename to libresonic-main/src/main/java/org/libresonic/player/security/LibresonicApplicationEventListener.java
index b4fe5ed6..48469d42 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/security/SubsonicApplicationEventListener.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/security/LibresonicApplicationEventListener.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.security;
+package org.libresonic.player.security;
import org.acegisecurity.event.authentication.AbstractAuthenticationFailureEvent;
import org.acegisecurity.providers.AbstractAuthenticationToken;
@@ -29,7 +29,7 @@ import org.springframework.context.ApplicationListener;
* @author Sindre Mehus
* @version $Id$
*/
-public class SubsonicApplicationEventListener implements ApplicationListener {
+public class LibresonicApplicationEventListener implements ApplicationListener {
private LoginFailureLogger loginFailureLogger;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/security/LoginFailureLogger.java b/libresonic-main/src/main/java/org/libresonic/player/security/LoginFailureLogger.java
similarity index 73%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/security/LoginFailureLogger.java
rename to libresonic-main/src/main/java/org/libresonic/player/security/LoginFailureLogger.java
index d52c3e35..0e7b056e 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/security/LoginFailureLogger.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/security/LoginFailureLogger.java
@@ -1,25 +1,25 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.security;
+package org.libresonic.player.security;
-import net.sourceforge.subsonic.Logger;
+import org.libresonic.player.Logger;
/**
* Logs login failures. Can be used by tools like fail2ban for blocking IP addresses.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/security/RESTRequestParameterProcessingFilter.java b/libresonic-main/src/main/java/org/libresonic/player/security/RESTRequestParameterProcessingFilter.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/security/RESTRequestParameterProcessingFilter.java
rename to libresonic-main/src/main/java/org/libresonic/player/security/RESTRequestParameterProcessingFilter.java
index 2f930bfe..e3fe9fef 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/security/RESTRequestParameterProcessingFilter.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/security/RESTRequestParameterProcessingFilter.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.security;
+package org.libresonic.player.security;
import java.io.IOException;
@@ -37,15 +37,15 @@ import org.acegisecurity.providers.UsernamePasswordAuthenticationToken;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang.StringUtils;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.controller.JAXBWriter;
-import net.sourceforge.subsonic.controller.RESTController;
-import net.sourceforge.subsonic.domain.LicenseInfo;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.Version;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.controller.JAXBWriter;
+import org.libresonic.player.controller.RESTController;
+import org.libresonic.player.domain.LicenseInfo;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.Version;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.util.StringUtil;
/**
* Performs authentication based on credentials being present in the HTTP request parameters. Also checks
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/AdService.java b/libresonic-main/src/main/java/org/libresonic/player/service/AdService.java
similarity index 76%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/AdService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/AdService.java
index b28d9d16..c8267962 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/AdService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/AdService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
/**
* Provides services for generating ads.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/AudioScrobblerService.java b/libresonic-main/src/main/java/org/libresonic/player/service/AudioScrobblerService.java
similarity index 96%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/AudioScrobblerService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/AudioScrobblerService.java
index eb1c99cf..b5b6d5df 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/AudioScrobblerService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/AudioScrobblerService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.IOException;
import java.util.ArrayList;
@@ -39,10 +39,10 @@ import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.params.HttpConnectionParams;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.util.StringUtil;
/**
* Provides services for "audioscrobbling", which is the process of
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/ITunesParser.java b/libresonic-main/src/main/java/org/libresonic/player/service/ITunesParser.java
similarity index 95%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/ITunesParser.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/ITunesParser.java
index 03482b27..1b661d62 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/ITunesParser.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/ITunesParser.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.io.FileInputStream;
@@ -41,7 +41,7 @@ import com.google.common.base.Predicate;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.util.StringUtil;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/JukeboxService.java b/libresonic-main/src/main/java/org/libresonic/player/service/JukeboxService.java
similarity index 88%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/JukeboxService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/JukeboxService.java
index 0ef74602..c7a73610 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/JukeboxService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/JukeboxService.java
@@ -1,39 +1,39 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.InputStream;
import org.apache.commons.io.IOUtils;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.PlayQueue;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.Transcoding;
-import net.sourceforge.subsonic.domain.TransferStatus;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.domain.VideoTranscodingSettings;
-import net.sourceforge.subsonic.service.jukebox.AudioPlayer;
-import net.sourceforge.subsonic.util.FileUtil;
-
-import static net.sourceforge.subsonic.service.jukebox.AudioPlayer.State.EOM;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.PlayQueue;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.Transcoding;
+import org.libresonic.player.domain.TransferStatus;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.domain.VideoTranscodingSettings;
+import org.libresonic.player.service.jukebox.AudioPlayer;
+import org.libresonic.player.util.FileUtil;
+
+import static org.libresonic.player.service.jukebox.AudioPlayer.State.EOM;
/**
* Plays music on the local audio device.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/LastFmCache.java b/libresonic-main/src/main/java/org/libresonic/player/service/LastFmCache.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/LastFmCache.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/LastFmCache.java
index ca9bbc7e..a7b01f91 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/LastFmCache.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/LastFmCache.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2014 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.ByteArrayInputStream;
import java.io.File;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/LastFmService.java b/libresonic-main/src/main/java/org/libresonic/player/service/LastFmService.java
similarity index 89%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/LastFmService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/LastFmService.java
index b3baa72c..fcb75ce6 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/LastFmService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/LastFmService.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2014 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.io.IOException;
@@ -34,12 +34,12 @@ import de.umass.lastfm.Artist;
import de.umass.lastfm.Caller;
import de.umass.lastfm.ImageSize;
import de.umass.lastfm.Track;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.ArtistDao;
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.domain.ArtistBio;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.ArtistDao;
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.domain.ArtistBio;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
/**
* Provides services from the Last.fm REST API.
@@ -59,9 +59,9 @@ public class LastFmService {
public void init() {
Caller caller = Caller.getInstance();
- caller.setUserAgent("Subsonic");
+ caller.setUserAgent("Libresonic");
- File cacheDir = new File(SettingsService.getSubsonicHome(), "lastfmcache");
+ File cacheDir = new File(SettingsService.getLibresonicHome(), "lastfmcache");
caller.setCache(new LastFmCache(cacheDir, CACHE_TIME_TO_LIVE_MILLIS));
}
@@ -126,16 +126,16 @@ public class LastFmService {
* @param musicFolders Only return songs from artists in these folders.
* @return Similar artists, ordered by presence then similarity.
*/
- public List getSimilarArtists(net.sourceforge.subsonic.domain.Artist artist,
+ public List getSimilarArtists(org.libresonic.player.domain.Artist artist,
int count, boolean includeNotPresent, List musicFolders) {
- List result = new ArrayList();
+ List result = new ArrayList();
try {
// First select artists that are present.
Collection similarArtists = Artist.getSimilar(getCanonicalArtistName(artist.getName()), LAST_FM_KEY);
for (Artist lastFmArtist : similarArtists) {
- net.sourceforge.subsonic.domain.Artist similarArtist = artistDao.getArtist(lastFmArtist.getName(), musicFolders);
+ org.libresonic.player.domain.Artist similarArtist = artistDao.getArtist(lastFmArtist.getName(), musicFolders);
if (similarArtist != null) {
result.add(similarArtist);
if (result.size() == count) {
@@ -147,9 +147,9 @@ public class LastFmService {
// Then fill up with non-present artists
if (includeNotPresent) {
for (Artist lastFmArtist : similarArtists) {
- net.sourceforge.subsonic.domain.Artist similarArtist = artistDao.getArtist(lastFmArtist.getName());
+ org.libresonic.player.domain.Artist similarArtist = artistDao.getArtist(lastFmArtist.getName());
if (similarArtist == null) {
- net.sourceforge.subsonic.domain.Artist notPresentArtist = new net.sourceforge.subsonic.domain.Artist();
+ org.libresonic.player.domain.Artist notPresentArtist = new org.libresonic.player.domain.Artist();
notPresentArtist.setId(-1);
notPresentArtist.setName(lastFmArtist.getName());
result.add(notPresentArtist);
@@ -174,12 +174,12 @@ public class LastFmService {
* @param musicFolders Only return songs from artists in these folders.
* @return Songs from similar artists;
*/
- public List getSimilarSongs(net.sourceforge.subsonic.domain.Artist artist, int count,
+ public List getSimilarSongs(org.libresonic.player.domain.Artist artist, int count,
List musicFolders) throws IOException {
List similarSongs = new ArrayList();
similarSongs.addAll(mediaFileDao.getSongsByArtist(artist.getName(), 0, 1000));
- for (net.sourceforge.subsonic.domain.Artist similarArtist : getSimilarArtists(artist, 100, false, musicFolders)) {
+ for (org.libresonic.player.domain.Artist similarArtist : getSimilarArtists(artist, 100, false, musicFolders)) {
similarSongs.addAll(mediaFileDao.getSongsByArtist(similarArtist.getName(), 0, 1000));
}
Collections.shuffle(similarSongs);
@@ -226,7 +226,7 @@ public class LastFmService {
* @param artist The artist.
* @return Artist bio.
*/
- public ArtistBio getArtistBio(net.sourceforge.subsonic.domain.Artist artist) {
+ public ArtistBio getArtistBio(org.libresonic.player.domain.Artist artist) {
return getArtistBio(getCanonicalArtistName(artist.getName()));
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/MediaFileService.java b/libresonic-main/src/main/java/org/libresonic/player/service/MediaFileService.java
similarity index 96%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/MediaFileService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/MediaFileService.java
index 690cc3fd..5d7f2687 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/MediaFileService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/MediaFileService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.io.IOException;
@@ -37,21 +37,21 @@ import org.apache.commons.lang.StringUtils;
import net.sf.ehcache.Ehcache;
import net.sf.ehcache.Element;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.AlbumDao;
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.domain.Album;
-import net.sourceforge.subsonic.domain.Genre;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MediaFileComparator;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.service.metadata.JaudiotaggerParser;
-import net.sourceforge.subsonic.service.metadata.MetaData;
-import net.sourceforge.subsonic.service.metadata.MetaDataParser;
-import net.sourceforge.subsonic.service.metadata.MetaDataParserFactory;
-import net.sourceforge.subsonic.util.FileUtil;
-
-import static net.sourceforge.subsonic.domain.MediaFile.MediaType.*;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.AlbumDao;
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.domain.Album;
+import org.libresonic.player.domain.Genre;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MediaFileComparator;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.service.metadata.JaudiotaggerParser;
+import org.libresonic.player.service.metadata.MetaData;
+import org.libresonic.player.service.metadata.MetaDataParser;
+import org.libresonic.player.service.metadata.MetaDataParserFactory;
+import org.libresonic.player.util.FileUtil;
+
+import static org.libresonic.player.domain.MediaFile.MediaType.*;
/**
* Provides services for instantiating and caching media files and cover art.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/MediaScannerService.java b/libresonic-main/src/main/java/org/libresonic/player/service/MediaScannerService.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/MediaScannerService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/MediaScannerService.java
index 7f6f4c0d..c9e0a4a7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/MediaScannerService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/MediaScannerService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.util.Calendar;
@@ -28,17 +28,17 @@ import java.util.TimerTask;
import org.apache.commons.lang.ObjectUtils;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.AlbumDao;
-import net.sourceforge.subsonic.dao.ArtistDao;
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.domain.Album;
-import net.sourceforge.subsonic.domain.Artist;
-import net.sourceforge.subsonic.domain.Genres;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MediaLibraryStatistics;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.util.FileUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.AlbumDao;
+import org.libresonic.player.dao.ArtistDao;
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.domain.Album;
+import org.libresonic.player.domain.Artist;
+import org.libresonic.player.domain.Genres;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MediaLibraryStatistics;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.util.FileUtil;
/**
* Provides services for scanning the music library.
@@ -391,8 +391,8 @@ public class MediaScannerService {
* @return The index file for the given index version.
*/
private File getIndexFile(int version) {
- File home = SettingsService.getSubsonicHome();
- return new File(home, "subsonic" + version + ".index");
+ File home = SettingsService.getLibresonicHome();
+ return new File(home, "libresonic" + version + ".index");
}
public void setSettingsService(SettingsService settingsService) {
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/MusicIndexService.java b/libresonic-main/src/main/java/org/libresonic/player/service/MusicIndexService.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/MusicIndexService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/MusicIndexService.java
index d8e4521b..2a6bdf2c 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/MusicIndexService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/MusicIndexService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.io.IOException;
@@ -33,13 +33,13 @@ import java.util.SortedMap;
import java.util.StringTokenizer;
import java.util.TreeMap;
-import net.sourceforge.subsonic.domain.Artist;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.MusicFolderContent;
-import net.sourceforge.subsonic.domain.MusicIndex;
-import net.sourceforge.subsonic.domain.MusicIndex.SortableArtist;
-import net.sourceforge.subsonic.util.FileUtil;
+import org.libresonic.player.domain.Artist;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.MusicFolderContent;
+import org.libresonic.player.domain.MusicIndex;
+import org.libresonic.player.domain.MusicIndex.SortableArtist;
+import org.libresonic.player.util.FileUtil;
/**
* Provides services for grouping artists by index.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/NetworkService.java b/libresonic-main/src/main/java/org/libresonic/player/service/NetworkService.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/NetworkService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/NetworkService.java
index 6a2ca100..02c1d5b3 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/NetworkService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/NetworkService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.IOException;
import java.util.ArrayList;
@@ -42,16 +42,16 @@ import org.apache.http.message.BasicNameValuePair;
import org.apache.http.params.HttpConnectionParams;
import org.apache.http.util.EntityUtils;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.UrlRedirectType;
-import net.sourceforge.subsonic.service.upnp.ClingRouter;
-import net.sourceforge.subsonic.service.upnp.NATPMPRouter;
-import net.sourceforge.subsonic.service.upnp.Router;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.UrlRedirectType;
+import org.libresonic.player.service.upnp.ClingRouter;
+import org.libresonic.player.service.upnp.NATPMPRouter;
+import org.libresonic.player.service.upnp.Router;
+import org.libresonic.player.util.StringUtil;
/**
* Provides network-related services, including port forwarding on UPnP routers and
- * URL redirection from http://xxxx.subsonic.org.
+ * URL redirection from http://xxxx.libresonic.org.
*
* @author Sindre Mehus
*/
@@ -116,7 +116,7 @@ public class NetworkService {
}
public static String getBackendUrl() {
- return "true".equals(System.getProperty("subsonic.test")) ? "http://localhost:8080" : "http://subsonic.org";
+ return "true".equals(System.getProperty("libresonic.test")) ? "http://localhost:8080" : "http://libresonic.org";
}
public void setSettingsService(SettingsService settingsService) {
@@ -286,7 +286,7 @@ public class NetworkService {
String url = URL_REDIRECTION_TEST_URL;
if (settingsService.getUrlRedirectType() == UrlRedirectType.NORMAL) {
url += "?redirectFrom=" + settingsService.getUrlRedirectFrom();
- urlToTest = settingsService.getUrlRedirectFrom() + ".subsonic.org";
+ urlToTest = settingsService.getUrlRedirectFrom() + ".libresonic.org";
} else {
url += "?customUrl=" + settingsService.getUrlRedirectCustomUrl();
urlToTest = settingsService.getUrlRedirectCustomUrl();
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/PlayerService.java b/libresonic-main/src/main/java/org/libresonic/player/service/PlayerService.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/PlayerService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/PlayerService.java
index 4e56a6b9..57be4a8f 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/PlayerService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/PlayerService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.util.ArrayList;
import java.util.Date;
@@ -29,12 +29,12 @@ import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.RandomStringUtils;
import org.apache.commons.lang.StringUtils;
-import net.sourceforge.subsonic.dao.PlayerDao;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.Transcoding;
-import net.sourceforge.subsonic.domain.TransferStatus;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.dao.PlayerDao;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.Transcoding;
+import org.libresonic.player.domain.TransferStatus;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.util.StringUtil;
/**
* Provides services for maintaining the set of players.
@@ -238,7 +238,7 @@ public class PlayerService {
*
* @param username The name of the user.
* @param clientId The third-party client ID (used if this player is managed over the
- * Subsonic REST API). May be null.
+ * Libresonic REST API). May be null.
* @return All relevant players.
*/
public List getPlayersForUserAndClientId(String username, String clientId) {
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/PlaylistService.java b/libresonic-main/src/main/java/org/libresonic/player/service/PlaylistService.java
similarity index 95%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/PlaylistService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/PlaylistService.java
index dbe33300..c39b3ba7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/PlaylistService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/PlaylistService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
@@ -46,22 +46,22 @@ import org.jdom.JDOMException;
import org.jdom.Namespace;
import org.jdom.input.SAXBuilder;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.dao.PlaylistDao;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.util.Pair;
-import net.sourceforge.subsonic.util.StringUtil;
-import net.sourceforge.subsonic.util.Util;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.dao.PlaylistDao;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.util.Pair;
+import org.libresonic.player.util.StringUtil;
+import org.libresonic.player.util.Util;
/**
* Provides services for loading and saving playlists to and from persistent storage.
*
* @author Sindre Mehus
- * @see net.sourceforge.subsonic.domain.PlayQueue
+ * @see org.libresonic.player.domain.PlayQueue
*/
public class PlaylistService {
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/PodcastService.java b/libresonic-main/src/main/java/org/libresonic/player/service/PodcastService.java
similarity index 97%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/PodcastService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/PodcastService.java
index a0c1c4d8..7284b155 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/PodcastService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/PodcastService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.io.FileOutputStream;
@@ -57,16 +57,16 @@ import com.google.common.base.Predicate;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.PodcastDao;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.PodcastChannel;
-import net.sourceforge.subsonic.domain.PodcastEpisode;
-import net.sourceforge.subsonic.domain.PodcastStatus;
-import net.sourceforge.subsonic.service.metadata.MetaData;
-import net.sourceforge.subsonic.service.metadata.MetaDataParser;
-import net.sourceforge.subsonic.service.metadata.MetaDataParserFactory;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.PodcastDao;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.PodcastChannel;
+import org.libresonic.player.domain.PodcastEpisode;
+import org.libresonic.player.domain.PodcastStatus;
+import org.libresonic.player.service.metadata.MetaData;
+import org.libresonic.player.service.metadata.MetaDataParser;
+import org.libresonic.player.service.metadata.MetaDataParserFactory;
+import org.libresonic.player.util.StringUtil;
/**
* Provides services for Podcast reception.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/RatingService.java b/libresonic-main/src/main/java/org/libresonic/player/service/RatingService.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/RatingService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/RatingService.java
index 8a56c491..4544b480 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/RatingService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/RatingService.java
@@ -1,31 +1,31 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
-import net.sourceforge.subsonic.dao.RatingDao;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.util.FileUtil;
+import org.libresonic.player.dao.RatingDao;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.util.FileUtil;
/**
* Provides services for user ratings.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SearchService.java b/libresonic-main/src/main/java/org/libresonic/player/service/SearchService.java
similarity index 95%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/SearchService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/SearchService.java
index 45807795..c7ea0bbd 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SearchService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/SearchService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.io.IOException;
@@ -63,19 +63,19 @@ import org.apache.lucene.util.Version;
import com.google.common.collect.Lists;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.AlbumDao;
-import net.sourceforge.subsonic.dao.ArtistDao;
-import net.sourceforge.subsonic.domain.Album;
-import net.sourceforge.subsonic.domain.Artist;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.RandomSearchCriteria;
-import net.sourceforge.subsonic.domain.SearchCriteria;
-import net.sourceforge.subsonic.domain.SearchResult;
-import net.sourceforge.subsonic.util.FileUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.AlbumDao;
+import org.libresonic.player.dao.ArtistDao;
+import org.libresonic.player.domain.Album;
+import org.libresonic.player.domain.Artist;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.RandomSearchCriteria;
+import org.libresonic.player.domain.SearchCriteria;
+import org.libresonic.player.domain.SearchResult;
+import org.libresonic.player.util.FileUtil;
-import static net.sourceforge.subsonic.service.SearchService.IndexType.*;
+import static org.libresonic.player.service.SearchService.IndexType.*;
/**
* Performs Lucene-based searching and indexing.
@@ -185,7 +185,7 @@ public class SearchService {
try {
reader = createIndexReader(indexType);
Searcher searcher = new IndexSearcher(reader);
- Analyzer analyzer = new SubsonicAnalyzer();
+ Analyzer analyzer = new LibresonicAnalyzer();
MultiFieldQueryParser queryParser = new MultiFieldQueryParser(LUCENE_VERSION, indexType.getFields(), analyzer, indexType.getBoosts());
@@ -400,7 +400,7 @@ public class SearchService {
private IndexWriter createIndexWriter(IndexType indexType) throws IOException {
File dir = getIndexDirectory(indexType);
- return new IndexWriter(FSDirectory.open(dir), new SubsonicAnalyzer(), true, new IndexWriter.MaxFieldLength(10));
+ return new IndexWriter(FSDirectory.open(dir), new LibresonicAnalyzer(), true, new IndexWriter.MaxFieldLength(10));
}
private IndexReader createIndexReader(IndexType indexType) throws IOException {
@@ -409,7 +409,7 @@ public class SearchService {
}
private File getIndexRootDirectory() {
- return new File(SettingsService.getSubsonicHome(), LUCENE_DIR);
+ return new File(SettingsService.getLibresonicHome(), LUCENE_DIR);
}
private File getIndexDirectory(IndexType indexType) {
@@ -575,8 +575,8 @@ public class SearchService {
}
}
- private class SubsonicAnalyzer extends StandardAnalyzer {
- private SubsonicAnalyzer() {
+ private class LibresonicAnalyzer extends StandardAnalyzer {
+ private LibresonicAnalyzer() {
super(LUCENE_VERSION);
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SecurityService.java b/libresonic-main/src/main/java/org/libresonic/player/service/SecurityService.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/SecurityService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/SecurityService.java
index 2a2853b6..b5a9a4a2 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SecurityService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/SecurityService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.util.List;
@@ -33,12 +33,12 @@ import org.acegisecurity.wrapper.SecurityContextHolderAwareRequestWrapper;
import org.springframework.dao.DataAccessException;
import net.sf.ehcache.Ehcache;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.UserDao;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.util.FileUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.UserDao;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.util.FileUtil;
/**
* Provides security-related services for authentication and authorization.
@@ -74,7 +74,7 @@ public class SecurityService implements UserDetailsService {
}
// If user is LDAP authenticated, disable user. The proper authentication should in that case
- // be done by SubsonicLdapBindAuthenticator.
+ // be done by LibresonicLdapBindAuthenticator.
boolean enabled = !user.isLdapAuthenticated();
return new org.acegisecurity.userdetails.User(username, user.getPassword(), enabled, true, true, true, authorities);
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/ServiceLocator.java b/libresonic-main/src/main/java/org/libresonic/player/service/ServiceLocator.java
similarity index 81%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/ServiceLocator.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/ServiceLocator.java
index 22abe17d..64f7f247 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/ServiceLocator.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/ServiceLocator.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
/**
* Locates services for objects that are not part of the Spring context.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SettingsService.java b/libresonic-main/src/main/java/org/libresonic/player/service/SettingsService.java
similarity index 96%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/SettingsService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/SettingsService.java
index d2fe3092..76562a90 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SettingsService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/SettingsService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.io.FileInputStream;
@@ -49,23 +49,23 @@ import org.apache.http.impl.client.BasicResponseHandler;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.params.HttpConnectionParams;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.AvatarDao;
-import net.sourceforge.subsonic.dao.InternetRadioDao;
-import net.sourceforge.subsonic.dao.MusicFolderDao;
-import net.sourceforge.subsonic.dao.UserDao;
-import net.sourceforge.subsonic.domain.AlbumListType;
-import net.sourceforge.subsonic.domain.Avatar;
-import net.sourceforge.subsonic.domain.InternetRadio;
-import net.sourceforge.subsonic.domain.LicenseInfo;
-import net.sourceforge.subsonic.domain.MediaLibraryStatistics;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.Theme;
-import net.sourceforge.subsonic.domain.UrlRedirectType;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.util.FileUtil;
-import net.sourceforge.subsonic.util.StringUtil;
-import net.sourceforge.subsonic.util.Util;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.AvatarDao;
+import org.libresonic.player.dao.InternetRadioDao;
+import org.libresonic.player.dao.MusicFolderDao;
+import org.libresonic.player.dao.UserDao;
+import org.libresonic.player.domain.AlbumListType;
+import org.libresonic.player.domain.Avatar;
+import org.libresonic.player.domain.InternetRadio;
+import org.libresonic.player.domain.LicenseInfo;
+import org.libresonic.player.domain.MediaLibraryStatistics;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.Theme;
+import org.libresonic.player.domain.UrlRedirectType;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.util.FileUtil;
+import org.libresonic.player.util.StringUtil;
+import org.libresonic.player.util.Util;
/**
* Provides persistent storage of application settings and preferences.
@@ -74,9 +74,9 @@ import net.sourceforge.subsonic.util.Util;
*/
public class SettingsService {
- // Subsonic home directory.
- private static final File SUBSONIC_HOME_WINDOWS = new File("c:/subsonic");
- private static final File SUBSONIC_HOME_OTHER = new File("/var/subsonic");
+ // Libresonic home directory.
+ private static final File SUBSONIC_HOME_WINDOWS = new File("c:/libresonic");
+ private static final File SUBSONIC_HOME_OTHER = new File("/var/libresonic");
// Number of free trial days.
public static final long TRIAL_DAYS = 30L;
@@ -197,7 +197,7 @@ public class SettingsService {
private static final boolean DEFAULT_URL_REDIRECTION_ENABLED = false;
private static final UrlRedirectType DEFAULT_URL_REDIRECT_TYPE = UrlRedirectType.NORMAL;
private static final String DEFAULT_URL_REDIRECT_FROM = "yourname";
- private static final String DEFAULT_URL_REDIRECT_CONTEXT_PATH = System.getProperty("subsonic.contextPath", "").replaceAll("/", "");
+ private static final String DEFAULT_URL_REDIRECT_CONTEXT_PATH = System.getProperty("libresonic.contextPath", "").replaceAll("/", "");
private static final String DEFAULT_URL_REDIRECT_CUSTOM_URL = "http://";
private static final String DEFAULT_SERVER_ID = null;
private static final long DEFAULT_SETTINGS_CHANGED = 0L;
@@ -217,8 +217,8 @@ public class SettingsService {
"VideoMask", "CoverArtMask, HlsCommand", "HlsCommand2", "JukeboxCommand", "UrlRedirectTrialExpires", "VideoTrialExpires",
"CoverArtFileTypes", "UrlRedirectCustomHost", "CoverArtLimit", "StreamPort");
- private static final String LOCALES_FILE = "/net/sourceforge/subsonic/i18n/locales.txt";
- private static final String THEMES_FILE = "/net/sourceforge/subsonic/theme/themes.txt";
+ private static final String LOCALES_FILE = "/org.libresonic.player/i18n/locales.txt";
+ private static final String THEMES_FILE = "/org.libresonic.player/theme/themes.txt";
private static final Logger LOG = Logger.getLogger(SettingsService.class);
@@ -237,7 +237,7 @@ public class SettingsService {
private List cachedMusicFolders;
private final ConcurrentMap> cachedMusicFoldersPerUser = new ConcurrentHashMap>();
- private static File subsonicHome;
+ private static File libresonicHome;
private boolean licenseValidated = true;
private Date licenseExpires;
@@ -318,24 +318,24 @@ public class SettingsService {
}
private File getPropertyFile() {
- return new File(getSubsonicHome(), "subsonic.properties");
+ return new File(getLibresonicHome(), "libresonic.properties");
}
/**
- * Returns the Subsonic home directory.
+ * Returns the Libresonic home directory.
*
- * @return The Subsonic home directory, if it exists.
+ * @return The Libresonic home directory, if it exists.
* @throws RuntimeException If directory doesn't exist.
*/
- public static synchronized File getSubsonicHome() {
+ public static synchronized File getLibresonicHome() {
- if (subsonicHome != null) {
- return subsonicHome;
+ if (libresonicHome != null) {
+ return libresonicHome;
}
File home;
- String overrideHome = System.getProperty("subsonic.home");
+ String overrideHome = System.getProperty("libresonic.home");
if (overrideHome != null) {
home = new File(overrideHome);
} else {
@@ -347,15 +347,15 @@ public class SettingsService {
if (!home.exists() || !home.isDirectory()) {
boolean success = home.mkdirs();
if (success) {
- subsonicHome = home;
+ libresonicHome = home;
} else {
String message = "The directory " + home + " does not exist. Please create it and make it writable. " +
- "(You can override the directory location by specifying -Dsubsonic.home=... when " +
+ "(You can override the directory location by specifying -Dlibresonic.home=... when " +
"starting the servlet container.)";
System.err.println("ERROR: " + message);
}
} else {
- subsonicHome = home;
+ libresonicHome = home;
}
return home;
@@ -816,7 +816,7 @@ public class SettingsService {
public String getUrlRedirectUrl() {
if (getUrlRedirectType() == UrlRedirectType.NORMAL) {
- return "http://" + getUrlRedirectFrom() + ".subsonic.org";
+ return "http://" + getUrlRedirectFrom() + ".libresonic.org";
}
return StringUtils.removeEnd(getUrlRedirectCustomUrl(), "/");
}
@@ -1023,7 +1023,7 @@ public class SettingsService {
}
/**
- * Returns the "brand" name. Normally, this is just "Subsonic".
+ * Returns the "brand" name. Normally, this is just "Libresonic".
*
* @return The brand name.
*/
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/ShareService.java b/libresonic-main/src/main/java/org/libresonic/player/service/ShareService.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/ShareService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/ShareService.java
index f35b03d2..d839f7c6 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/ShareService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/ShareService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.util.ArrayList;
import java.util.Calendar;
@@ -28,12 +28,12 @@ import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang.ObjectUtils;
import org.apache.commons.lang.RandomStringUtils;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.dao.ShareDao;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.Share;
-import net.sourceforge.subsonic.domain.User;
+import org.libresonic.player.Logger;
+import org.libresonic.player.dao.ShareDao;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.Share;
+import org.libresonic.player.domain.User;
/**
* Provides services for sharing media.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SonosService.java b/libresonic-main/src/main/java/org/libresonic/player/service/SonosService.java
similarity index 96%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/SonosService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/SonosService.java
index d82c8eea..86c0815d 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/SonosService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/SonosService.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.IOException;
import java.util.ArrayList;
@@ -87,14 +87,14 @@ import com.sonos.services._1.SearchResponse;
import com.sonos.services._1.SegmentMetadataList;
import com.sonos.services._1_1.SonosSoap;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.AlbumListType;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.domain.User;
-import net.sourceforge.subsonic.service.sonos.SonosHelper;
-import net.sourceforge.subsonic.service.sonos.SonosServiceRegistration;
-import net.sourceforge.subsonic.service.sonos.SonosSoapFault;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.AlbumListType;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.domain.User;
+import org.libresonic.player.service.sonos.SonosHelper;
+import org.libresonic.player.service.sonos.SonosServiceRegistration;
+import org.libresonic.player.service.sonos.SonosSoapFault;
/**
* For manual testing of this service:
@@ -182,11 +182,11 @@ public class SonosService implements SonosSoap {
String sonosServiceName = settingsService.getSonosServiceName();
int sonosServiceId = settingsService.getSonosServiceId();
- String subsonicBaseUrl = sonosHelper.getBaseUrl(getRequest());
+ String libresonicBaseUrl = sonosHelper.getBaseUrl(getRequest());
for (String sonosController : sonosControllers) {
try {
- new SonosServiceRegistration().setEnabled(subsonicBaseUrl, sonosController, enabled,
+ new SonosServiceRegistration().setEnabled(libresonicBaseUrl, sonosController, enabled,
sonosServiceName, sonosServiceId);
break;
} catch (IOException x) {
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/StatusService.java b/libresonic-main/src/main/java/org/libresonic/player/service/StatusService.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/StatusService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/StatusService.java
index 3d5e7544..a9a5dbee 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/StatusService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/StatusService.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.PlayStatus;
-import net.sourceforge.subsonic.domain.TransferStatus;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.PlayStatus;
+import org.libresonic.player.domain.TransferStatus;
import java.io.File;
import java.util.ArrayList;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/TranscodingService.java b/libresonic-main/src/main/java/org/libresonic/player/service/TranscodingService.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/TranscodingService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/TranscodingService.java
index f9e08b3b..7d9cc474 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/TranscodingService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/TranscodingService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.io.File;
import java.io.FileInputStream;
@@ -31,18 +31,18 @@ import org.apache.commons.io.FilenameUtils;
import org.apache.commons.io.filefilter.PrefixFileFilter;
import org.apache.commons.lang.StringUtils;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.controller.VideoPlayerController;
-import net.sourceforge.subsonic.dao.TranscodingDao;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.TranscodeScheme;
-import net.sourceforge.subsonic.domain.Transcoding;
-import net.sourceforge.subsonic.domain.UserSettings;
-import net.sourceforge.subsonic.domain.VideoTranscodingSettings;
-import net.sourceforge.subsonic.io.TranscodeInputStream;
-import net.sourceforge.subsonic.util.StringUtil;
-import net.sourceforge.subsonic.util.Util;
+import org.libresonic.player.Logger;
+import org.libresonic.player.controller.VideoPlayerController;
+import org.libresonic.player.dao.TranscodingDao;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.TranscodeScheme;
+import org.libresonic.player.domain.Transcoding;
+import org.libresonic.player.domain.UserSettings;
+import org.libresonic.player.domain.VideoTranscodingSettings;
+import org.libresonic.player.io.TranscodeInputStream;
+import org.libresonic.player.util.StringUtil;
+import org.libresonic.player.util.Util;
/**
* Provides services for transcoding media. Transcoding is the process of
@@ -365,7 +365,7 @@ public class TranscodingService {
// Create temporary file, and feed this to the transcoder.
String path = mediaFile.getFile().getAbsolutePath();
if (Util.isWindows() && !mediaFile.isVideo() && !StringUtils.isAsciiPrintable(path)) {
- tmpFile = File.createTempFile("subsonic", "." + FilenameUtils.getExtension(path));
+ tmpFile = File.createTempFile("libresonic", "." + FilenameUtils.getExtension(path));
tmpFile.deleteOnExit();
FileUtils.copyFile(new File(path), tmpFile);
LOG.debug("Created tmp file: " + tmpFile);
@@ -470,7 +470,7 @@ public class TranscodingService {
* Returns the directory in which all transcoders are installed.
*/
public File getTranscodeDirectory() {
- File dir = new File(SettingsService.getSubsonicHome(), "transcode");
+ File dir = new File(SettingsService.getLibresonicHome(), "transcode");
if (!dir.exists()) {
boolean ok = dir.mkdir();
if (ok) {
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/UPnPService.java b/libresonic-main/src/main/java/org/libresonic/player/service/UPnPService.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/UPnPService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/UPnPService.java
index e54d081d..4506ad64 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/UPnPService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/UPnPService.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
import java.net.URL;
import java.util.ArrayList;
@@ -44,11 +44,11 @@ import org.fourthline.cling.support.model.ProtocolInfos;
import org.fourthline.cling.support.model.dlna.DLNAProfiles;
import org.fourthline.cling.support.model.dlna.DLNAProtocolInfo;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.Version;
-import net.sourceforge.subsonic.service.upnp.ApacheUpnpServiceConfiguration;
-import net.sourceforge.subsonic.service.upnp.FolderBasedContentDirectory;
-import net.sourceforge.subsonic.service.upnp.MSMediaReceiverRegistrarService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.Version;
+import org.libresonic.player.service.upnp.ApacheUpnpServiceConfiguration;
+import org.libresonic.player.service.upnp.FolderBasedContentDirectory;
+import org.libresonic.player.service.upnp.MSMediaReceiverRegistrarService;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/VersionService.java b/libresonic-main/src/main/java/org/libresonic/player/service/VersionService.java
similarity index 76%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/VersionService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/VersionService.java
index 8d2b2d54..9f523552 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/VersionService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/VersionService.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service;
+package org.libresonic.player.service;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.Version;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.Version;
import org.apache.commons.io.IOUtils;
import org.apache.http.client.HttpClient;
import org.apache.http.client.ResponseHandler;
@@ -41,7 +41,7 @@ import java.util.regex.Pattern;
/**
* Provides version-related services, including functionality for determining whether a newer
- * version of Subsonic is available.
+ * version of Libresonic is available.
*
* @author Sindre Mehus
*/
@@ -76,26 +76,26 @@ public class VersionService {
}
/**
- * Returns the version number for the locally installed Subsonic version.
+ * Returns the version number for the locally installed Libresonic version.
*
- * @return The version number for the locally installed Subsonic version.
+ * @return The version number for the locally installed Libresonic version.
*/
public synchronized Version getLocalVersion() {
if (localVersion == null) {
try {
localVersion = new Version(readLineFromResource("/version.txt"));
- LOG.info("Resolved local Subsonic version to: " + localVersion);
+ LOG.info("Resolved local Libresonic version to: " + localVersion);
} catch (Exception x) {
- LOG.warn("Failed to resolve local Subsonic version.", x);
+ LOG.warn("Failed to resolve local Libresonic version.", x);
}
}
return localVersion;
}
/**
- * Returns the version number for the latest available Subsonic final version.
+ * Returns the version number for the latest available Libresonic final version.
*
- * @return The version number for the latest available Subsonic final version, or null
+ * @return The version number for the latest available Libresonic final version, or null
* if the version number can't be resolved.
*/
public synchronized Version getLatestFinalVersion() {
@@ -104,9 +104,9 @@ public class VersionService {
}
/**
- * Returns the version number for the latest available Subsonic beta version.
+ * Returns the version number for the latest available Libresonic beta version.
*
- * @return The version number for the latest available Subsonic beta version, or null
+ * @return The version number for the latest available Libresonic beta version, or null
* if the version number can't be resolved.
*/
public synchronized Version getLatestBetaVersion() {
@@ -115,9 +115,9 @@ public class VersionService {
}
/**
- * Returns the build date for the locally installed Subsonic version.
+ * Returns the build date for the locally installed Libresonic version.
*
- * @return The build date for the locally installed Subsonic version, or null
+ * @return The build date for the locally installed Libresonic version, or null
* if the build date can't be resolved.
*/
public synchronized Date getLocalBuildDate() {
@@ -126,16 +126,16 @@ public class VersionService {
String date = readLineFromResource("/build_date.txt");
localBuildDate = DATE_FORMAT.parse(date);
} catch (Exception x) {
- LOG.warn("Failed to resolve local Subsonic build date.", x);
+ LOG.warn("Failed to resolve local Libresonic build date.", x);
}
}
return localBuildDate;
}
/**
- * Returns the build number for the locally installed Subsonic version.
+ * Returns the build number for the locally installed Libresonic version.
*
- * @return The build number for the locally installed Subsonic version, or null
+ * @return The build number for the locally installed Libresonic version, or null
* if the build number can't be resolved.
*/
public synchronized String getLocalBuildNumber() {
@@ -143,16 +143,16 @@ public class VersionService {
try {
localBuildNumber = readLineFromResource("/build_number.txt");
} catch (Exception x) {
- LOG.warn("Failed to resolve local Subsonic build number.", x);
+ LOG.warn("Failed to resolve local Libresonic build number.", x);
}
}
return localBuildNumber;
}
/**
- * Returns whether a new final version of Subsonic is available.
+ * Returns whether a new final version of Libresonic is available.
*
- * @return Whether a new final version of Subsonic is available.
+ * @return Whether a new final version of Libresonic is available.
*/
public boolean isNewFinalVersionAvailable() {
Version latest = getLatestFinalVersion();
@@ -166,9 +166,9 @@ public class VersionService {
}
/**
- * Returns whether a new beta version of Subsonic is available.
+ * Returns whether a new beta version of Libresonic is available.
*
- * @return Whether a new beta version of Subsonic is available.
+ * @return Whether a new beta version of Libresonic is available.
*/
public boolean isNewBetaVersionAvailable() {
Version latest = getLatestBetaVersion();
@@ -218,13 +218,13 @@ public class VersionService {
lastVersionFetched = now;
readLatestVersion();
} catch (Exception x) {
- LOG.warn("Failed to resolve latest Subsonic version.", x);
+ LOG.warn("Failed to resolve latest Libresonic version.", x);
}
}
}
/**
- * Resolves the latest available Subsonic version by screen-scraping a web page.
+ * Resolves the latest available Libresonic version by screen-scraping a web page.
*
* @throws IOException If an I/O error occurs.
*/
@@ -254,12 +254,12 @@ public class VersionService {
Matcher finalMatcher = finalPattern.matcher(line);
if (finalMatcher.find()) {
latestFinalVersion = new Version(finalMatcher.group(1));
- LOG.info("Resolved latest Subsonic final version to: " + latestFinalVersion);
+ LOG.info("Resolved latest Libresonic final version to: " + latestFinalVersion);
}
Matcher betaMatcher = betaPattern.matcher(line);
if (betaMatcher.find()) {
latestBetaVersion = new Version(betaMatcher.group(1));
- LOG.info("Resolved latest Subsonic beta version to: " + latestBetaVersion);
+ LOG.info("Resolved latest Libresonic beta version to: " + latestBetaVersion);
}
line = reader.readLine();
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/jukebox/AudioPlayer.java b/libresonic-main/src/main/java/org/libresonic/player/service/jukebox/AudioPlayer.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/jukebox/AudioPlayer.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/jukebox/AudioPlayer.java
index 5a92916a..7ef94afb 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/jukebox/AudioPlayer.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/jukebox/AudioPlayer.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.jukebox;
+package org.libresonic.player.service.jukebox;
import java.io.IOException;
import java.io.InputStream;
@@ -29,10 +29,10 @@ import javax.sound.sampled.SourceDataLine;
import org.apache.commons.io.IOUtils;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.service.JukeboxService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.service.JukeboxService;
-import static net.sourceforge.subsonic.service.jukebox.AudioPlayer.State.*;
+import static org.libresonic.player.service.jukebox.AudioPlayer.State.*;
/**
* A simple wrapper for playing sound from an input stream.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/jukebox/PlayerTest.java b/libresonic-main/src/main/java/org/libresonic/player/service/jukebox/PlayerTest.java
similarity index 97%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/jukebox/PlayerTest.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/jukebox/PlayerTest.java
index 12cb79c7..5eb41610 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/jukebox/PlayerTest.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/jukebox/PlayerTest.java
@@ -1,4 +1,4 @@
-package net.sourceforge.subsonic.service.jukebox;
+package org.libresonic.player.service.jukebox;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/DefaultMetaDataParser.java b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/DefaultMetaDataParser.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/DefaultMetaDataParser.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/metadata/DefaultMetaDataParser.java
index 69bcc743..f85fa0ea 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/DefaultMetaDataParser.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/DefaultMetaDataParser.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.metadata;
+package org.libresonic.player.service.metadata;
-import net.sourceforge.subsonic.domain.MediaFile;
+import org.libresonic.player.domain.MediaFile;
import java.io.File;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/FFmpegParser.java b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/FFmpegParser.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/FFmpegParser.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/metadata/FFmpegParser.java
index 60ae1750..c51a2f76 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/FFmpegParser.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/FFmpegParser.java
@@ -1,29 +1,29 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.metadata;
-
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.io.InputStreamReaderThread;
-import net.sourceforge.subsonic.service.ServiceLocator;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.util.StringUtil;
+package org.libresonic.player.service.metadata;
+
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.io.InputStreamReaderThread;
+import org.libresonic.player.service.ServiceLocator;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.util.StringUtil;
import org.apache.commons.io.FilenameUtils;
import java.io.File;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/JaudiotaggerParser.java b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/JaudiotaggerParser.java
similarity index 96%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/JaudiotaggerParser.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/metadata/JaudiotaggerParser.java
index ee2f4263..d73b2a79 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/JaudiotaggerParser.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/JaudiotaggerParser.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.metadata;
+package org.libresonic.player.service.metadata;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.MediaFile;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.MediaFile;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang.StringUtils;
import org.jaudiotagger.audio.AudioFile;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/MetaData.java b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/MetaData.java
similarity index 91%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/MetaData.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/metadata/MetaData.java
index b42f2dc7..99877014 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/MetaData.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/MetaData.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.metadata;
+package org.libresonic.player.service.metadata;
/**
* Contains meta-data (song title, artist, album etc) for a music file.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/MetaDataParser.java b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/MetaDataParser.java
similarity index 90%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/MetaDataParser.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/metadata/MetaDataParser.java
index 1d6bd6ac..2576bb2b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/MetaDataParser.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/MetaDataParser.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.metadata;
+package org.libresonic.player.service.metadata;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.service.ServiceLocator;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.service.ServiceLocator;
+import org.libresonic.player.service.SettingsService;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang.StringUtils;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/MetaDataParserFactory.java b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/MetaDataParserFactory.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/MetaDataParserFactory.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/metadata/MetaDataParserFactory.java
index 31b56be4..582367c1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/metadata/MetaDataParserFactory.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/metadata/MetaDataParserFactory.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.metadata;
+package org.libresonic.player.service.metadata;
import java.io.File;
import java.util.List;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/AlbumList.java b/libresonic-main/src/main/java/org/libresonic/player/service/sonos/AlbumList.java
similarity index 72%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/AlbumList.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/sonos/AlbumList.java
index 40053b0a..ea2102d9 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/AlbumList.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/sonos/AlbumList.java
@@ -1,27 +1,27 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.sonos;
+package org.libresonic.player.service.sonos;
import java.util.List;
-import net.sourceforge.subsonic.domain.MediaFile;
+import org.libresonic.player.domain.MediaFile;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosFaultInterceptor.java b/libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosFaultInterceptor.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosFaultInterceptor.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosFaultInterceptor.java
index 4ac15df6..4f7c4e99 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosFaultInterceptor.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosFaultInterceptor.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.sonos;
+package org.libresonic.player.service.sonos;
import javax.xml.namespace.QName;
@@ -29,7 +29,7 @@ import org.apache.cxf.phase.Phase;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
-import net.sourceforge.subsonic.Logger;
+import org.libresonic.player.Logger;
/**
* Intercepts all SonosSoapFault exceptions and builds a SOAP Fault.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosHelper.java b/libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosHelper.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosHelper.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosHelper.java
index 20197e12..99ba0fb1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosHelper.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosHelper.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.sonos;
+package org.libresonic.player.service.sonos;
import java.util.ArrayList;
import java.util.Arrays;
@@ -41,36 +41,36 @@ import com.sonos.services._1.MediaList;
import com.sonos.services._1.MediaMetadata;
import com.sonos.services._1.TrackMetadata;
-import net.sourceforge.subsonic.controller.CoverArtController;
-import net.sourceforge.subsonic.dao.MediaFileDao;
-import net.sourceforge.subsonic.domain.AlbumListType;
-import net.sourceforge.subsonic.domain.CoverArtScheme;
-import net.sourceforge.subsonic.domain.Genre;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.MusicFolderContent;
-import net.sourceforge.subsonic.domain.MusicIndex;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.domain.PlayerTechnology;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.domain.PodcastChannel;
-import net.sourceforge.subsonic.domain.PodcastEpisode;
-import net.sourceforge.subsonic.domain.PodcastStatus;
-import net.sourceforge.subsonic.domain.SearchCriteria;
-import net.sourceforge.subsonic.domain.SearchResult;
-import net.sourceforge.subsonic.service.LastFmService;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.MusicIndexService;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.service.PodcastService;
-import net.sourceforge.subsonic.service.RatingService;
-import net.sourceforge.subsonic.service.SearchService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.SonosService;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.util.StringUtil;
-import net.sourceforge.subsonic.util.Util;
+import org.libresonic.player.controller.CoverArtController;
+import org.libresonic.player.dao.MediaFileDao;
+import org.libresonic.player.domain.AlbumListType;
+import org.libresonic.player.domain.CoverArtScheme;
+import org.libresonic.player.domain.Genre;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.MusicFolderContent;
+import org.libresonic.player.domain.MusicIndex;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.domain.PlayerTechnology;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.domain.PodcastChannel;
+import org.libresonic.player.domain.PodcastEpisode;
+import org.libresonic.player.domain.PodcastStatus;
+import org.libresonic.player.domain.SearchCriteria;
+import org.libresonic.player.domain.SearchResult;
+import org.libresonic.player.service.LastFmService;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.MusicIndexService;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.service.PodcastService;
+import org.libresonic.player.service.RatingService;
+import org.libresonic.player.service.SearchService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.SonosService;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.util.StringUtil;
+import org.libresonic.player.util.Util;
/**
* @author Sindre Mehus
@@ -694,14 +694,14 @@ public class SonosHelper {
int port = settingsService.getPort();
String contextPath = settingsService.getUrlRedirectContextPath();
- // Note that the server IP can be overridden by the "ip" parameter. Used when Subsonic and Sonos are
+ // Note that the server IP can be overridden by the "ip" parameter. Used when Libresonic and Sonos are
// on different networks.
String ip = settingsService.getLocalIpAddress();
if (request != null) {
ip = ServletRequestUtils.getStringParameter(request, "ip", ip);
}
- // Note: Serving media and cover art with http (as opposed to https) works when using jetty and SubsonicDeployer.
+ // Note: Serving media and cover art with http (as opposed to https) works when using jetty and LibresonicDeployer.
StringBuilder url = new StringBuilder("http://")
.append(ip)
.append(":")
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosServiceRegistration.java b/libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosServiceRegistration.java
similarity index 79%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosServiceRegistration.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosServiceRegistration.java
index abe5bf0f..593652a3 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosServiceRegistration.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosServiceRegistration.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.sonos;
+package org.libresonic.player.service.sonos;
import java.io.IOException;
import java.util.ArrayList;
@@ -34,9 +34,9 @@ import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.params.HttpConnectionParams;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.util.Pair;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.util.Pair;
+import org.libresonic.player.util.StringUtil;
/**
* @author Sindre Mehus
@@ -46,12 +46,12 @@ public class SonosServiceRegistration {
private static final Logger LOG = Logger.getLogger(SonosServiceRegistration.class);
- public void setEnabled(String subsonicBaseUrl, String sonosControllerIp, boolean enabled, String sonosServiceName, int sonosServiceId) throws IOException {
- String localUrl = subsonicBaseUrl + "ws/Sonos";
+ public void setEnabled(String libresonicBaseUrl, String sonosControllerIp, boolean enabled, String sonosServiceName, int sonosServiceId) throws IOException {
+ String localUrl = libresonicBaseUrl + "ws/Sonos";
String controllerUrl = String.format("http://%s:1400/customsd", sonosControllerIp);
LOG.info((enabled ? "Enabling" : "Disabling") + " Sonos music service, using Sonos controller IP " + sonosControllerIp +
- ", SID " + sonosServiceId + ", and Subsonic URL " + localUrl);
+ ", SID " + sonosServiceId + ", and Libresonic URL " + localUrl);
List> params = new ArrayList>();
params.add(Pair.create("sid", String.valueOf(sonosServiceId)));
@@ -68,9 +68,9 @@ public class SonosServiceRegistration {
params.add(Pair.create("caps", "ucPlaylists"));
params.add(Pair.create("caps", "extendedMD"));
params.add(Pair.create("presentationMapVersion", "1"));
- params.add(Pair.create("presentationMapUri", subsonicBaseUrl + "sonos/presentationMap.xml"));
+ params.add(Pair.create("presentationMapUri", libresonicBaseUrl + "sonos/presentationMap.xml"));
params.add(Pair.create("stringsVersion", "5"));
- params.add(Pair.create("stringsUri", subsonicBaseUrl + "sonos/strings.xml"));
+ params.add(Pair.create("stringsUri", libresonicBaseUrl + "sonos/strings.xml"));
}
String result = execute(controllerUrl, params);
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosSoapFault.java b/libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosSoapFault.java
similarity index 81%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosSoapFault.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosSoapFault.java
index a824cf21..8bb92c53 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/sonos/SonosSoapFault.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/sonos/SonosSoapFault.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2015 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.sonos;
+package org.libresonic.player.service.sonos;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/ApacheUpnpServiceConfiguration.java b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/ApacheUpnpServiceConfiguration.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/ApacheUpnpServiceConfiguration.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/upnp/ApacheUpnpServiceConfiguration.java
index eeadce90..b32d95db 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/ApacheUpnpServiceConfiguration.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/ApacheUpnpServiceConfiguration.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2013 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.upnp;
+package org.libresonic.player.service.upnp;
import java.util.concurrent.Executors;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/ClingRouter.java b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/ClingRouter.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/ClingRouter.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/upnp/ClingRouter.java
index fd8c8c29..ae2f692b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/ClingRouter.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/ClingRouter.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.upnp;
+package org.libresonic.player.service.upnp;
import java.net.InetAddress;
import java.net.UnknownHostException;
@@ -34,7 +34,7 @@ import org.fourthline.cling.support.igd.callback.PortMappingAdd;
import org.fourthline.cling.support.igd.callback.PortMappingDelete;
import org.fourthline.cling.support.model.PortMapping;
-import net.sourceforge.subsonic.service.UPnPService;
+import org.libresonic.player.service.UPnPService;
/**
* @author Sindre Mehus
@@ -138,6 +138,6 @@ public class ClingRouter implements Router {
private PortMapping createPortMapping(int port) throws UnknownHostException {
String localIp = InetAddress.getLocalHost().getHostAddress();
- return new PortMapping(port, localIp, PortMapping.Protocol.TCP, "Subsonic");
+ return new PortMapping(port, localIp, PortMapping.Protocol.TCP, "Libresonic");
}
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/FolderBasedContentDirectory.java b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/FolderBasedContentDirectory.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/FolderBasedContentDirectory.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/upnp/FolderBasedContentDirectory.java
index 9702e999..bae788b1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/FolderBasedContentDirectory.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/FolderBasedContentDirectory.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.upnp;
+package org.libresonic.player.service.upnp;
import java.net.URI;
import java.net.URISyntaxException;
@@ -39,21 +39,21 @@ import org.fourthline.cling.support.model.container.StorageFolder;
import org.fourthline.cling.support.model.item.Item;
import org.fourthline.cling.support.model.item.MusicTrack;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.domain.CoverArtScheme;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.MediaLibraryStatistics;
-import net.sourceforge.subsonic.domain.MusicFolder;
-import net.sourceforge.subsonic.domain.Playlist;
-import net.sourceforge.subsonic.service.MediaFileService;
-import net.sourceforge.subsonic.service.PlaylistService;
-import net.sourceforge.subsonic.util.Util;
+import org.libresonic.player.Logger;
+import org.libresonic.player.domain.CoverArtScheme;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.MediaLibraryStatistics;
+import org.libresonic.player.domain.MusicFolder;
+import org.libresonic.player.domain.Playlist;
+import org.libresonic.player.service.MediaFileService;
+import org.libresonic.player.service.PlaylistService;
+import org.libresonic.player.util.Util;
/**
* @author Sindre Mehus
* @version $Id$
*/
-public class FolderBasedContentDirectory extends SubsonicContentDirectory {
+public class FolderBasedContentDirectory extends LibresonicContentDirectory {
private static final Logger LOG = Logger.getLogger(FolderBasedContentDirectory.class);
private static final String CONTAINER_ID_PLAYLIST_ROOT = "playlists";
@@ -109,7 +109,7 @@ public class FolderBasedContentDirectory extends SubsonicContentDirectory {
MediaLibraryStatistics statistics = settingsService.getMediaLibraryStatistics();
root.setStorageUsed(statistics == null ? 0 : statistics.getTotalLengthInBytes());
- root.setTitle("Subsonic Media");
+ root.setTitle("Libresonic Media");
root.setRestricted(true);
root.setSearchable(false);
root.setWriteStatus(WriteStatus.NOT_WRITABLE);
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/SubsonicContentDirectory.java b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/LibresonicContentDirectory.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/SubsonicContentDirectory.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/upnp/LibresonicContentDirectory.java
index aff3c81d..65fec298 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/SubsonicContentDirectory.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/LibresonicContentDirectory.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.upnp;
+package org.libresonic.player.service.upnp;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang.StringUtils;
@@ -29,18 +29,18 @@ import org.fourthline.cling.support.model.Res;
import org.fourthline.cling.support.model.SortCriterion;
import org.seamless.util.MimeType;
-import net.sourceforge.subsonic.domain.MediaFile;
-import net.sourceforge.subsonic.domain.Player;
-import net.sourceforge.subsonic.service.PlayerService;
-import net.sourceforge.subsonic.service.SettingsService;
-import net.sourceforge.subsonic.service.TranscodingService;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.domain.MediaFile;
+import org.libresonic.player.domain.Player;
+import org.libresonic.player.service.PlayerService;
+import org.libresonic.player.service.SettingsService;
+import org.libresonic.player.service.TranscodingService;
+import org.libresonic.player.util.StringUtil;
/**
* @author Sindre Mehus
* @version $Id: TagBasedContentDirectory.java 3739 2013-12-03 11:55:01Z sindre_mehus $
*/
-public abstract class SubsonicContentDirectory extends AbstractContentDirectoryService {
+public abstract class LibresonicContentDirectory extends AbstractContentDirectoryService {
protected static final String CONTAINER_ID_ROOT = "0";
@@ -95,7 +95,7 @@ public abstract class SubsonicContentDirectory extends AbstractContentDirectoryS
int port = settingsService.getPort();
String contextPath = settingsService.getUrlRedirectContextPath();
- // Note: Serving media and cover art with http (as opposed to https) works when using jetty and SubsonicDeployer.
+ // Note: Serving media and cover art with http (as opposed to https) works when using jetty and LibresonicDeployer.
StringBuilder url = new StringBuilder("http://")
.append(settingsService.getLocalIpAddress())
.append(":")
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/MSMediaReceiverRegistrarService.java b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/MSMediaReceiverRegistrarService.java
similarity index 83%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/MSMediaReceiverRegistrarService.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/upnp/MSMediaReceiverRegistrarService.java
index 362e4ed9..2231232d 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/MSMediaReceiverRegistrarService.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/MSMediaReceiverRegistrarService.java
@@ -1,4 +1,4 @@
-package net.sourceforge.subsonic.service.upnp;
+package org.libresonic.player.service.upnp;
import org.fourthline.cling.support.xmicrosoft.AbstractMediaReceiverRegistrarService;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/NATPMPRouter.java b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/NATPMPRouter.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/NATPMPRouter.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/upnp/NATPMPRouter.java
index 3099a0a9..9af07020 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/NATPMPRouter.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/NATPMPRouter.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.upnp;
+package org.libresonic.player.service.upnp;
import com.hoodcomputing.natpmp.MapRequestMessage;
import com.hoodcomputing.natpmp.NatPmpDevice;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/Router.java b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/Router.java
similarity index 82%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/Router.java
rename to libresonic-main/src/main/java/org/libresonic/player/service/upnp/Router.java
index 13d8c64c..db4480f1 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/service/upnp/Router.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/service/upnp/Router.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.service.upnp;
+package org.libresonic.player.service.upnp;
/**
* @author Sindre Mehus
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/EscapeJavaScriptTag.java b/libresonic-main/src/main/java/org/libresonic/player/taglib/EscapeJavaScriptTag.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/EscapeJavaScriptTag.java
rename to libresonic-main/src/main/java/org/libresonic/player/taglib/EscapeJavaScriptTag.java
index c7c09677..c5bb971b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/EscapeJavaScriptTag.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/taglib/EscapeJavaScriptTag.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.taglib;
+package org.libresonic.player.taglib;
import org.apache.commons.lang.StringEscapeUtils;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/FormatBytesTag.java b/libresonic-main/src/main/java/org/libresonic/player/taglib/FormatBytesTag.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/FormatBytesTag.java
rename to libresonic-main/src/main/java/org/libresonic/player/taglib/FormatBytesTag.java
index 0279316b..ebaab910 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/FormatBytesTag.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/taglib/FormatBytesTag.java
@@ -1,24 +1,24 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.taglib;
+package org.libresonic.player.taglib;
-import net.sourceforge.subsonic.util.*;
+import org.libresonic.player.util.*;
import org.springframework.web.servlet.support.*;
import javax.servlet.http.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/ParamTag.java b/libresonic-main/src/main/java/org/libresonic/player/taglib/ParamTag.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/ParamTag.java
rename to libresonic-main/src/main/java/org/libresonic/player/taglib/ParamTag.java
index 1043902e..9ec47ca4 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/ParamTag.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/taglib/ParamTag.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.taglib;
+package org.libresonic.player.taglib;
import javax.servlet.jsp.tagext.*;
import javax.servlet.jsp.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/UrlTag.java b/libresonic-main/src/main/java/org/libresonic/player/taglib/UrlTag.java
similarity index 93%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/UrlTag.java
rename to libresonic-main/src/main/java/org/libresonic/player/taglib/UrlTag.java
index 141ba847..27ff822f 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/UrlTag.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/taglib/UrlTag.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.taglib;
+package org.libresonic.player.taglib;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.filter.ParameterDecodingFilter;
-import net.sourceforge.subsonic.util.StringUtil;
+import org.libresonic.player.Logger;
+import org.libresonic.player.filter.ParameterDecodingFilter;
+import org.libresonic.player.util.StringUtil;
import org.apache.taglibs.standard.tag.common.core.UrlSupport;
import org.apache.commons.lang.CharUtils;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/WikiTag.java b/libresonic-main/src/main/java/org/libresonic/player/taglib/WikiTag.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/WikiTag.java
rename to libresonic-main/src/main/java/org/libresonic/player/taglib/WikiTag.java
index e099bd1e..b716693e 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/taglib/WikiTag.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/taglib/WikiTag.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.taglib;
+package org.libresonic.player.taglib;
import org.radeox.api.engine.*;
import org.radeox.api.engine.context.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/theme/SubsonicThemeResolver.java b/libresonic-main/src/main/java/org/libresonic/player/theme/LibresonicThemeResolver.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/theme/SubsonicThemeResolver.java
rename to libresonic-main/src/main/java/org/libresonic/player/theme/LibresonicThemeResolver.java
index 874c2e9c..61bffa4f 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/theme/SubsonicThemeResolver.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/theme/LibresonicThemeResolver.java
@@ -1,25 +1,25 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.theme;
+package org.libresonic.player.theme;
-import net.sourceforge.subsonic.service.*;
-import net.sourceforge.subsonic.domain.*;
+import org.libresonic.player.service.*;
+import org.libresonic.player.domain.*;
import org.springframework.web.servlet.*;
import javax.servlet.http.*;
@@ -30,7 +30,7 @@ import java.util.*;
*
* @author Sindre Mehus
*/
-public class SubsonicThemeResolver implements ThemeResolver {
+public class LibresonicThemeResolver implements ThemeResolver {
private SecurityService securityService;
private SettingsService settingsService;
@@ -43,14 +43,14 @@ public class SubsonicThemeResolver implements ThemeResolver {
* @return The current theme name
*/
public String resolveThemeName(HttpServletRequest request) {
- String themeId = (String) request.getAttribute("subsonic.theme");
+ String themeId = (String) request.getAttribute("libresonic.theme");
if (themeId != null) {
return themeId;
}
// Optimization: Cache theme in the request.
themeId = doResolveThemeName(request);
- request.setAttribute("subsonic.theme", themeId);
+ request.setAttribute("libresonic.theme", themeId);
return themeId;
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/theme/SubsonicThemeSource.java b/libresonic-main/src/main/java/org/libresonic/player/theme/LibresonicThemeSource.java
similarity index 80%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/theme/SubsonicThemeSource.java
rename to libresonic-main/src/main/java/org/libresonic/player/theme/LibresonicThemeSource.java
index 5bcca8b9..acc672de 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/theme/SubsonicThemeSource.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/theme/LibresonicThemeSource.java
@@ -1,29 +1,29 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.theme;
+package org.libresonic.player.theme;
import org.springframework.ui.context.support.ResourceBundleThemeSource;
import org.springframework.context.MessageSource;
import org.springframework.context.support.ResourceBundleMessageSource;
-import net.sourceforge.subsonic.domain.Theme;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.domain.Theme;
+import org.libresonic.player.service.SettingsService;
/**
* Theme source implementation which uses two resource bundles: the
@@ -31,7 +31,7 @@ import net.sourceforge.subsonic.service.SettingsService;
*
* @author Sindre Mehus
*/
-public class SubsonicThemeSource extends ResourceBundleThemeSource {
+public class LibresonicThemeSource extends ResourceBundleThemeSource {
private SettingsService settingsService;
private String basenamePrefix;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/upload/MonitoredDiskFileItem.java b/libresonic-main/src/main/java/org/libresonic/player/upload/MonitoredDiskFileItem.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/upload/MonitoredDiskFileItem.java
rename to libresonic-main/src/main/java/org/libresonic/player/upload/MonitoredDiskFileItem.java
index f9b89bb7..575ff713 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/upload/MonitoredDiskFileItem.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/upload/MonitoredDiskFileItem.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.upload;
+package org.libresonic.player.upload;
import org.apache.commons.fileupload.disk.DiskFileItem;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/upload/MonitoredDiskFileItemFactory.java b/libresonic-main/src/main/java/org/libresonic/player/upload/MonitoredDiskFileItemFactory.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/upload/MonitoredDiskFileItemFactory.java
rename to libresonic-main/src/main/java/org/libresonic/player/upload/MonitoredDiskFileItemFactory.java
index b5d6125d..42d3bf43 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/upload/MonitoredDiskFileItemFactory.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/upload/MonitoredDiskFileItemFactory.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.upload;
+package org.libresonic.player.upload;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/upload/MonitoredOutputStream.java b/libresonic-main/src/main/java/org/libresonic/player/upload/MonitoredOutputStream.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/upload/MonitoredOutputStream.java
rename to libresonic-main/src/main/java/org/libresonic/player/upload/MonitoredOutputStream.java
index c7f0d525..8592dc90 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/upload/MonitoredOutputStream.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/upload/MonitoredOutputStream.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.upload;
+package org.libresonic.player.upload;
import java.io.OutputStream;
import java.io.IOException;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/upload/UploadListener.java b/libresonic-main/src/main/java/org/libresonic/player/upload/UploadListener.java
similarity index 73%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/upload/UploadListener.java
rename to libresonic-main/src/main/java/org/libresonic/player/upload/UploadListener.java
index 7eac415a..17f0a66a 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/upload/UploadListener.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/upload/UploadListener.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.upload;
+package org.libresonic.player.upload;
/**
* Extension of Commons FileUpload for monitoring the upload progress.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/BoundedList.java b/libresonic-main/src/main/java/org/libresonic/player/util/BoundedList.java
similarity index 86%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/util/BoundedList.java
rename to libresonic-main/src/main/java/org/libresonic/player/util/BoundedList.java
index fb240d5f..137bdedb 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/BoundedList.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/util/BoundedList.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.util;
+package org.libresonic.player.util;
import java.util.*;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/FileUtil.java b/libresonic-main/src/main/java/org/libresonic/player/util/FileUtil.java
similarity index 94%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/util/FileUtil.java
rename to libresonic-main/src/main/java/org/libresonic/player/util/FileUtil.java
index d7230cf2..10a8840b 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/FileUtil.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/util/FileUtil.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.util;
+package org.libresonic.player.util;
import java.io.Closeable;
import java.io.File;
@@ -24,7 +24,7 @@ import java.io.FilenameFilter;
import java.io.IOException;
import java.util.Arrays;
-import net.sourceforge.subsonic.Logger;
+import org.libresonic.player.Logger;
/**
* Miscellaneous file utility methods.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/HttpRange.java b/libresonic-main/src/main/java/org/libresonic/player/util/HttpRange.java
similarity index 92%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/util/HttpRange.java
rename to libresonic-main/src/main/java/org/libresonic/player/util/HttpRange.java
index 0213d769..1853f137 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/HttpRange.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/util/HttpRange.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.util;
+package org.libresonic.player.util;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/Pair.java b/libresonic-main/src/main/java/org/libresonic/player/util/Pair.java
similarity index 84%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/util/Pair.java
rename to libresonic-main/src/main/java/org/libresonic/player/util/Pair.java
index 58ea61e6..ca355fe6 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/Pair.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/util/Pair.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.util;
+package org.libresonic.player.util;
import java.io.Serializable;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/StringUtil.java b/libresonic-main/src/main/java/org/libresonic/player/util/StringUtil.java
similarity index 97%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/util/StringUtil.java
rename to libresonic-main/src/main/java/org/libresonic/player/util/StringUtil.java
index f83da09a..f63b91c4 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/StringUtil.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/util/StringUtil.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.util;
+package org.libresonic.player.util;
import java.io.BufferedReader;
import java.io.File;
@@ -45,7 +45,7 @@ import org.apache.commons.codec.binary.Hex;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringUtils;
-import net.sourceforge.subsonic.domain.UrlRedirectType;
+import org.libresonic.player.domain.UrlRedirectType;
/**
* Miscellaneous string utility methods.
@@ -497,8 +497,8 @@ public final class StringUtil {
URLBuilder urlBuilder = new URLBuilder(localUrl);
if (urlRedirectionEnabled) {
if (urlRedirectType == UrlRedirectType.NORMAL) {
- String subsonicHost = urlRedirectFrom + ".subsonic.org";
- urlBuilder.setHost(subsonicHost);
+ String libresonicHost = urlRedirectFrom + ".libresonic.org";
+ urlBuilder.setHost(libresonicHost);
urlBuilder.setPort(80);
urlBuilder.setProtocol(URLBuilder.HTTP);
if (StringUtils.isNotBlank(urlRedirectContextPath)) {
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/URLBuilder.java b/libresonic-main/src/main/java/org/libresonic/player/util/URLBuilder.java
similarity index 87%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/util/URLBuilder.java
rename to libresonic-main/src/main/java/org/libresonic/player/util/URLBuilder.java
index 09370e35..b1382222 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/URLBuilder.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/util/URLBuilder.java
@@ -1,23 +1,23 @@
/*
- * This file is part of Subsonic.
+ * This file is part of Libresonic.
*
- * Subsonic is free software: you can redistribute it and/or modify
+ * 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.
*
- * Subsonic is distributed in the hope that it will be useful,
+ * 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 Subsonic. If not, see .
+ * along with Libresonic. If not, see .
*
* Copyright 2014 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.util;
+package org.libresonic.player.util;
import java.net.MalformedURLException;
import java.net.URL;
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/Util.java b/libresonic-main/src/main/java/org/libresonic/player/util/Util.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/util/Util.java
rename to libresonic-main/src/main/java/org/libresonic/player/util/Util.java
index 6b644e7e..7c6364df 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/util/Util.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/util/Util.java
@@ -1,22 +1,22 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.util;
+package org.libresonic.player.util;
import java.net.Inet4Address;
import java.net.InetAddress;
@@ -31,8 +31,8 @@ import java.util.Random;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
-import net.sourceforge.subsonic.Logger;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.Logger;
+import org.libresonic.player.service.SettingsService;
/**
* Miscellaneous general utility methods.
@@ -52,17 +52,17 @@ public final class Util {
public static String getDefaultMusicFolder() {
String def = isWindows() ? "c:\\music" : "/var/music";
- return System.getProperty("subsonic.defaultMusicFolder", def);
+ return System.getProperty("libresonic.defaultMusicFolder", def);
}
public static String getDefaultPodcastFolder() {
String def = isWindows() ? "c:\\music\\Podcast" : "/var/music/Podcast";
- return System.getProperty("subsonic.defaultPodcastFolder", def);
+ return System.getProperty("libresonic.defaultPodcastFolder", def);
}
public static String getDefaultPlaylistFolder() {
String def = isWindows() ? "c:\\playlists" : "/var/playlists";
- return System.getProperty("subsonic.defaultPlaylistFolder", def);
+ return System.getProperty("libresonic.defaultPlaylistFolder", def);
}
public static boolean isWindows() {
@@ -70,7 +70,7 @@ public final class Util {
}
public static boolean isWindowsInstall() {
- return "true".equals(System.getProperty("subsonic.windowsInstall"));
+ return "true".equals(System.getProperty("libresonic.windowsInstall"));
}
/**
@@ -91,7 +91,7 @@ public final class Util {
}
/**
- * Returns the local IP address. Honours the "subsonic.host" system property.
+ * Returns the local IP address. Honours the "libresonic.host" system property.
*
* NOTE: For improved performance, use {@link SettingsService#getLocalIpAddress()} instead.
*
@@ -99,9 +99,9 @@ public final class Util {
*/
public static String getLocalIpAddress() {
List ipAddresses = getLocalIpAddresses();
- String subsonicHost = System.getProperty("subsonic.host");
- if (subsonicHost != null && ipAddresses.contains(subsonicHost)) {
- return subsonicHost;
+ String libresonicHost = System.getProperty("libresonic.host");
+ if (libresonicHost != null && ipAddresses.contains(libresonicHost)) {
+ return libresonicHost;
}
return ipAddresses.get(0);
}
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/validator/PasswordSettingsValidator.java b/libresonic-main/src/main/java/org/libresonic/player/validator/PasswordSettingsValidator.java
similarity index 77%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/validator/PasswordSettingsValidator.java
rename to libresonic-main/src/main/java/org/libresonic/player/validator/PasswordSettingsValidator.java
index 12fb06ce..bade413d 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/validator/PasswordSettingsValidator.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/validator/PasswordSettingsValidator.java
@@ -1,26 +1,26 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.validator;
+package org.libresonic.player.validator;
import org.springframework.validation.*;
-import net.sourceforge.subsonic.command.*;
-import net.sourceforge.subsonic.controller.*;
+import org.libresonic.player.command.*;
+import org.libresonic.player.controller.*;
/**
* Validator for {@link PasswordSettingsController}.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/validator/PremiumSettingsValidator.java b/libresonic-main/src/main/java/org/libresonic/player/validator/PremiumSettingsValidator.java
similarity index 74%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/validator/PremiumSettingsValidator.java
rename to libresonic-main/src/main/java/org/libresonic/player/validator/PremiumSettingsValidator.java
index c1781da4..82a15fa7 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/validator/PremiumSettingsValidator.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/validator/PremiumSettingsValidator.java
@@ -1,29 +1,29 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.validator;
+package org.libresonic.player.validator;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
-import net.sourceforge.subsonic.command.PremiumSettingsCommand;
-import net.sourceforge.subsonic.controller.PremiumSettingsController;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.command.PremiumSettingsCommand;
+import org.libresonic.player.controller.PremiumSettingsController;
+import org.libresonic.player.service.SettingsService;
/**
* Validator for {@link PremiumSettingsController}.
diff --git a/subsonic-main/src/main/java/net/sourceforge/subsonic/validator/UserSettingsValidator.java b/libresonic-main/src/main/java/org/libresonic/player/validator/UserSettingsValidator.java
similarity index 85%
rename from subsonic-main/src/main/java/net/sourceforge/subsonic/validator/UserSettingsValidator.java
rename to libresonic-main/src/main/java/org/libresonic/player/validator/UserSettingsValidator.java
index 87a2b0f7..0314e2f6 100644
--- a/subsonic-main/src/main/java/net/sourceforge/subsonic/validator/UserSettingsValidator.java
+++ b/libresonic-main/src/main/java/org/libresonic/player/validator/UserSettingsValidator.java
@@ -1,27 +1,27 @@
/*
- This file is part of Subsonic.
+ This file is part of Libresonic.
- Subsonic is free software: you can redistribute it and/or modify
+ 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.
- Subsonic is distributed in the hope that it will be useful,
+ 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 Subsonic. If not, see .
+ along with Libresonic. If not, see .
Copyright 2009 (C) Sindre Mehus
*/
-package net.sourceforge.subsonic.validator;
+package org.libresonic.player.validator;
-import net.sourceforge.subsonic.command.UserSettingsCommand;
-import net.sourceforge.subsonic.controller.UserSettingsController;
-import net.sourceforge.subsonic.service.SecurityService;
-import net.sourceforge.subsonic.service.SettingsService;
+import org.libresonic.player.command.UserSettingsCommand;
+import org.libresonic.player.controller.UserSettingsController;
+import org.libresonic.player.service.SecurityService;
+import org.libresonic.player.service.SettingsService;
import org.apache.commons.lang.StringUtils;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
diff --git a/subsonic-main/src/main/resources/ehcache.xml b/libresonic-main/src/main/resources/ehcache.xml
similarity index 99%
rename from subsonic-main/src/main/resources/ehcache.xml
rename to libresonic-main/src/main/resources/ehcache.xml
index ea04b885..1f4950df 100644
--- a/subsonic-main/src/main/resources/ehcache.xml
+++ b/libresonic-main/src/main/resources/ehcache.xml
@@ -69,7 +69,7 @@ used with JMX monitors.
Subdirectories can be specified below the property e.g. java.io.tmpdir/one
-->
-
+
diff --git a/subsonic-main/src/main/resources/log4j.properties b/libresonic-main/src/main/resources/log4j.properties
similarity index 100%
rename from subsonic-main/src/main/resources/log4j.properties
rename to libresonic-main/src/main/resources/log4j.properties
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/controller/default_cover.jpg b/libresonic-main/src/main/resources/org.libresonic.player/controller/default_cover.jpg
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/controller/default_cover.jpg
rename to libresonic-main/src/main/resources/org.libresonic.player/controller/default_cover.jpg
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/All-Caps.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/All-Caps.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/All-Caps.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/All-Caps.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Army-Officer.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Army-Officer.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Army-Officer.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Army-Officer.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Beatnik.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Beatnik.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Beatnik.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Beatnik.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Clown.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Clown.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Clown.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Clown.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Commie-Pinko.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Commie-Pinko.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Commie-Pinko.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Commie-Pinko.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Cool.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Cool.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Cool.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Cool.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Drum.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Drum.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Drum.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Drum.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Engineer.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Engineer.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Engineer.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Engineer.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Fire-Guitar.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Fire-Guitar.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Fire-Guitar.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Fire-Guitar.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Footballer.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Footballer.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Footballer.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Footballer.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Formal.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Formal.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Formal.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Formal.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Forum-Flirt.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Forum-Flirt.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Forum-Flirt.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Forum-Flirt.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Gamer.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Gamer.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Gamer.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Gamer.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Green-Boy.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Green-Boy.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Green-Boy.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Green-Boy.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Headphones.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Headphones.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Headphones.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Headphones.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Hopelessly-Addicted.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Hopelessly-Addicted.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Hopelessly-Addicted.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Hopelessly-Addicted.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Jekyll-And-Hyde.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Jekyll-And-Hyde.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Jekyll-And-Hyde.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Jekyll-And-Hyde.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Joker.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Joker.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Joker.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Joker.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Laugh.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Laugh.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Laugh.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Laugh.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Linux-Zealot.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Linux-Zealot.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Linux-Zealot.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Linux-Zealot.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Lurker.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Lurker.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Lurker.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Lurker.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Mac-Zealot.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Mac-Zealot.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Mac-Zealot.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Mac-Zealot.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Mic.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Mic.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Mic.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Mic.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Moderator.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Moderator.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Moderator.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Moderator.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Newbie.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Newbie.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Newbie.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Newbie.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/No-Dissent.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/No-Dissent.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/No-Dissent.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/No-Dissent.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Performer.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Performer.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Performer.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Performer.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Push-My-Button.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Push-My-Button.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Push-My-Button.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Push-My-Button.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Ray-Of-Sunshine.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Ray-Of-Sunshine.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Ray-Of-Sunshine.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Ray-Of-Sunshine.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Red-Hot-Chili-Peppers-1.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Red-Hot-Chili-Peppers-1.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Red-Hot-Chili-Peppers-1.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Red-Hot-Chili-Peppers-1.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Red-Hot-Chili-Peppers-2.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Red-Hot-Chili-Peppers-2.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Red-Hot-Chili-Peppers-2.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Red-Hot-Chili-Peppers-2.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Red-Hot-Chili-Peppers-3.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Red-Hot-Chili-Peppers-3.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Red-Hot-Chili-Peppers-3.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Red-Hot-Chili-Peppers-3.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Red-Hot-Chili-Peppers-4.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Red-Hot-Chili-Peppers-4.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Red-Hot-Chili-Peppers-4.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Red-Hot-Chili-Peppers-4.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Ringmaster.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Ringmaster.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Ringmaster.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Ringmaster.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Rumor-Junkie.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Rumor-Junkie.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Rumor-Junkie.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Rumor-Junkie.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Sozzled-Surfer.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Sozzled-Surfer.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Sozzled-Surfer.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Sozzled-Surfer.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Statistician.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Statistician.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Statistician.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Statistician.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Study.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Study.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Study.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Study.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Tech-Support.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Tech-Support.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Tech-Support.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Tech-Support.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/The-Guru.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/The-Guru.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/The-Guru.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/The-Guru.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/The-Referee.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/The-Referee.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/The-Referee.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/The-Referee.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Troll.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Troll.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Troll.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Troll.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Turntable.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Turntable.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Turntable.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Turntable.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Uptight.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Uptight.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Uptight.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Uptight.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Vinyl.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Vinyl.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Vinyl.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Vinyl.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Windows-Zealot.png b/libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Windows-Zealot.png
similarity index 100%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/dao/schema/Windows-Zealot.png
rename to libresonic-main/src/main/resources/org.libresonic.player/dao/schema/Windows-Zealot.png
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_bg.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_bg.properties
similarity index 97%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_bg.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_bg.properties
index 86c294f1..4eaeec99 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_bg.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_bg.properties
@@ -45,7 +45,7 @@ top.more = \u041E\u0449\u0435
top.help = \u041E\u0442\u043D\u043E\u0441\u043D\u043E
top.search = \u0422\u044A\u0440\u0441\u0435\u043D\u0435
top.upgrade = \u041D\u0430\u043B\u0438\u0447\u043D\u0430 \u0435 \u043D\u043E\u0432\u0430 \u0432\u0435\u0440\u0441\u0438\u044F. \u0421\u0432\u0430\u043B\u0438 {0} {1} \
- \u0442\u0443\u043A.
+ \u0442\u0443\u043A.
top.missing = \u041D\u044F\u043C\u0430 \u043D\u0430\u043B\u0438\u0447\u043D\u0438 \u043F\u0430\u043F\u043A\u0438 \u0441 \u043C\u0443\u0437\u0438\u043A\u0430. \u041C\u043E\u043B\u044F \u043F\u0440\u043E\u043C\u0435\u043D\u0435\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u0442\u0435.
top.logout = \u0418\u0437\u043B\u0435\u0437 {0}
@@ -115,7 +115,7 @@ search.hits.songs = \u041F\u0435\u0441\u043D\u0438
gettingStarted.title = \u0414\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430\u043C\u0435
gettingStarted.text =
\
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_ca.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_ca.properties
similarity index 97%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_ca.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_ca.properties
index 8071bad8..01384af8 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_ca.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_ca.properties
@@ -45,7 +45,7 @@ top.more = M\u00E9s
top.help = Ajuda
top.search = Buscar
top.upgrade = Una nova versi\u00F3 est\u00E0 disponible. Descarregar {0} {1} \
- aqu\u00ED.
+ aqu\u00ED.
top.missing = No s'ha trobat cap directori. Si us plau, canvi\u00EF la configuraci\u00F3.
top.logout = Desconnectar {0}
@@ -134,7 +134,7 @@ search.hits.songs = Can\u00E7ons
gettingStarted.title = Primers passos
gettingStarted.text =
Benvingut a Libresonic! Per tal de configurar el programa de la manera m\u00E9s r\u00E0pida possible, nom\u00E9s cal que segueixi els seg\u00FCent passos. \
Cliqui al bot\u00F3 d''Inici que hi ha a la barra superior per tal de tornar a aquesta p\u00E0gina.
\
-
Per a m\u00E9s informaci\u00F3, consulti la p\u00E0gina la guia Getting started.
+
Per a m\u00E9s informaci\u00F3, consulti la p\u00E0gina la guia Getting started.
gettingStarted.step1.title = Canviar la contrasenya de l'administrador.
gettingStarted.step1.text = Per tal de fer m\u00E9s segur el seu servidor es recomana canviar la contrasenya per defecte de l''administrador. \
Tamb\u00E9 pot crear comptes d'usuari nous amb diferents privilegis associats.
@@ -142,7 +142,7 @@ gettingStarted.step2.title = Configuri els directoris multim\u00E8dia.
gettingStarted.step2.text = Indiqui a Libresonic a on guarda els arxius de m\u00FAsica i de v\u00EDdeo.
gettingStarted.step3.title = Configuri els par\u00E0metres de xarxa.
gettingStarted.step3.text = Par\u00E0metres \u00FAtil per tal de gaudir de Libresonic remotament a trav\u00E9s de Internet, \
- o compartir-ho amb la fam\u00EDlia i amics. Aconsegueixi la seva adre\u00E7a personal el_seu_nom.subsonic.org.
+ o compartir-ho amb la fam\u00EDlia i amics. Aconsegueixi la seva adre\u00E7a personal el_seu_nom.libresonic.org.
gettingStarted.hide = No mostrar aquest missatge de nou
gettingStarted.hidealert = Per tal de tornar a mostrar aquest missatge, accedeixi a Configuraci\u00F3 > General.
@@ -182,8 +182,8 @@ more.random.year = i any
more.random.anyyear = Qualsevol
more.random.folder = i directori
more.random.anyfolder = Qualsevol
-more.apps.title = Subsonic Apps
-more.apps.text =
Hi ha aplicacions de Subsonic disponibles per a Android, iPhone, \
+more.apps.title = Libresonic Apps
+more.apps.text =
Hi ha aplicacions de Libresonic disponibles per a Android, iPhone, \
Windows Phone 7 i AIR.
Vost\u00E8 pot controlar {0} amb qualsevol m\u00F2bil que tingui el WAP activat o amb una PDA. \
@@ -212,13 +212,13 @@ upload.unzipped = Descomprimit {0}
# help.jsp
help.title = Quant a {0}
help.upgrade = Avis! Una nova versi\u00F3 est\u00E0 disponible. Descarregar {0} {1} \
- aqu\u00ED.
+ aqu\u00ED.
help.version.title = Versi\u00F3
help.builddate.title = Data de creaci\u00F3
help.server.title = Server
help.license.title = Llic\u00E8ncia
help.license.text = {0} es software lliure distribu\u00EFt sota llic\u00E8ncia de codi obert GPL. \
- {0} usa llibreries de tercers sota les respectives llic\u00E8ncies. Si us plau, noti que {0} NO \
+ {0} usa llibreries de tercers sota les respectives llic\u00E8ncies. Si us plau, noti que {0} NO \
\u00E9s una eina per a la distribuci\u00F3 il\u00B7legal de material amb copyright. Prengui atenci\u00F3 a les lleis espec\u00EDfiques del seu pa\u00EDs envers aquest punt.
help.homepage.title = P\u00E0gina web del projecte
help.forum.title = F\u00F2rum
@@ -227,7 +227,7 @@ help.contact.title = Contacte
help.contact.text = {0} est\u00E0 desenvolupat i mantingut per Sindre Mehus \
(sindre@activeobjects.no). \
Si vost\u00E8 t\u00E9 alguna pregunta, comentari o suggeriment, si us plau visiti \
- Subsonic Forum.
+ Libresonic Forum.
help.log = Log
help.logfile = El log complet esta guardat a {0}.
@@ -345,7 +345,7 @@ musicfoldersettings.organizebyfolderstructure.description = Usi aquesta opci\u00
# networkSettings.jsp
networksettings.text = Usi els seg\u00FCents par\u00E0metres per a controlar com s'accedeix al seu servidor Libresonic a trav\u00E9s de Internet. \
- Si experimenta algun tipus de contratemps, visiti la guia de Primers passos.
+ Si experimenta algun tipus de contratemps, visiti la guia de Primers passos.
networksettings.portforwardingenabled = Configuri el seu router de manera autom\u00E0tica per tal de permetre les connexions entrants a Libresonic (usant reenviament de ports UPnP o NAT-PMP).
networksettings.portforwardinghelp = Si el seu router no es pot configurar de manera autom\u00E0tica pot intentar configurar-lo de manera manual. \
Pot intentar seguir les instruccions de portforward.com. \
@@ -370,7 +370,7 @@ transcodingsettings.info =
(%s = el format de l'arxiu que vole
necessita espai de disc extra.
\
El canvi de format es realitza mitjan\u00E7ant programes de l\u00EDnia de comandes de tercers els quals s'han de trobar instal\u00B7lats en {0}. \
Un paquet de windows pel canvi de format \
- est\u00E0 disponible aqu\u00ED. Vost\u00E8 pot afegir el seu propi programa \
+ est\u00E0 disponible aqu\u00ED. Vost\u00E8 pot afegir el seu propi programa \
si compleix els seg\u00FCent requisits: \
\
Ha de tenir una interf\u00EDcie de l\u00EDnia de comandes.
\
@@ -559,7 +559,7 @@ share.facebook = Share on Facebook
share.twitter = Share on Twitter
share.googleplus = Share on Google+
share.link = Or share this with someone by sending them this link: {0}
-share.disabled = To share your music with someone you must first register your own subsonic.org address. \
+share.disabled = To share your music with someone you must first register your own libresonic.org address. \
Please go to Settings > Network (administrative rights required).
share.manage = Manage my shared media
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_cs.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_cs.properties
similarity index 96%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_cs.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_cs.properties
index 5fa7ef2d..965b7a99 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_cs.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_cs.properties
@@ -70,7 +70,7 @@ top.more = V\u00EDce
top.help = N\u00E1pov\u011Bda
top.search = Hledat
top.upgrade = Je dostupn\u00E1 nov\u00E1 verze. St\u00E1hnout {0} {1} \
- zde.
+ zde.
top.missing = Nebyly nalezeny \u017E\u00E1dn\u00E9 slo\u017Eky m\u00E9di\u00ED. Zm\u011B\u0148te nastaven\u00ED.
top.logout = Odhl\u00E1sit u\u017Eivatele {0}
top.getpremium = Z\u00EDskat Subsonic Premium
@@ -173,9 +173,9 @@ search.hits.songs = Skladby
gettingStarted.title = Za\u010D\u00EDn\u00E1me
gettingStarted.text =
V\u00EDt\u00E1 v\u00E1s Libresonic! Nastaven\u00ED bude provedeno b\u011Bhem p\u00E1r okam\u017Eik\u016F, postupujte podle n\u00ED\u017Ee uveden\u00FDch jednoduch\u00FDch krok\u016F. \
Pro n\u00E1vrat na tuto obrazovku klikn\u011Bte na tla\u010D\u00EDtko "Dom\u016F" v n\u00E1strojov\u00E9 li\u0161t\u011B naho\u0159e.
\
-
Pro v\u00EDce informac\u00ED si p\u0159e\u010Dt\u011Bte p\u0159\u00EDru\u010Dku Za\u010D\u00EDn\u00E1me (v anglick\u00E9m jazyce).
+
Pro v\u00EDce informac\u00ED si p\u0159e\u010Dt\u011Bte p\u0159\u00EDru\u010Dku Za\u010D\u00EDn\u00E1me (v anglick\u00E9m jazyce).
gettingStarted.root = Upozorn\u011Bn\u00ED! Proces Libresonic b\u011B\u017E\u00ED jako u\u017Eivatel root. Uva\u017Eujte o \
- zm\u011Bn\u011B.
+ zm\u011Bn\u011B.
gettingStarted.step1.title = Zm\u011B\u0148te heslo spr\u00E1vce.
gettingStarted.step1.text = Zabezpe\u010Dte si sv\u016Fj server zm\u011Bnou v\u00FDchoz\u00EDho hesla pro \u00FA\u010Det administr\u00E1tora. \
M\u016F\u017Eete tak\u00E9 vytvo\u0159it nov\u00E9 \u00FA\u010Dty u\u017Eivatel\u016F s rozd\u00EDln\u00FDmi opr\u00E1vn\u011Bn\u00EDmi.
@@ -184,7 +184,7 @@ gettingStarted.step2.text = Ur\u010Dete slo\u017Eky, kde m\u00E1te svou hudbu a
gettingStarted.step3.title = Nastavte s\u00ED\u0165.
gettingStarted.step3.text = N\u011Bkter\u00E1 u\u017Eite\u010Dn\u00E1 nastaven\u00ED, pokud si chcete u\u017E\u00EDvat svou hudbu z internetu, \
nebo ji sd\u00EDlet s rodinou a p\u0159\u00E1teli. Z\u00EDskejte svou soukromou adresu \
- vasejmeno.subsonic.org.
+ vasejmeno.libresonic.org.
gettingStarted.hide = Toto znovu nezobrazovat
gettingStarted.hidealert = Pro op\u011Btovn\u00E9 zobrazen\u00ED t\u00E9to obrazovky p\u0159ejd\u011Bte do Nastaven\u00ED > Obecn\u00E9.
@@ -232,13 +232,13 @@ more.random.year = a roku
more.random.anyyear = Jak\u00FDkoliv
more.random.folder = ve slo\u017Ece
more.random.anyfolder = Jak\u00E1koliv
-more.apps.title = Aplikace Subsonicu
-more.apps.text =
Vyzkou\u0161ejte neust\u00E1le rostouc\u00ED seznam aplikac\u00ED Subsonicu. \
+more.apps.title = Aplikace Libresonicu
+more.apps.text =
Vyzkou\u0161ejte neust\u00E1le rostouc\u00ED seznam aplikac\u00ED Libresonicu. \
Poskytuj\u00ED z\u00E1bavu a alternativn\u00ED zp\u016Fsoby, jak si u\u017E\u00EDt svou sb\u00EDrku m\u00E9di\u00ED - bez ohledu na to, kde se nach\u00E1z\u00EDte. \
Aplikace jsou dostupn\u00E9 pro Android, iPhone, Windows Phone, BlackBerry, Roku a spoustu dal\u0161\u00EDch.
more.minisub.title = MiniSub
-more.minisub.text =
MiniSub je HTML5 minip\u0159ehr\u00E1va\u010D pro Subsonic. \
- Je sou\u010D\u00E1st\u00ED webov\u00E9 aplikace Subsonicu, pro jeho spu\u0161t\u011Bn\u00ED klikn\u011Bte sem, \
+more.minisub.text =
MiniSub je HTML5 minip\u0159ehr\u00E1va\u010D pro Libresonic. \
+ Je sou\u010D\u00E1st\u00ED webov\u00E9 aplikace Libresonicu, pro jeho spu\u0161t\u011Bn\u00ED klikn\u011Bte sem, \
nebo nav\u0161tivte str\u00E1nku GitHub pro z\u00EDsk\u00E1n\u00ED nejnov\u011Bj\u0161\u00ED verze. \
Je tak\u00E9 dostupn\u00FD jako aplikace Chrome.
more.mobile.title = Mobiln\u00ED telefon
@@ -267,7 +267,7 @@ upload.unzipped = Rozbaleno {0}
# help.jsp
help.title = O aplikaci {0}
help.upgrade = Pozor! Je dostupn\u00E1 nov\u00E1 verze. St\u00E1hnout {0} {1} \
- zde.
+ zde.
help.premium.title = Licence
help.premium.expires = (vypr\u0161\u00ED {0})
help.premium.upgrade = Upgradujte na Subsonic Premium, abyste si u\u017Eili spoustu funkc\u00ED nav\u00EDc!
@@ -277,7 +277,7 @@ help.builddate.title = Datum sestaven\u00ED
help.server.title = Server
help.license.title = Podm\u00EDnky pou\u017Eit\u00ED
help.license.text = {0} je software distribuovan\u00FD pod GPL open-source licenc\u00ED. \
- {0} pou\u017E\u00EDv\u00E1 licencovan\u00E9 knihovny t\u0159et\u00EDch stran. Uv\u011Bdomte si, \u017Ee {0} nen\u00ED \
+ {0} pou\u017E\u00EDv\u00E1 licencovan\u00E9 knihovny t\u0159et\u00EDch stran. Uv\u011Bdomte si, \u017Ee {0} nen\u00ED \
n\u00E1stroj pro neleg\u00E1ln\u00ED distribuci materi\u00E1lu chr\u00E1n\u011Bn\u00E9ho autorsk\u00FDmi pr\u00E1vy. V\u017Edy v\u011Bnujte pozornost a dodr\u017Eujte p\u0159\u00EDslu\u0161n\u00E9 z\u00E1kony va\u0161\u00ED zem\u011B.
help.homepage.title = Domovsk\u00E1 str\u00E1nka
help.forum.title = F\u00F3rum
@@ -286,7 +286,7 @@ help.contact.title = Kontakt
help.contact.text = {0} je vyv\u00EDjen a udr\u017Eov\u00E1n Sindrem Mehusem \
(sindre@activeobjects.no). \
Jestli\u017Ee m\u00E1te jak\u00FDkoliv dotaz, p\u0159ipom\u00EDnku nebo n\u00E1m\u011Bt na zlep\u0161en\u00ED, nav\u0161tivte \
- f\u00F3rum Subsonicu.
+ f\u00F3rum Libresonicu.
help.log = Protokol
help.logfile = Kompletn\u00ED protokol je ulo\u017Een v {0}.
@@ -409,7 +409,7 @@ musicfoldersettings.organizebyfolderstructure.description = Tuto volbu pou\u017E
# networkSettings.jsp
networksettings.text = Pomoc\u00ED n\u00ED\u017Ee uveden\u00FDch nastaven\u00ED ur\u010Dete, jak p\u0159istupovat k va\u0161emu serveru Libresonic z internetu. \
- Pokud naraz\u00EDte na pot\u00ED\u017Ee, p\u0159e\u010Dt\u011Bte si p\u0159\u00EDru\u010Dku Za\u010D\u00EDn\u00E1me.
+ Pokud naraz\u00EDte na pot\u00ED\u017Ee, p\u0159e\u010Dt\u011Bte si p\u0159\u00EDru\u010Dku Za\u010D\u00EDn\u00E1me.
networksettings.portforwardingenabled = Automaticky nakonfigurovat router tak, aby umo\u017Enil p\u0159\u00EDchoz\u00ED p\u0159ipojen\u00ED k Libresonicu (pomoc\u00ED UPnP nebo p\u0159esm\u011Brov\u00E1n\u00ED port\u016F NAT-PMP).
networksettings.portforwardinghelp = Pokud v\u00E1\u0161 router nem\u016F\u017Ee b\u00FDt nakonfigurov\u00E1n automaticky, m\u016F\u017Eete ho nastavit ru\u010Dn\u011B. \
Postupujte podle pokyn\u016F na portforward.com. \
@@ -633,7 +633,7 @@ share.facebook = Sd\u00EDlet na Facebooku
share.twitter = Sd\u00EDlet na Twiteru
share.googleplus = Sd\u00EDlet na Google+
share.link = Nebo sd\u00EDlejte s k\u00FDmkoliv posl\u00E1n\u00EDm tohoto odkazu: {0}
-share.disabled = Abyste s n\u011Bk\u00FDm mohli sd\u00EDlet svou hudbu, mus\u00EDte si nejd\u0159\u00EDv zaregistrovat vlastn\u00ED adresu na subsonic.org. \
+share.disabled = Abyste s n\u011Bk\u00FDm mohli sd\u00EDlet svou hudbu, mus\u00EDte si nejd\u0159\u00EDv zaregistrovat vlastn\u00ED adresu na libresonic.org. \
P\u0159ejd\u011Bte na Nastaven\u00ED > S\u00ED\u0165 (jsou vy\u017Eadov\u00E1na opr\u00E1vn\u011Bn\u00ED administr\u00E1tora).
share.manage = Spravovat m\u00E1 sd\u00EDlen\u00E1 m\u00E9dia
@@ -642,11 +642,11 @@ premium.title = Subsonic Premium
premium.invalidlicense = Neplatn\u00FD licen\u010Dn\u00ED kl\u00ED\u010D.
premium.text =
Upgradujte na Subsonic Premium, abyste si u\u017Eili tyto dal\u0161\u00ED funkce:
\
\
-
Aplikace pro Android, iPhone, Blackberry a Windows Phone*.
\
-
Aplikace pro Mac, Windows, Chrome, Roku a spoustu dal\u0161\u00EDch*.
\
+
Aplikace pro Android, iPhone, Blackberry a Windows Phone*.
\
+
Aplikace pro Mac, Windows, Chrome, Roku a spoustu dal\u0161\u00EDch*.
Du kan styre {0} fra en WAP-mobiltelefon eller PDA. \
@@ -166,7 +166,7 @@ upload.unzipped = Udpakket {0}
# Help.jsp
help.title = Om {0}
help.upgrade = Bem\u00E6rk! En ny version er tilg\u00E6ngelig. Download {0} {1} \
- her.
+ her.
help.version.title = Version
help.builddate.title = Oprettelsesdato
help.server.title = Server
@@ -180,7 +180,7 @@ help.contact.title = Kontakt
help.contact.text = {0} er udviklet og vedligeholdes af Sindre Mehus \
( sindre@activeobjects.no ). \
Hvis du har sp\u00F8rgsm\u00E5l, kommentarer eller forslag til forbedringer, kan du bes\u00F8ge \
- Subsonic Forum.
+ Libresonic Forum.
help.log = Log
help.logfile = Den komplette log er gemt i {0}.
@@ -299,7 +299,7 @@ transcodingsettings.info =
(% s = Den fil, der skal omkodet,%
giver mulighed for streaming af medier, der normalt ville ikke v\u00E6re mulige at streame. Denne omkodning er foretaget on-the-fly og kr\u00E6ver nogen diskaktivitet.
\
Den faktiske omkodning er udf\u00F8rt af tredjepart kommandolinje-programmer, som skal installeres i {0}. \
En omkodning pakke til Windows \
- er tilg\u00E6ngelig her. Du kan tilf\u00F8je dine egne brugerdefinerede omkodninger og kaldet transcoder, hvis det \
+ er tilg\u00E6ngelig her. Du kan tilf\u00F8je dine egne brugerdefinerede omkodninger og kaldet transcoder, hvis det \
opfylder f\u00F8lgende krav: \
\
Den skal have en kommandolinje-gr\u00E6nseflade.
\
@@ -458,7 +458,7 @@ gettingStarted.step2.title = Indstil medie mapper.
gettingStarted.step2.text = Fort\u00E6l Libresonic hvor du opbevarer din medie.
gettingStarted.step3.title = Konfigurer netv\u00E6rksindstillinger.
gettingStarted.step3.text = Nogle nyttige indstillinger, hvis du vil nyde din medie over internettet, \
- eller dele det med familie og venner. F\u00E5 din personlige ditnavn.subsonic.org adresse.
+ eller dele det med familie og venner. F\u00E5 din personlige ditnavn.libresonic.org adresse.
gettingStarted.hide = Vis ikke denne igen
gettingStarted.hidealert = For at vise dette sk\u00E6rmbillede igen, skal du g\u00E5 til Indstillinger > Generel.
@@ -512,7 +512,7 @@ share.warning =
VIGTIG INFORMATION!
Undg\u00E5 at dele ophavsretligt
share.facebook = Del p\u00E5 Facebook
share.twitter = Del p\u00E5 Twitter
share.link = Eller dele dette med nogen, ved at sende dem dette link: {0}
-share.disabled = Hvis du vil dele din medie med nogen, skal du f\u00F8rst registrere din egen subsonic.org address. \
+share.disabled = Hvis du vil dele din medie med nogen, skal du f\u00F8rst registrere din egen libresonic.org address. \
G\u00E5 til Settings > Network (administrative rights required).
share.manage = Administrere mine delte medier
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_de.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_de.properties
similarity index 96%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_de.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_de.properties
index 2ecb6897..a7ab9064 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_de.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_de.properties
@@ -68,7 +68,7 @@ top.more = Mehr
top.help = Hilfe
top.search = Suchen
top.upgrade = Eine neue Version ist erh\u00E4ltlich. Download {0} {1} \
- hier.
+ hier.
top.missing = Keine Musikordner gefunden. Bitte die Einstellungen \u00FCberpr\u00FCfen.
top.logout = Ausloggen {0}
@@ -176,7 +176,7 @@ gettingStarted.step2.title = Musikordner einrichten.
gettingStarted.step2.text = Zeige Libresonic wo sich deine Musik befindet.
gettingStarted.step3.title = Konfiguriere Netzwerk Einstellungen.
gettingStarted.step3.text = Einige n\u00FCtzliche Einstellungen um ihre Musik \u00FCber das Internet geniessen zu k\u00F6nnen, \
- oder um sie mit Freunden oder Familie zu teilen. Holen sie sich ihre pers\u00F6nliche DeinName.subsonic.org \
+ oder um sie mit Freunden oder Familie zu teilen. Holen sie sich ihre pers\u00F6nliche DeinName.libresonic.org \
Addresse.
gettingStarted.hide = Nicht wieder anzeigen
gettingStarted.hidealert = Um diesen Bildschirm wieder anzuzeigen, gehe zu Einstellungen > Allgemein.
@@ -224,13 +224,13 @@ more.random.year = und dem Jahr
more.random.anyyear = Alle
more.random.folder = im Verzeichnis
more.random.anyfolder = Alle
-more.apps.title = Subsonic Apps
-more.apps.text =
Schauen sie in die stetig wachsende Liste der Subsonic Anwendungen. \
+more.apps.title = Libresonic Apps
+more.apps.text =
Schauen sie in die stetig wachsende Liste der Libresonic Anwendungen. \
Diese sorgt f\u00FCr Spa\u00DF und alternative M\u00F6glichkeiten um ihre Mediensammlung genie\u00DFen zu k\u00F6nnen - Egal wo sie gerade sind. \
Die Apps sind verf\u00FCgbar f\u00FCr Android, iPhone, Windows Phone, BlackBerry, Roku und viele mehr.
Jamstash ist ein HTML5 Player f\u00FCr Subsonic. Klicke hier um ihn zu starten. \
+more.jamstash.text =
Jamstash ist ein HTML5 Player f\u00FCr Libresonic. Klicke hier um ihn zu starten. \
Auch verf\u00FCgbar als Chrome App.
more.status.title = Netzwerk Status
more.status.text = \u00DCberwache den Echtzeit-Status all deiner Netzwerk-Medienstreams.
@@ -261,7 +261,7 @@ upload.unzipped = Entpackt {0}
# help.jsp
help.title = \u00DCber {0}
help.upgrade = Note! Eine neue Version ist erh\u00E4ltlich. Download {0} {1} \
- hier.
+ hier.
help.version.title = Version
help.builddate.title = Erstellungs Datum
help.server.title = Server
@@ -274,7 +274,7 @@ help.contact.title = Kontakt
help.contact.text = {0} ist von Sindre Mehus entwickelt worden \
(sindre@activeobjects.no). \
Wenn du Fragen, Kommentare oder Vorschl\u00E4ge f\u00FCr Verbesserungen hast, dann besuche bitte das \
- Subsonic Forum.
+ Libresonic Forum.
help.log = Log
help.logfile = Der komplette Log ist gespeichert in {0}.
@@ -427,7 +427,7 @@ transcodingsettings.info =
(%s = Die Datei die transcodiert wi
Festplattenspeicher.
\
Das Transcoding wird von Drittanbieter-Kommandozeilenprogrammen \u00FCbernommen, welche in {0} installiert sein m\u00FCssen. \
Mehr \u00FCber das Transcoding erf\u00E4hrst du \
- hier hier. Du kannst deinen eigenen Transcoder verwenden, wenn er \
+ hier hier. Du kannst deinen eigenen Transcoder verwenden, wenn er \
folgende Funktionen erf\u00FCllt: \
\
Er muss ein Kommandozeilen-Interface haben.
\
@@ -490,7 +490,7 @@ sonossettings.enabled = Erm\u00F6gliche Sonos Musik-Service
sonossettings.description = Verwenden Sie diese Option um den Sonos-Musikdienst in Libresonic zu aktivieren, \
und streamen Sie ihre Medien zu Sonos-Ger\u00E4ten in ihrem lokalen Netzwerk. Denken sie daran, Libresonic \
in ihrem Sonos-Controller als Musik-Dienst hinzuzuf\u00FCgen. Besuchen Sie \
- sonos.subsonic.org f\u00FCr mehr Infos. \
+ sonos.libresonic.org f\u00FCr mehr Infos. \
Zur Fehlersuche, schauen sie hier im log.
sonossettings.servicename = Musik-Dienst Name
sonossettings.servicename.description = Der Name des Musik-Dienstes wie er im Sonos-Controller angezeigt wird.
@@ -525,20 +525,20 @@ share.warning =
WICHTIGER HINWEIS!
Play fair – Teile in keinste
share.facebook = Teile auf Facebook
share.twitter = Teile auf Twitter
share.link = Oder teile es mit jemanden indem du diesen Link weitergibst: {0}
-share.disabled = Um Musik mit jemanden teilen zu k\u00F6nnen musst du erst deine eigene subsonic.org Addresse registrieren. \
+share.disabled = Um Musik mit jemanden teilen zu k\u00F6nnen musst du erst deine eigene libresonic.org Addresse registrieren. \
Bitte wechsle zu Settings > Network (Administratorrechte werden ben\u00F6tigt).
share.manage = Meine geteilten Medien verwalten
# premium.jsp
premium.title = Subsonic Premium
premium.invalidlicense = Ung\u00FCltiger Lizenzschl\u00FCssel.
-premium.text =
\
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_en.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_en.properties
similarity index 96%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_en.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_en.properties
index 03a9f1d1..db00da14 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_en.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_en.properties
@@ -70,7 +70,7 @@ top.more = More
top.help = About
top.search = Search
top.upgrade = A new version is available. Download {0} {1} \
- here.
+ here.
top.missing = No media folders found. Please change the settings.
top.logout = Log out {0}
top.getpremium = Get Subsonic Premium
@@ -179,9 +179,9 @@ search.hits.videos = Videos
gettingStarted.title = Getting started
gettingStarted.text =
Welcome to Libresonic! We'll set you up in no time, just follow the basic steps below. \
Click the "Home" button in the toolbar above to return to this screen.
\
-
For more information, please consult the Getting started guide.
+
For more information, please consult the Getting started guide.
gettingStarted.root = Warning! The Libresonic process is running as the root user. Please consider to \
- change this.
+ change this.
gettingStarted.step1.title = Change administrator password.
gettingStarted.step1.text = Secure your server by changing the default password for the administrator account. \
You can also create new user accounts with different privileges.
@@ -189,7 +189,7 @@ gettingStarted.step2.title = Set up media folders.
gettingStarted.step2.text = Tell Libresonic where you keep your music and videos.
gettingStarted.step3.title = Configure network settings.
gettingStarted.step3.text = Some useful settings if you want to enjoy your music remotely over the Internet, \
- or share it with family and friends. Get your personal yourname.subsonic.org \
+ or share it with family and friends. Get your personal yourname.libresonic.org \
address.
gettingStarted.hide = Don't show this again
gettingStarted.hidealert = To show this screen again, go to Settings > General.
@@ -239,12 +239,12 @@ more.random.year = and year
more.random.anyyear = Any
more.random.folder = in folder
more.random.anyfolder = Any
-more.apps.title = Subsonic Apps
-more.apps.text =
Check out the steadily growing list of Subsonic apps. \
+more.apps.title = Libresonic Apps
+more.apps.text =
Check out the steadily growing list of Libresonic apps. \
These provide fun and alternative ways to enjoy your media collection - no matter where you are. \
Apps are available for Android, iPhone, Windows Phone, BlackBerry, Roku and many more.
Jamstash is an HTML5 player for Subsonic. Click here to start it. \
+more.jamstash.text =
Jamstash is an HTML5 player for Libresonic. Click here to start it. \
Also available as a Chrome App.
more.status.title = Network Status
more.status.text = Monitor the real-time status of all network media streams.
@@ -274,7 +274,7 @@ upload.unzipped = Unzipped {0}
# help.jsp
help.title = About {0}
help.upgrade = Note! A new version is available. Download {0} {1} \
- here.
+ here.
help.premium.title = License
help.premium.expires = (expires {0})
help.premium.upgrade = Upgrade to Subsonic Premium to enjoy lots of extra features!
@@ -284,7 +284,7 @@ help.builddate.title = Build date
help.server.title = Server
help.license.title = Terms of use
help.license.text = {0} is free software distributed under the GPL open-source license. \
- {0} uses licensed third-party libraries. Please note that {0} is not \
+ {0} uses licensed third-party libraries. Please note that {0} is not \
a tool for illegal distribution of copyrighted material. Always pay attention to and follow the relevant laws specific to your country.
help.homepage.title = Homepage
help.forum.title = Forum
@@ -420,7 +420,7 @@ musicfoldersettings.organizebyfolderstructure.description = Use this option to b
# networkSettings.jsp
networksettings.text = Use the settings below to control how to access your Libresonic server over the Internet. \
- If you experience difficulties, please consult the Getting started guide.
+ If you experience difficulties, please consult the Getting started guide.
networksettings.portforwardingenabled = Automatically configure your router to allow incoming connections to Libresonic (using UPnP or NAT-PMP port forwarding).
networksettings.portforwardinghelp = If your router can''t be configured automatically you can set it up manually. \
Follow the instructions on portforward.com. \
@@ -518,7 +518,7 @@ sonossettings.enabled = Enable Sonos music service
sonossettings.description = Use this option to turn on the Sonos music service in Libresonic, \
and stream your media to Sonos devices on your local network. Remember to add Libresonic \
as a music service from your Sonos controller. Visit \
- sonos.subsonic.org for more info. \
+ sonos.libresonic.org for more info. \
For trouble-shooting, please see the log.
sonossettings.servicename = Music service name
sonossettings.servicename.description = The name of the music service as it will appear in the Sonos controller.
@@ -661,20 +661,20 @@ share.facebook = Share on Facebook
share.twitter = Share on Twitter
share.googleplus = Share on Google+
share.link = Or share this with someone by sending them this link: {0}
-share.disabled = To share your music with someone you must first register your own subsonic.org address. \
+share.disabled = To share your music with someone you must first register your own libresonic.org address. \
Please go to Settings > Network (administrative rights required).
share.manage = Manage my shared media
# premium.jsp
premium.title = Subsonic Premium
premium.invalidlicense = Invalid license key.
-premium.text =
Apps for Android, iPhone, Windows Phone, Mac, Chrome and more*.
\
+
Apps for Android, iPhone, Windows Phone, Mac, Chrome and more*.
\
Video streaming.
\
Stream to your Chromecast and Sonos devices.
\
Podcast receiver.
\
-
Your personal server address: yourname.subsonic.org (see Settings > Network).
\
+
Your personal server address: yourname.libresonic.org (see Settings > Network).
\
Play your media on compatible DLNA/UPnP devices.
\
Share your media on Facebook, Twitter, Google+.
\
No ads in the web interface.
\
@@ -688,7 +688,7 @@ premium.licensedexpired = Your Subsonic Premium license expired {0}
premium.licensedto = The license is registered to {0}.
premium.forcechange = Register a different license key
premium.register = When upgrading to Subsonic Premium you receive a license key by email. Please register it below.
-premium.resend = Lost the license key? Send it again.
+premium.resend = Lost the license key? Send it again.
premium.register.email = Email
premium.register.license = License key
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_en_GB.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_en_GB.properties
similarity index 88%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_en_GB.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_en_GB.properties
index 0c259c8a..e0d2ef71 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_en_GB.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_en_GB.properties
@@ -9,7 +9,7 @@ accessDenied.text = Sorry, you are not authorised to perform the requested opera
# help.jsp
help.license.text = {0} is free software distributed under the GPL open-source licence. \
- {0} uses licensed third-party libraries. Please note that {0} is not \
+ {0} uses licensed third-party libraries. Please note that {0} is not \
a tool for illegal distribution of copyrighted material. Always pay attention to and follow the relevant laws specific to your country.
# playerSettings.jsp
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_es.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_es.properties
similarity index 97%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_es.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_es.properties
index bd4055cb..79be91f5 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_es.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_es.properties
@@ -38,7 +38,7 @@ top.more = Más
top.help = Ayuda
top.search = Buscar
top.upgrade = Una nueva versión está disponible. Descargar {0} {1} \
- aquí.
+ aquí.
top.missing = No se encuentra ningún directorio de música. Por favor cambie la configuración.
top.logout = Desconectar {0}
@@ -138,7 +138,7 @@ upload.unzipped = Descomprimido {0}
# help.jsp
help.title = Sobre {0}
help.upgrade = ¡Aviso! Una nueva versión esta disponible. Descargue {0} {1} \
- aquí.
+ aquí.
help.version.title = Versión
help.builddate.title = Fecha de creación
help.license.title = Licencia
@@ -149,7 +149,7 @@ help.contact.title = Contacto
help.contact.text = {0} está desarrollado y mantenido por Sindre Mehus \
(sindre@activeobjects.no). \
Si usted tiene alguna pregunta, comentario o sugerencia de mejoras, por favor visite \
- Subsonic Forum.
+ Libresonic Forum.
help.log = Log
help.logfile = El log completo esta guardado en {0}.
@@ -228,7 +228,7 @@ transcodingsettings.info =
(%s = El fichero cuyo formato quere
necesita espacio en disco.
\
El cambio de formato se realiza por medio de programas de linea de comandos de terceros los cuales deben ser instalados en {0}. \
Un pack de windows para el cambio de formato \
- esta disponible aqui. Usted puede añadir su propio programa \
+ esta disponible aqui. Usted puede añadir su propio programa \
si cumple los siguientes requisitos: \
\
Debe tener una interface de linea de comandos.
\
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_et.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_et.properties
similarity index 96%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_et.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_et.properties
index 3cf4f23d..2a802865 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_et.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_et.properties
@@ -70,7 +70,7 @@ top.more = Rohkem
top.help = Info
top.search = Otsi
top.upgrade = Uuem versioon on saadaval. Lae alla {0} {1} \
- siit.
+ siit.
top.missing = Meediakauste ei leitud. Palun muuda seadeid.
top.logout = Logi välja {0}
top.getpremium = Hankige Subsonic Premium
@@ -173,9 +173,9 @@ search.hits.songs = Laulud
gettingStarted.title = Alustamine
gettingStarted.text =
Tere tulemast Libresonicusse! Me viime teid kurssi koheselt, selleks tuleb teil järgida antud põhisamme. \
Siia lehele naasmiseks kliki nuppu "Kodu" kõrvalolevas tööriistaribal.
\
-
Lisainfo saamiseks võtke ühendust Alustamine juhendist.
+
Lisainfo saamiseks võtke ühendust Alustamine juhendist.
gettingStarted.root = Hoiatus! Libresonicu protsess töötab kasutaja "root" volitusega. Kaaluge selle seade \
- muutmist.
+ muutmist.
gettingStarted.step1.title = Muuda administraatori parooli.
gettingStarted.step1.text = Muutke administraatori konto tavaparooli, et server oleks turvatud. \
Saate ka luua uusi kasutajakontosid erinevate juurdepääsudega.
@@ -183,7 +183,7 @@ gettingStarted.step2.title = Seadista meediakaustad.
gettingStarted.step2.text = Anna Libresonicule teada oma muusika ja videote hoiupaigast.
gettingStarted.step3.title = Seadista võrguseadeid.
gettingStarted.step3.text = Kui soovite nautide muusikat Interneti abil või tahate jagada seda koos oma pere ja sõpradega, siis vajalikud seadistused leiate siit, \
- Hangi endale oma sinunimi.subsonic.org \
+ Hangi endale oma sinunimi.libresonic.org \
aadress.
gettingStarted.hide = Ära enam kuva seda
gettingStarted.hidealert = Kui soovite seda teadet hiljem uuesti kuvada, siis leiate selle valiku alt Seaded > Põhiline.
@@ -232,12 +232,12 @@ more.random.year = ja aasta
more.random.anyyear = Suvaline
more.random.folder = kaustas
more.random.anyfolder = Suvaline
-more.apps.title = Subsonicu rakendused
-more.apps.text =
Minge uurige uusi ja ägedaid Subsonicu rakendusi. \
+more.apps.title = Libresonicu rakendused
+more.apps.text =
Minge uurige uusi ja ägedaid Libresonicu rakendusi. \
Need teevad sinu meedia kollektsiooni nautimise lõbusamaks ja pakub alternatiivseid viise selleks - asukohast hoolimata. \
Rakendused on saadavad järgmistele nutitelefonidele: Android, iPhone, Windows Phone, BlackBerry, Roku ja paljud teised.
Sa haldad {0} igalt WAP-toetatud mobiiltelefonilt või PDA kaudu. \
@@ -265,7 +265,7 @@ upload.unzipped = {0} on lahti pakitud
# help.jsp
help.title = Info {0}´i kohta
help.upgrade = Note! Saadaval on uuem versioon. Lae alla {0} {1} \
- siit.
+ siit.
help.premium.title = Litsents
help.premium.expires = (aegub {0})
help.premium.upgrade = Paljude lisavõimaluste nautimiseks hankigeSubsonic Premium!
@@ -275,7 +275,7 @@ help.builddate.title = Valmistamiskuupäev
help.server.title = Server
help.license.title = Kasutajatingimused
help.license.text = {0} on vabavaraline tarkvara levitaja GPL avatud lähtekoodiga lepingu alusel. \
- {0} kasutab litsenseeritud kolmanda osapoole lisasid. Pea meeles, et {0} pole \
+ {0} kasutab litsenseeritud kolmanda osapoole lisasid. Pea meeles, et {0} pole \
võimalus, mille abil rikutakse autoriõigusi. Alati pane tähele ning järgi oma riigile vastavaid põhiseaduseid.
help.homepage.title = Kodulehekülg
help.forum.title = Foorum
@@ -284,7 +284,7 @@ help.contact.title = Võta ühendust
help.contact.text = {0}u arendajaks ja ülalpidajaks on Sindre Mehus \
(sindre@activeobjects.no). \
Kui sul on küsimusi, kommentaare või soovitusi portaali täiustamiseks siis palun külasta \
- Subsonicu foorumit.
+ Libresonicu foorumit.
help.log = Logi
help.logfile = Kokkuvõtlik logi on salvestatud asukohta {0}.
@@ -408,7 +408,7 @@ musicfoldersettings.organizebyfolderstructure.description = Kasuta seda valikut,
# networkSettings.jsp
networksettings.text = Kasuta seda seadet, et hallata ligipääsu Libresonicu serverisse Interneti kaudu. \
- Kui ilmneb raskusi siis tutvuge Sissejuhatuse peatükiga.
+ Kui ilmneb raskusi siis tutvuge Sissejuhatuse peatükiga.
networksettings.portforwardingenabled = Automaatselt seadista oma ruuter, et Libresonicu ühendused oleks alati lubatud (kasutatakse UPnP või NAT-PMP pordi saatmist).
networksettings.portforwardinghelp = Ruuterit on ka võimalik seadistada käsitsi, kui automaatselt ei saa. \
Järgi juhendeid portaalil portforward.com. \
@@ -634,7 +634,7 @@ share.facebook = Jaga Facebookis
share.twitter = Jaga Twitteris
share.googleplus = Jaga Google+-is
share.link = Või saatmiseks kasutage linki: {0}
-share.disabled = Esmalt, et saaksite muusikat jagada kellegagi, peate te registreerima oma subsonic.org aadressi. \
+share.disabled = Esmalt, et saaksite muusikat jagada kellegagi, peate te registreerima oma libresonic.org aadressi. \
Palun mine Seaded > Võrk (administraatori õigus on vajalik).
share.manage = Halda minu jagatud meediat
@@ -643,11 +643,11 @@ premium.title = Subsonic Premium
premium.invalidlicense = Vigage litsentsivõti.
premium.text =
Nende lisavõimaluste nautimiseks peate hankima Subsonic Premiumi:
\
\
-
Rakendused Androidile, iPhoneile ja Windows Phoneile*.
\
-
Rakendused BlackBerryiel, Rokule, Macile, Windowsile, Chrome´le ja paljudele teistele*.
\
+
Rakendused Androidile, iPhoneile ja Windows Phoneile*.
\
+
Rakendused BlackBerryiel, Rokule, Macile, Windowsile, Chrome´le ja paljudele teistele*.
\
Video edastus.
\
Taskupleieri kasutusvõimalus (Podcast).
\
-
Teie personaalse nimega serveriaadress: teienimi.subsonic.org (asub Seaded > Võrk).
\
+
Teie personaalse nimega serveriaadress: teienimi.libresonic.org (asub Seaded > Võrk).
\
Esitage oma meediattoetatud DLNA/UPnP seadmetes.
\
Jagage oma meediat Facebookis, Twitteris, Google+´is.
\
Reklaamivaba interneti kasutajaliides.
\
@@ -661,7 +661,7 @@ premium.licensedexpired = Teie Subsonic Premiumi litsents aegub {0}
premium.licensedto = Litsents on registreeritud aadressile {0}.
premium.forcechange = Registreerige teise litsentsi võtmega
premium.register = Subsonic Premiumi litsentsi võtme leiate oma e-postist. Palun registreerige see kõrvalolevast ankeedist.
-premium.resend = Kaotasite litsentsi võtme? Saatke see uuesti.
+premium.resend = Kaotasite litsentsi võtme? Saatke see uuesti.
premium.register.email = E-spost
premium.register.license = Litsentsi võti
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_fi.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_fi.properties
similarity index 98%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_fi.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_fi.properties
index 8e3508b4..14b64eba 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_fi.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_fi.properties
@@ -45,7 +45,7 @@ top.more = Lis\u00E4\u00E4
top.help = Tuki
top.search = Etsi
top.upgrade = Uusi ohjelmaversio on saatavilla. Lataa {0} {1} \
- t\u00E4st\u00E4.
+ t\u00E4st\u00E4.
top.missing = Musiikkikansioita ei l\u00F6ydy. Tarkista asetukset.
top.logout = Kirjaa ulos {0}
@@ -113,7 +113,7 @@ gettingStarted.step2.title = M\u00E4\u00E4rit\u00E4 musiikkikansioiden sijainti.
gettingStarted.step2.text = M\u00E4\u00E4rit\u00E4 Libresonic-ohjelmalle musiikkikansioiden sijainti.
gettingStarted.step3.title = M\u00E4\u00E4rit\u00E4 verkkoasetukset.
gettingStarted.step3.text = Hy\u00F6dyllisi\u00E4 asetuksia jos haluat kuunnella musiikkia internetin yli. \
- M\u00E4\u00E4rit\u00E4 helposti muistettava yourname.subsonic.org \
+ M\u00E4\u00E4rit\u00E4 helposti muistettava yourname.libresonic.org \
osoite.
gettingStarted.hide = \u00C4l\u00E4 n\u00E4yt\u00E4 t\u00E4t\u00E4 sivua en\u00E4\u00E4.
gettingStarted.hidealert = T\u00E4m\u00E4n sivun saat uudelleen n\u00E4kyviin valitsemalla Asetukset > Yleiset.
@@ -180,13 +180,13 @@ upload.unzipped = Purettu {0}
# help.jsp
help.title = Ohjelma {0}
help.upgrade = Huomio! Uusi ohjelmaversio on saatavilla. Lataa {0} {1} \
- t\u00E4st\u00E4.
+ t\u00E4st\u00E4.
help.version.title = Versio
help.builddate.title = Build date
help.server.title = Serveri
help.license.title = Lisenssi
help.license.text = {0} is free software distributed under the GPL open-source license. \
- {0} uses licensed third-party libraries.
+ {0} uses licensed third-party libraries.
help.homepage.title = Kotisivu
help.forum.title = Foorumi
help.shop.title = Oheistuotteet
@@ -194,7 +194,7 @@ help.contact.title = Yhteystiedot
help.contact.text = {0} ohjelman on kehitt\u00E4nyt ja yll\u00E4pit\u00E4\u00E4 Sindre Mehus \
(sindre@activeobjects.no). \
Jos sinulla on kysytt\u00E4v\u00E4\u00E4, kommentoitavaa tai parannusehdotuksia ohjelmaan, vieraile \
- Subsonic Foorumissa.
+ Libresonic Foorumissa.
help.log = Loki
help.logfile = T\u00E4ydellinen loki on tallennettu {0}.
@@ -320,9 +320,9 @@ transcodingsettings.info =
(%s = Tiedosto, mik\u00E4 muunnetaa
Muuntaminen on prosessi, miss\u00E4 tiedostotyyppi muunnetaan toiseksi tiedostotyypiksi. {1}'ohjelma \
antaa striimata my\u00F6s mediaa, mik\u00E4 normaalisti ei olisi striimattavissa. Muunnos tehd\u00E4\u00E4n lennossa, eik\u00E4 se \
vaadi levytilaa.
\
-
Varsinaisen muunnoksen suorittaa kolmannen osapuolen komentoriviohjelma, mik\u00E4 tulee asentaa kansioon c:|subsonic|transcode. \
+
Varsinaisen muunnoksen suorittaa kolmannen osapuolen komentoriviohjelma, mik\u00E4 tulee asentaa kansioon c:|libresonic|transcode. \
Muunnosohjelma Windowsiin \
- on saatavilla t\u00E4\u00E4lt\u00E4. \
+ on saatavilla t\u00E4\u00E4lt\u00E4. \
Voit k\u00E4ytt\u00E4\u00E4 my\u00F6s jotain muuta ohjelmaa jos se t\u00E4ytt\u00E4\u00E4 seuraavat ehdot: \
\
Siin\u00E4 pit\u00E4\u00E4 olla komentorivik\u00E4ytt\u00F6liittym\u00E4.
\
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_fr.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_fr.properties
similarity index 96%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_fr.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_fr.properties
index 036f60be..2b4dec1d 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_fr.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_fr.properties
@@ -67,7 +67,7 @@ top.more = Plus
top.help = Aide
top.search = Rechercher
top.upgrade = Une nouvelle version est disponible. T\u00E9l\u00E9charger {0} {1} \
- ici.
+ ici.
top.missing = Aucun fichier trouv\u00E9. Veuillez modifier vos param\u00E8tres.
top.logout = Se d\u00E9connecter
@@ -164,7 +164,7 @@ search.hits.songs = Titres
gettingStarted.title = D\u00E9marrage rapide
gettingStarted.text =
Bienvenue sur Libresonic ! Suivez les quelques \u00E9tapes ci-dessous pour commencer \u00E0 l''utiliser. \
Cliquez le bouton "Accueil" dans la barre du haut pour revenir sur cette page.
gettingStarted.step1.title = Changer le mot de passe administrateur.
gettingStarted.step1.text = S\u00E9curisez votre installation en modifiant le mot de passe du compte administrateur. \
Vous pouvez aussi cr\u00E9er de nouveaux comptes utilisateurs avec diff\u00E9rents privil\u00E8ges.
@@ -172,11 +172,11 @@ gettingStarted.step2.title = G\u00E9rer les dossiers de musique.
gettingStarted.step2.text = Libresonic doit savoir dans quel dossier se trouve votre musique.
gettingStarted.step3.title = Configurer les r\u00E9glages r\u00E9seau.
gettingStarted.step3.text = Quelques r\u00E9glages pour acc\u00E9der \u00E0 votre musique depuis Internet, \
- ou la partager avec votre famille ou vos amis. Obtenez votre adresse personnelle votre nom.subsonic.org.
+ ou la partager avec votre famille ou vos amis. Obtenez votre adresse personnelle votre nom.libresonic.org.
gettingStarted.hide = Ne plus montrer cet \u00E9cran
gettingStarted.hidealert = Pour afficher cet \u00E9cran \u00E0 nouveau, allez dans Param\u00E8tres > G\u00E9n\u00E9ral.
-gettingStarted.root = Attention ! Le processus de subsonic a \u00E9t\u00E9 lanc\u00E9 par l''utilisateur root. Nous vous conseillons de \
- modifier ce point.
+gettingStarted.root = Attention ! Le processus de libresonic a \u00E9t\u00E9 lanc\u00E9 par l''utilisateur root. Nous vous conseillons de \
+ modifier ce point.
# home.jsp
home.random.title = Al\u00E9atoire
@@ -219,7 +219,7 @@ more.random.anyyear = Toutes les ann\u00E9es
more.random.folder = et du dossier
more.random.anyfolder = Tous les dossiers
more.apps.title = Applications
-more.apps.text = Des applications Subsonic sont disponibles pour iPhone, \
+more.apps.text = Des applications Libresonic sont disponibles pour iPhone, \
Android et AIR.
more.mobile.title = T\u00E9l\u00E9phone mobile
more.mobile.text =
Vous pouvez controler {0} \u00E0 partir de votre t\u00E9l\u00E9phone mobile. \
@@ -245,13 +245,13 @@ upload.unzipped = D\u00E9compress\u00E9 {0}
# help.jsp
help.title = A propos de {0}
help.upgrade = Note! Une nouvelle version est disponible. T\u00E9l\u00E9charger {0} {1} \
- ici.
+ ici.
help.version.title = Version
help.builddate.title = Date
help.server.title = Serveur
help.license.title = Licence
help.license.text = {0} est un logiciel gratuit distribu\u00E9 sous licence GPL. \
- {0} utilise une biblioth\u00E8que tiers autoris\u00E9e. Veuillez noter qu''il n''est pas \
+ {0} utilise une biblioth\u00E8que tiers autoris\u00E9e. Veuillez noter qu''il n''est pas \
destin\u00E9 \u00E0 partager ill\u00E9galement des oeuvres non-libres de droit. Renseignez-vous sur les lois en vigueur dans votre pays.
help.homepage.title = Page d'accueil
help.forum.title = Forum
@@ -260,7 +260,7 @@ help.contact.title = Contact
help.contact.text = {0} est developp\u00E9 et maintenu par Sindre Mehus \
(sindre@activeobjects.no). \
Si vous avez des questions, commentaires ou suggestions pour l''am\u00E9liorer, visitez le \
- Forum Subsonic.
+ Forum Libresonic.
help.log = Log
help.logfile = L''historique complet est sauvegard\u00E9e dans {0}.
@@ -363,7 +363,7 @@ musicfoldersettings.nopath = Veuillez indiquer un dossier.
# networkSettings.jsp
networksettings.text = Compl\u00E9tez les options ci-dessous afin de d\u00E9finir comment acc\u00E9der \u00E0 votre serveur Libresonic depuis Internet. \
- Si vous rencontrez des probl\u00E8mes, consultez le guide de D\u00E9marrage rapide.
+ Si vous rencontrez des probl\u00E8mes, consultez le guide de D\u00E9marrage rapide.
networksettings.portforwardingenabled = Configurer automatiquement le routeur pour autoriser les connexions entrantes vers Libresonic (transit par port UPnP).
networksettings.portforwardinghelp = Si votre routeur ne peut pas \u00EAtre configur\u00E9 automatiquement, vous pouvez le faire manuellement en suivant \
les instructions de portforward.com. \
@@ -391,7 +391,7 @@ transcodingsettings.info =
(%s = Le fichier \u00E0 encoder, %b
requiert aucun usage du disque dur.
\
L''encodage peut se faire en ligne de commande \u00E0 l''aide d'un programme tiers qui peut \u00EAtre install\u00E9 dans Libresonic. \
Un pack d''encodage pour Windows \
- est disponible ici. Vous pouvez ajouter votre propre encodeur \
+ est disponible ici. Vous pouvez ajouter votre propre encodeur \
s''il remplit les conditions suivantes : \
\
avoir une interface en ligne de commande.
\
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_is.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_is.properties
similarity index 98%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_is.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_is.properties
index 7cf7afb1..45633a18 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_is.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_is.properties
@@ -45,7 +45,7 @@ top.more = Meira
top.help = Hj\u00E1lp
top.search = Leita
top.upgrade = N\u00FDrri \u00DAtg\u00E1fa er tilb\u00FAin. S\u00E6kja {0} {1} \
- H\u00E9r.
+ H\u00E9r.
top.missing = Engar T\u00F3nlistarskr\u00E1r Fundust. Vinsamlegast Breyttu Stillingunum.
top.logout = \u00DAtskr\u00E1 {0}
@@ -164,13 +164,13 @@ upload.unzipped = Af\u00FEjappa\u00F0 {0}
# help.jsp
help.title = Um {0}
help.upgrade = A.T.H! N\u00FDrri \u00DAtg\u00E1fa er tilb\u00FAin. S\u00E6kja {0} {1} \
- H\u00E9r.
+ H\u00E9r.
help.version.title = \u00DAtg\u00E1fa
help.builddate.title = Sm\u00ED\u00F0i Dags
help.server.title = \u00DEj\u00F3nn
help.license.title = Leifi
help.license.text = {0} er \u00F3keypis hugb\u00FAna\u00F0i er dreift samkv\u00E6mt GPL open-source license. \
- {0} Nota\u00F0u licensed third-party libraries.
+ {0} Nota\u00F0u licensed third-party libraries.
help.homepage.title = Heimas\u00ED\u00F0a
help.forum.title = Spjallbor\u00F0
help.shop.title = V\u00F6rur
@@ -178,7 +178,7 @@ help.contact.title = Hafa Samband
help.contact.text = {0} er \u00FEr\u00F3a\u00F0 og vi\u00F0haldi\u00F0 af Sindre Mehus \
(sindre@activeobjects.no). \
Ef \u00FE\u00FA hefur einhverjar spurningar, athugasemdir e\u00F0a till\u00F6gur til \u00FArb\u00F3ta, skaltu fara \u00E1 \
- Subsonic Spjallbor\u00F0.
+ Libresonic Spjallbor\u00F0.
help.log = Yfirlit
help.logfile = Tilb\u00FAi\u00F0 Yfirlit er Vista\u00F0 \u00ED {0}.
@@ -293,7 +293,7 @@ transcodingsettings.info =
(%s = Eftirfarandi Skr\u0
\u00FEurfa allir diskur notkun.
\
raunverulegur transcoding er gert vi\u00F0 \u00FEri\u00F0ja a\u00F0ila stj\u00F3rn l\u00EDna forrit ver\u00F0ur a\u00F0 vera uppsett \u00ED {0}. \
transcoding Pakki Fyrir Windows \
- F\u00E6st H\u00E9r. \u00DE\u00FA getur b\u00E6tt eigin s\u00E9rsni\u00F0num transcoder \u00FEinn gefi\u00F0 \u00FEa\u00F0 \
+ F\u00E6st H\u00E9r. \u00DE\u00FA getur b\u00E6tt eigin s\u00E9rsni\u00F0num transcoder \u00FEinn gefi\u00F0 \u00FEa\u00F0 \
fulln\u00E6gja eftirfarandi kr\u00F6fum: \
\
\u00DEa\u00F0 ver\u00F0ur a\u00F0 hafa stj\u00F3rn l\u00EDna tengi.
\
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_it.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_it.properties
similarity index 96%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_it.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_it.properties
index d141b7e5..7f6a2094 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_it.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_it.properties
@@ -45,7 +45,7 @@ top.more = Di pi\u00F9
top.help = Aiuto
top.search = Ricerca
top.upgrade = E' disponibile una nuova versione. Scaricala {0} {1} \
- qui.
+ qui.
top.missing = Non \u00E8 stata trovata nessuna cartella contenente musica, verifica le impostazioni.
top.logout = Esci {0}
@@ -111,7 +111,7 @@ search.hits.songs = Canzoni
gettingStarted.title = Comincia ad utilizzare Libresonic
gettingStarted.text =
Benvenuto in Libresonic! La configurazione non ti porter\u00E0 via tempo, baster\u00E0 seguire i semplici passaggi riportati di seguito. \
Premi il bottone "Casa" nella barra degl strumenti qui sopra per tornare a questa schermata.
gettingStarted.step1.title = Cambia la password di amministrazione.
gettingStarted.step1.text = Cambiando la password predefinita dell'utente di amministrazione renderai pi\u00F9 sicuro il tuo server. \
Puoi anche scegliere di creare un altro utente con differenti privilegi di amministrazione.
@@ -119,7 +119,7 @@ gettingStarted.step2.title = Imposta le cartelle della musica.
gettingStarted.step2.text = Di' a Libresonic dove tieni la tua musica.
gettingStarted.step3.title = Configura le imposatzioni di rete.
gettingStarted.step3.text = Qualche utile impostazione ti permetter\u00E0 di apprezzare la tua musica in via remota tramite internet, \
- o di condividerla con la famiglia e gli amici. Ottieni il tuo indirizzo personale tuonome.subsonic.org.
+ o di condividerla con la famiglia e gli amici. Ottieni il tuo indirizzo personale tuonome.libresonic.org.
gettingStarted.hide = Non mostrare questa schermata di nuovo.
gettingStarted.hidealert = Per visualizzare nuovamente la schermata, vai in Impostazioni > Generale.
@@ -160,8 +160,8 @@ more.random.year = e anno
more.random.anyyear = Qualsiasi
more.random.folder = nella cartella
more.random.anyfolder = Qualsiasi
-more.apps.title = Applicazioni Subsonic
-more.apps.text =
Le applicazioni Subsonic sono disponibili per iPhone, \
+more.apps.title = Applicazioni Libresonic
+more.apps.text =
Puoi controllare {0} da qualsiasi telefono cellulare o PDA con WAP abilitato. \
@@ -190,13 +190,13 @@ upload.unzipped = Zip estratto {0}
# help.jsp
help.title = Riguardo {0}
help.upgrade = Attenzione! Una nuova versione \u00E8 disponibile. Scaricala {0} {1} \
- qui.
+ qui.
help.version.title = Versione
help.builddate.title = Data di build
help.server.title = Server
help.license.title = Termini di utilizzo
help.license.text = {0} \u00E8 un software libero distribuito sotto i termini della licenza open source GPL. \
- {0} utilizza librerie autorizzate di terze parti. Per favore ricorda che {0} non \u00E8 \
+ {0} utilizza librerie autorizzate di terze parti. Per favore ricorda che {0} non \u00E8 \
uno strumento per la distribuzione illegale di materiale coperto dal diritto d'autore. Rispetta sempre le disciplina legale pertinente per il tuo Paese.
help.homepage.title = Homepage
help.forum.title = Forum
@@ -205,7 +205,7 @@ help.contact.title = Contatti
help.contact.text = {0} \u00E8 sviluppato e mantenuto da Sindre Mehus \
(sindre@activeobjects.no). \
Se hai domande, commenti o suggerimenti per migliorare il programma, visita il \
- Forum di Subsonic.
+ Forum di Libresonic.
help.log = Log
help.logfile = Il file di log completo \u00E8 salvato in {0}.
@@ -307,7 +307,7 @@ musicfoldersettings.nopath = Specifica una cartella.
# networkSettings.jsp
networksettings.text = Utilizza le impostazioni qui sotto per regolare l'accesso a Libresonic da internet. \
- Se hai problemi, per favore consulta la guida di Introduzione a Libresonic.
+ Se hai problemi, per favore consulta la guida di Introduzione a Libresonic.
networksettings.portforwardingenabled = Configura automaticamente il tuo router per permettere le connessioni in entrata per Libresonic (utilizzando il port forwarding UPnP o NAT-PMP).
networksettings.portforwardinghelp = Se il tuo router non \u00E8 configurabile automaticamente, puoi configurarlo manualmente. \
Segui le istruzioni su portforward.com. \
@@ -334,7 +334,7 @@ transcodingsettings.info =
(%s = File da convertire, %b = Bitr
necessita di alcun utilizzo del disco.
\
Attualmente il transcoding attuale \u00E8 fatto da programmi a linea di comando di terze parti, che, dunque, devono essere installati in {0}. \
Un pacchetto di Transcofing per Windows \
- \u00E8 disponibile qui. Puoi aggiungere i tuoi transcoder personalizzati \
+ \u00E8 disponibile qui. Puoi aggiungere i tuoi transcoder personalizzati \
purch\u00E9 soddisfino i seguenti requisiti: \
Welkom bij Libresonic!. De configuratie van Libresonic is eenvoudig, loop de volgende basisstappen even door. \
Klik op de "Home" knop in de werkbalk hierboven om naar dit scherm terug te keren.
gettingStarted.root = Let op! Het Libresonic proces werkt nu als de root gebruiker. Het wordt aanbevolen om\
- dit te veranderen.
+ dit te veranderen.
gettingStarted.step1.title = Verander administrator wachtwoord.
gettingStarted.step1.text = Beveilig de server door het standaardwachtwoord van het administrator account te wijzigen. \
Tevens kun je hier nieuwe gebruikersaccounts met verschillende rechten aanmaken.
@@ -189,7 +189,7 @@ gettingStarted.step2.title = Stel de mediamappen in.
gettingStarted.step2.text = Vertel Libresonic waar jouw muziek en videos staan.
gettingStarted.step3.title = Configureer netwerk Instellingen.
gettingStarted.step3.text = Enkele nuttige instellingen als je jouw muziek via internet wilt beluisteren, \
- of wilt delen met familie en vrienden. Registreer meteen je persoonlijke jouwname.subsonic.org \
+ of wilt delen met familie en vrienden. Registreer meteen je persoonlijke jouwname.libresonic.org \
adres.
gettingStarted.hide = Dit niet meer laten zien.
gettingStarted.hidealert = Ga naar instellingen > Algemeen, om dit scherm weer te tonen.
@@ -238,8 +238,8 @@ more.random.year = en jaar
more.random.anyyear = Elk
more.random.folder = In map
more.random.anyfolder = Elke
-more.apps.title = Subsonic Apps
-more.apps.text =
Bekijk de gestaag groeiende lijst van Subsonic apps. \
+more.apps.title = Libresonic Apps
+more.apps.text =
Bekijk de gestaag groeiende lijst van Libresonic apps. \
Deze apps bieden alternatieven om te genieten van je media collectie - ongeacht waar je bent. \
Apps zijn beschikbaar voor Android, iPhone, Windows Phone, BlackBerry, Roku en veel meer.
more.mobile.title = Mobiele telefoon
@@ -268,7 +268,7 @@ upload.unzipped = Uitgepakt {0}
# help.jsp
help.title = Over {0}
help.upgrade = Let op! Er is een nieuwe versie beschikbaar. Download {0} {1} \
- hier.
+ hier.
help.premium.title = Licentie
help.premium.expires = (vervalt op {0})
help.premium.upgrade = Upgrade naar Subsonic Premium om extra functies te krijgen!
@@ -278,7 +278,7 @@ help.builddate.title = Compileer datum
help.server.title = Server
help.license.title = Gebruiksvoorwaarden
help.license.text = {0} is vrije software die wordt gedistribueerd onder de GPL open-source licentie. \
- {0} maakt gebruik van gelicenseerde bibliotheken van derden. {0} is geen \
+ {0} maakt gebruik van gelicenseerde bibliotheken van derden. {0} is geen \
middel voor de illegale distributie van auteursrechtelijk beschermd materiaal. Hou rekening met de geldende wetten en bepalingen in jouw land!
help.homepage.title = Website
help.forum.title = Forum
@@ -287,7 +287,7 @@ help.contact.title = Contact
help.contact.text = {0} is ontwikkeld en wordt onderhouden door Sindre Mehus \
(sindre@activeobjects.no). \
Als je vragen, commentaar of suggesties hebt voor verbetering bezoek dan \
- Subsonic Forum.
+ Libresonic Forum.
help.log = Log
help.logfile = Het volledige logbestand is opgeslagen in {0}.
@@ -410,7 +410,7 @@ musicfoldersettings.organizebyfolderstructure.description = Gebruik deze optie o
# networkSettings.jsp
networksettings.text = Gebruik de instellingen hieronder om te bepalen hoe jouw Libresonic-server over het Internet bereikbaar is . \
- Als er problemen zijn, raadpleeg dan de Beginnersgids.
+ Als er problemen zijn, raadpleeg dan de Beginnersgids.
networksettings.portforwardingenabled = Configureer automatisch je router om inkomende verbindingen naar Libresonic toe te staan. (UPnP of NAT-PMP poort forwarding).
networksettings.portforwardinghelp = Als jouw router niet automatisch kan worden geconfigureerd, kun je dit handmatig instellen. \
Volg de instructies op portforward.com. \
@@ -633,7 +633,7 @@ share.facebook = Deel op Facebook
share.twitter = Deel op Twitter
share.googleplus = Deel op Google+
share.link = of deel dit door iemand de volgende link te sturen: {0}
-share.disabled = Om jouw muziek te kunnen delen moet je eerst je eigen subsonic.org adres registreren. \
+share.disabled = Om jouw muziek te kunnen delen moet je eerst je eigen libresonic.org adres registreren. \
Ga naar Instellingen > Netwerk (Administrator rechten vereist!).
share.manage = Beheer gedeelde media.
@@ -642,11 +642,11 @@ premium.title = Subsonic Premium
premium.invalidlicense = Ongeldige licentie sleutel.
premium.text =
Upgrade naar Subsonic Premium om van deze extra functies te kunnen genieten:
\
@@ -659,7 +659,7 @@ premium.licensedexpired = Jouw Subsonic Premium licentie is vervallen op {0}
premium.licensedto = Deze licentie is geregistreerd voor {0}.
premium.forcechange = Registreer met een andere licentie sleutel
premium.register = Als je upgrade naar Subsonic Premium zul je per email een licentie sleutel ontvangen. Voer de licentiesleutel hier in:
-premium.resend = Licentiesleutel verloren? Stuur mij de sleutel opnieuw..
+premium.resend = Licentiesleutel verloren? Stuur mij de sleutel opnieuw..
premium.register.email = Email
premium.register.license = Licentie sleutel
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_nn.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_nn.properties
similarity index 98%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_nn.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_nn.properties
index 3c1ee216..8e2026ab 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_nn.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_nn.properties
@@ -46,7 +46,7 @@ top.more = Meir
top.help = Om
top.search = S\u00F8k
top.upgrade = Det finst ei oppdatert utg\u00E5ve. Last ned {0} {1} \
- her.
+ her.
top.missing = Fann ingen musikk-mapper. Endra innstillingane.
top.logout = Logg ut {0}
@@ -166,7 +166,7 @@ upload.unzipped = Pakka ut {0}
# help.jsp
help.title = Om {0}
help.upgrade = NB! Det finst ei oppdatert utg\u00E5ve. Last ned {0} {1} \
- her.
+ her.
help.version.title = Versjon
help.builddate.title = Byggedato
help.server.title = Tenar
@@ -178,7 +178,7 @@ help.shop.title = Butikk
help.contact.title = Kontakt
help.contact.text = {0} er utvikla og vedlikehalde av Sindre Mehus \
(sindre@activeobjects.no). \
- G\u00E5 til Subsonic-forumet viss du har sp\u00F8rsm\u00E5l, \
+ G\u00E5 til Libresonic-forumet viss du har sp\u00F8rsm\u00E5l, \
kommentarar eller forslag til forbetringar.
help.log = Logg
help.logfile = Heile loggen finst i {0}.
@@ -295,7 +295,7 @@ transcodingsettings.info =
(%s = fila som skal konverterast, %
Konverteringa skjer p\u00E5 direkten etter behov, og krev ikkje bruk av disk.
\
Den faktiske konverteringa vert utf\u00F8rt av kommandolinja til tredjepart-program som m\u00E5 installerast i {0}. \
Ei samling av konverterarar for Windows \
- kan du lasta ned her. Du kan leggja til ein eigen \
+ kan du lasta ned her. Du kan leggja til ein eigen \
konverterar viss han tilfredsstiller f\u00F8lgjande krav: \
\
Han m\u00E5 ha eit kommandolinje-grensesnitt.
\
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_no.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_no.properties
similarity index 98%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_no.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_no.properties
index b459ff14..c512a58e 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_no.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_no.properties
@@ -46,7 +46,7 @@ top.more = Mer
top.help = Om
top.search = S\u00F8k
top.upgrade = Det finnes en oppdatert versjon. Last ned {0} {1} \
- her.
+ her.
top.missing = Fant ingen musikk-mapper. Endre innstillingene.
top.logout = Logg ut {0}
@@ -166,7 +166,7 @@ upload.unzipped = Pakket ut {0}
# help.jsp
help.title = Om {0}
help.upgrade = NB! Det finnes en oppdatert versjon. Last ned {0} {1} \
- her.
+ her.
help.version.title = Versjon
help.builddate.title = Byggedato
help.server.title = Server
@@ -178,7 +178,7 @@ help.shop.title = Butikk
help.contact.title = Kontakt
help.contact.text = {0} er utviklet og vedlikeholdt av Sindre Mehus \
(sindre@activeobjects.no). \
- Bes\u00F8k Subsonic Forum hvis du har sp\u00F8rsm\u00E5l, \
+ Bes\u00F8k Libresonic Forum hvis du har sp\u00F8rsm\u00E5l, \
kommentarer eller forslag til forbedringer.
help.log = Logg
help.logfile = Hele loggen finnes i {0}.
@@ -295,7 +295,7 @@ transcodingsettings.info =
(%s = Fila som skal konverteres, %b
Konverteringen skjer p\u00E5 direkten etter behov, og krever ikke bruk av disk.
\
Den faktiske konverteringen utf\u00F8res av tredjeparts kommandolinje-program som m\u00E5 installeres i {0}. \
En samling av konvertere for Windows \
- kan lastes ned her. Du kan legge til en egen \
+ kan lastes ned her. Du kan legge til en egen \
konverterer hvis den tilfredsstiller f\u00F8lgende krav: \
\
Den m\u00E5 ha et kommandolinje-grensesnitt.
\
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_pl.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_pl.properties
similarity index 97%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_pl.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_pl.properties
index 6bc842e4..7454d604 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_pl.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_pl.properties
@@ -46,7 +46,7 @@ top.more = Wi\u0119cej
top.help = Pomoc
top.search = Szukaj
top.upgrade = Dost\u0119pna jest nowa wersja. Pobierz {0} {1} \
- tutaj.
+ tutaj.
top.missing = Brak folder\u00F3w medi\u00F3w. Prosz\u0119 zmieni\u0107 ustawienia.
top.logout = Wyloguj {0}
@@ -116,7 +116,7 @@ search.hits.songs = Utwory
gettingStarted.title = Pierwsze kroki
gettingStarted.text =
Witamy w Libresonic! Konfiguracja zajmie tylko chwil\u0119, wystarczy wykona\u0107 poni\u017Csze czynno\u015Bci. \
Kliknij przycisk "G\u0142\u00F3wna" na pasku narz\u0119dzi powy\u017Cej, aby wr\u00F3ci\u0107 do tego ekranu.
gettingStarted.step1.title = Zmie\u0144 has\u0142o administratora.
gettingStarted.step1.text = Zabezpiecz sw\u00F3j serwer zmieniaj\u0105c domyslne has\u0142o administratora. \
Mo\u017Cesz tak\u017Ce stworzy\u0107 nowe konta u\u017Cytkownik\u00F3w oraz okre\u015Bli\u0107 uprawnienia.
@@ -124,7 +124,7 @@ gettingStarted.step2.title = Ustaw foldery medi\u00F3w.
gettingStarted.step2.text = Okre\u015Bl lokalizacje plikow muzycznych i film\u00F3w
gettingStarted.step3.title = Skonfiguruj sie\u0107.
gettingStarted.step3.text = Kilka przydatnych opcji pozwalaj\u0105cych s\u0142ucha\u0107 muzyki zdalnie przez Internet, \
- lub podzieli\u0107 si\u0119 ni\u0105 z rodzin\u0105 i przyjaci\u00F3\u0142mi. Stw\u00F3rz w\u0142asny adres twojadres.subsonic.org
+ lub podzieli\u0107 si\u0119 ni\u0105 z rodzin\u0105 i przyjaci\u00F3\u0142mi. Stw\u00F3rz w\u0142asny adres twojadres.libresonic.org
gettingStarted.hide = Nie pakazuj ponownie
gettingStarted.hidealert = Aby pokaza\u0107 ten ekran ponownie, przejd\u017A do Ustawienia > Og\u00F3lne.
@@ -165,8 +165,8 @@ more.random.year = z roku
more.random.anyyear = Dowolny
more.random.folder = w folderze
more.random.anyfolder = Dowolny
-more.apps.title = Subsonic Apps
-more.apps.text =
Aplikacje Subsonic s\u0105 dost\u0119pna dla systemu Android, iPhone, \
+more.apps.title = Libresonic Apps
+more.apps.text =
Aplikacje Libresonic s\u0105 dost\u0119pna dla systemu Android, iPhone, \
Windows Phone oraz AIR.
more.mobile.title = Telefon kom\u00F3rkowy
more.mobile.text =
Mo\u017Cesz kontrolowa\u0107 {0} przy pomocy dowolnego telefonu lub PDA wyposa\u017Conego w WAP. \
@@ -194,13 +194,13 @@ upload.unzipped = Rozpakowano {0}
# help.jsp
help.title = O {0}
help.upgrade = Uwaga! Dost\u0119pna jest nowa wersja. Pobierz {0} {1} \
- tutaj.
+ tutaj.
help.version.title = Wersja
help.builddate.title = Data wydania
help.server.title = Serwer
help.license.title = Licencja
help.license.text = {0} jest darmowym oprogramowaniem rozpowszechnianym na licencji typu open-source - GPL. \
- {0} wykorzystuje licencjonowane biblioteki zewn\u0119trznych dostawc\u00F3w.
+ {0} wykorzystuje licencjonowane biblioteki zewn\u0119trznych dostawc\u00F3w.
help.homepage.title = Strona domowa
help.forum.title = Forum
@@ -209,7 +209,7 @@ help.contact.title = Kontakt
help.contact.text = {0} jest rozwijany i utrzymywany przez Sindre Mehus \
(sindre@activeobjects.no). \
Je\u015Bli masz pytania, uwagi lub sugestie, zapraszam na \
- forum Subsonic.
+ forum Libresonic.
help.log = Log
help.logfile = Pe\u0142ny log mo\u017Cna odnale\u017A\u0107 w {0}.
@@ -312,7 +312,7 @@ musicfoldersettings.nopath = Prosz\u0119 okre\u015Bli\u0107 folder.
# networkSettings.jsp
networksettings.text = U\u017Cyj poni\u017Cszych ustawie\u0144, aby kontrolowa\u0107 jak server Libresonic jest dost\u0119pne poprzez Internet. \
- Je\u015Bli masz problemy, zajrzyj do Instrukcji Obs\u0142ugi.
+ Je\u015Bli masz problemy, zajrzyj do Instrukcji Obs\u0142ugi.
networksettings.portforwardingenabled = Skonfiguruj router automatyczne, aby zezwoli\u0107 na po\u0142\u0105czenia przychodz\u0105ce do Libresonic (przekazywanie port\u00F3w UPnP lub NAT-PMP).
networksettings.portforwardinghelp = Je\u015Bli router nie mo\u017Ce zostac skonfigurowanie automatycznie, mo\u017Cna ustawi\u0107 go r\u0119cznie. \
Post\u0119puj zgodnie z instrukcj\u0105 na portforward.com. \
@@ -340,7 +340,7 @@ transcodingsettings.info =
(%s = Plik kt\u00F3ry b\u0119dzie t
dodatkowej przestrzeni dyskowej.
\
Obecnie transkodowanie realizowane jest z wykorzystaniem program\u00F3w lini polece\u0144 dostawc\u00F3w zewn\u0119trznych. Programy te musz\u0105 by\u0107 zainstalowane w {0}. \
Pakiet transkoder\u00F3w dla Windows \
- jest dost\u0119pny tutaj. Mo\u017Cesz tak\u017Ce doda\u0107 w\u0142asny transkoder, pod warunkiem i\u017C \
+ jest dost\u0119pny tutaj. Mo\u017Cesz tak\u017Ce doda\u0107 w\u0142asny transkoder, pod warunkiem i\u017C \
spe\u0142nia on warunki: \
\
Posiada interfejs lini polece\u0144
\
@@ -527,7 +527,7 @@ share.warning =
WA\u017BNA UWAGA!
Graj fair - Nie udost\u0119pniaj ma
share.facebook = Udost\u0119pnij na Facebooku
share.twitter = Udost\u0119pnij na Twitterze
share.link = Lub Udost\u0119pnij komu\u015B, wysy\u0142aj\u0105c link: {0}
-share.disabled = Aby wsp\u00F3\u0142dzieli\u0107 muzyke z innymi u\u017Cytkownikami, musisz najpierw zarejestrowa\u0107 sw\u00F3j adres subsonic.org. \
+share.disabled = Aby wsp\u00F3\u0142dzieli\u0107 muzyke z innymi u\u017Cytkownikami, musisz najpierw zarejestrowa\u0107 sw\u00F3j adres libresonic.org. \
Przejd\u017A do Ustawienia > Sie\u0107 (administrative rights required).
share.manage = Zarz\u0105dzaj udost\u0119pnionymi pliki
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_pt.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_pt.properties
similarity index 96%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_pt.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_pt.properties
index f1ee2ea4..7c85ea7d 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_pt.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_pt.properties
@@ -45,7 +45,7 @@ top.more = Mais
top.help = Acerca
top.search = Pesquisar
top.upgrade = Uma nova vers\u00E3o est\u00E1 dispon\u00EDvel. Descarregar {0} {1} \
- aqui.
+ aqui.
top.missing = N\u00E3o se encontra nenhuma pasta. Por favor mude as configura\u00E7\u00F5es.
top.logout = Terminar sess\u00E3o {0}
@@ -111,7 +111,7 @@ search.hits.songs = M\u00FAsicas
gettingStarted.title = Primeiros passos
gettingStarted.text =
Bem-vindo ao Libresonic! Vamos prepar\u00E1-lo num instante, basta seguir os seguintes passos b\u00E1sicos. \
Clicar no bot\u00E3o "In\u00EDcio" na barra acima para voltar a este ecran.
\
-
Para mais informa\u00E7\u00F5es, por favor consulte oGuia Primeiros passos.
+
Para mais informa\u00E7\u00F5es, por favor consulte oGuia Primeiros passos.
gettingStarted.step1.title = Mudar senha do administrador.
gettingStarted.step1.text = Proteja o seu servidor, alterando a senha padr\u00E3o para a conta de administrador. \
Pode criar novas contas de utilizador com privil\u00E9gios diferentes.
@@ -119,7 +119,7 @@ gettingStarted.step2.title = Criar pastas de m\u00FAsica.
gettingStarted.step2.text = Mostrar ao Libresonic onde tem a sua m\u00FAsica.
gettingStarted.step3.title = Configura\u00E7\u00F5es de rede.
gettingStarted.step3.text = Algumas defini\u00E7\u00F5es \u00FAteis se voc\u00EA quiser desfrutar da sua m\u00FAsica remotamente atrav\u00E9s da Internet, \
- ou compartilh\u00E1-la com a fam\u00EDlia e amigos. Obtenha o seu endere\u00E7o com nome deutilizador.subsonic.org.
+ ou compartilh\u00E1-la com a fam\u00EDlia e amigos. Obtenha o seu endere\u00E7o com nome deutilizador.libresonic.org.
gettingStarted.hide = N\u00E3o mostrar mais
gettingStarted.hidealert = Para mostar este ecran outra vez, v\u00E1 a Configura\u00E7\u00F5es > Geral.
@@ -159,8 +159,8 @@ more.random.year = e ano
more.random.anyyear = Qualquer
more.random.folder = na pasta
more.random.anyfolder = Qualquer
-more.apps.title = Aplica\u00E7\u00F5es Subsonic
-more.apps.text =
Pode controlar o {0} com qualquer telem\u00F3vel que tenha WAP activado ou num PDA. \
@@ -189,13 +189,13 @@ upload.unzipped = Descomprimido {0}
# help.jsp
help.title = Acerca {0}
help.upgrade = Aviso! Est\u00E1 dispon\u00EDvel uma nova vers\u00E3o. Descarregar {0} {1} \
- aqui.
+ aqui.
help.version.title = Vers\u00E3o
help.builddate.title = Data de compila\u00E7\u00E3o
help.server.title = Servidor
help.license.title = Licen\u00E7a
help.license.text = O {0} \u00E9 um software livre distribuido sobre a licen\u00E7a GPL de c\u00F3digo aberto. \
- O {0} usa uma licen\u00E7a de bibliotecas de terceiros. Tome nota que o {0} n\u00E3o \u00E9 \
+ O {0} usa uma licen\u00E7a de bibliotecas de terceiros. Tome nota que o {0} n\u00E3o \u00E9 \
uma ferramenta para a distribui\u00E7\u00E3o ilegal de material protegido por direitos de autor. Preste sempre aten\u00E7\u00E3o e siga as leis espec\u00EDficas para o seu pa\u00EDs.
help.homepage.title = P\u00E1gina do projecto
help.forum.title = Forum
@@ -204,7 +204,7 @@ help.contact.title = Contacto
help.contact.text = O {0} \u00E9 desenvolvido e mantido por Sindre Mehus \
(sindre@activeobjects.no). \
Se tiver quaisquer perguntas, coment\u00E1rios ou sugest\u00F5es para melhorias, por favor visite o Forum do\
- Subsonic .
+ Libresonic .
help.log = Log
help.logfile = O log completo est\u00E1 guardado em {0}.
@@ -306,7 +306,7 @@ musicfoldersettings.nopath = Por favor especifique a pasta.
# networkSettings.jsp
networksettings.text = Use as configura\u00E7\u00F5es abaixo para controlar a forma de aceder ao servidor do Libresonic atrav\u00E9s da Internet . \
- Se tiver problemas, consulte o guia dos primeiros passos. (em ingl\u00EAs)
+ Se tiver problemas, consulte o guia dos primeiros passos. (em ingl\u00EAs)
networksettings.portforwardingenabled = Configurar autom\u00E1ticamente o seu router para permitir liga\u00E7\u00F5es de entrada para o Libresonic (usando UPnP ou o encaminhamento de porta NAT-PMP).
networksettings.portforwardinghelp = Se o seu router n\u00E3o puder ser configurado autom\u00E1ticamente, pode configur\u00E1-lo manualmente. \
Siga as instru\u00E7\u00F5es em portforward.com. \
@@ -333,7 +333,7 @@ transcodingsettings.info =
(%s = O ficheiro a ser transcodific
requer o uso do disco.
\
A transcodifica\u00E7\u00E3o \u00E9 feita por programas de terceiros que devem ser instalados em {0}. \
Um pacote de transcodifica\u00E7\u00E3o para o Windows \
- est\u00E1 dispon\u00EDvel aqui. Pode adicionar o seu pr\u00F3prio transcodificador, desde que \
+ est\u00E1 dispon\u00EDvel aqui. Pode adicionar o seu pr\u00F3prio transcodificador, desde que \
preencha os seguintes requisitos: \
gettingStarted.root = Pozor! Program Libresonic se izvaja kot root uporabnik. Prosimo premislite, \u010De \u017Eelite \
- to spremeniti.
+ to spremeniti.
gettingStarted.step1.title = Sprememba administratorskega gesla.
gettingStarted.step1.text = Zavarujte va\u0161 stre\u017Enik tako, da spremenite privzeto administratorsko geslo. \
Ustvarite lahko tudi nove uporabni\u0161ke ra\u010Dune z razli\u010Dnimi pravicami.
@@ -172,7 +172,7 @@ gettingStarted.step2.title = Dolo\u010Dite imenike z glasbo.
gettingStarted.step2.text = Povejte Libresonicu, kje hranite va\u0161e glasbene datoteke.
gettingStarted.step3.title = Nastavi omre\u017Ene nastavitve.
gettingStarted.step3.text = Nekaj uporabnih nastavitev, \u010De \u017Eelite poslu\u0161ati va\u0161o glasbo preko spleta, \
- oz. jo deliti z dru\u017Eino in/ali prijatelji. Priskrbite si svoj osebni va\u0161e_ime.subsonic.org \
+ oz. jo deliti z dru\u017Eino in/ali prijatelji. Priskrbite si svoj osebni va\u0161e_ime.libresonic.org \
spletni naslov.
gettingStarted.hide = Ne prikazuj ve\u010D teh navodil.
gettingStarted.hidealert = \u010Ce \u017Eelite ponovno prebrati ta navodila, poglejte v Nastavitve > Splo\u0161no.
@@ -217,8 +217,8 @@ more.random.year = leto
more.random.anyyear = katerokoli
more.random.folder = imenik
more.random.anyfolder = katerikoli
-more.apps.title = Subsonic aplikacije
-more.apps.text =
Preverite vedno ve\u010Dji seznam Subsonic aplikacij. \
+more.apps.title = Libresonic aplikacije
+more.apps.text =
Preverite vedno ve\u010Dji seznam Libresonic aplikacij. \
Te aplikacije vam omogo\u010Dajo nove in bolj zabavne na\u010Dine dostopa do va\u0161e medijske zbirke \u2013 ne glede na to kje se nahajate. \
Aplikacije so na voljo za Android, iPhone, Windows Phone, BlackBerry, Roku in mnoge druge naprave.
more.mobile.title = Mobilni telefon
@@ -247,13 +247,13 @@ upload.unzipped = Razpakirano: {0}
# help.jsp
help.title = O programu {0}
help.upgrade = Pozor! Na vojo je nova razli\u010Dica. Prenesite {0} {1} \
- tukaj.
+ tukaj.
help.version.title = Razli\u010Dica
help.builddate.title = Izdelana dne
help.server.title = Stre\u017Enik
help.license.title = Licenca
help.license.text = {0} je zastonj program na voljo pod GPL odprtokodno licenco. \
- {0} uporablja licencirane knji\u017Eice tretjih oseb. {0} ni \
+ {0} uporablja licencirane knji\u017Eice tretjih oseb. {0} ni \
namenjen razpe\u010Devanju ilegalnega in piratskega materiala. Vedno upo\u0161tevajte zakone, ki veljajo v va\u0161i dr\u017Eavi.
help.homepage.title = Spletna stran
help.forum.title = Forum
@@ -262,7 +262,7 @@ help.contact.title = Kontakt
help.contact.text = {0} je razvil in vzdr\u017Euje Sindre Mehus \
(sindre@activeobjects.no). \
\u010Ce imate vpra\u0161anja, pripombe ali predloge za izbolj\u0161ave, obi\u0161\u010Dite \
- Subsonicov forum.
+ Libresonicov forum.
help.log = Dnevnik
help.logfile = Celotna datoteka z dnevnikom je shranjena v {0}.
@@ -380,7 +380,7 @@ musicfoldersettings.organizebyfolderstructure.description = Uporabite to mo\u017
# networkSettings.jsp
networksettings.text = Uporabi spodnje nastavitve za nadzor dostopa do va\u0161ega Libresonic stre\u017Enika na Internetu. \
- \u010Ce naletite na te\u017Eave, si prosimo oglejte Uvod k programu.
+ \u010Ce naletite na te\u017Eave, si prosimo oglejte Uvod k programu.
networksettings.portforwardingenabled = Samodejno nastavi usmerjevalnik, da omogo\u010Di povezavo do Libresonic stre\u017Enika (z uporabo UPnP ali NAT-PMP posredovanja vrat).
networksettings.portforwardinghelp = \u010Ce va\u0161ega usmerjevalnika ni mo\u010D samodejno nastaviti, ga lahko nastavite ro\u010Dno. \
Sledite navodilom na portforward.com. \
@@ -595,7 +595,7 @@ share.facebook = Daj v skupno uporabo na Facebook
share.twitter = Daj v skupno uporaba na Twitter
share.googleplus = Daj v skupno uporaba na Google+
share.link = Ali pa dajte datoteko v skupno uporabo tako, da jim po\u0161ljete to povezavo: {0}
-share.disabled = \u010Ce \u017Eelite deliti va\u0161o glasbo z drugimi, si morate najprej ustvariti svoj subsonic.org naslov. \
+share.disabled = \u010Ce \u017Eelite deliti va\u0161o glasbo z drugimi, si morate najprej ustvariti svoj libresonic.org naslov. \
To lahko storite pod Nastavitve > Omre\u017Eje (potrebovali boste administratorske pravice).
share.manage = Upravljanje z vsebinami v skupni uporabi
diff --git a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_sv.properties b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_sv.properties
similarity index 93%
rename from subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_sv.properties
rename to libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_sv.properties
index c7f9874d..bd634377 100644
--- a/subsonic-main/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_sv.properties
+++ b/libresonic-main/src/main/resources/org.libresonic.player/i18n/ResourceBundle_sv.properties
@@ -44,8 +44,8 @@ top.podcast = Podcast
top.more = Mer
top.help = Hj\u00E4lp
top.search = S\u00F6k
-top.upgrade = En ny verson \u00E4r tillg\u00E4nglig. Ladda ner Subsonic {0} \
- h\u00E4r.
+top.upgrade = En ny verson \u00E4r tillg\u00E4nglig. Ladda ner Libresonic {0} \
+ h\u00E4r.
top.missing = Ingen musikmapp \u00E4r funnen. V\u00E4nligen \u00E4ndra inst\u00E4llningar.
top.logout = Logga ut {0}
@@ -115,7 +115,7 @@ search.hits.songs = L\u00E5tar
gettingStarted.title = Kom ig\u00E5ng
gettingStarted.text =
V\u00E4lkommen till Libresonic! F\u00F6r att komma ig\u00E5ng p\u00E5 nolltid, f\u00F6lj bara stegen nedan. \
Klicka p\u00E5 "Hem"-knappen ovan f\u00F6r att \u00E5ter komma till denna sida.
gettingStarted.step1.title = \u00C4ndra administrationsl\u00F6senordet.
gettingStarted.step1.text = S\u00E4kra din server genom att \u00E4ndra standardl\u00F6senordet till kontot f\u00F6r administration. \
Du kan ocks\u00E5 l\u00E4gga till anv\u00E4ndare med olika privilegier.
@@ -123,7 +123,7 @@ gettingStarted.step2.title = S\u00E4tt upp mediamappar.
gettingStarted.step2.text = Tala om f\u00F6r Libresonic s\u00F6kv\u00E4gen till din musik och dina videos.
gettingStarted.step3.title = Konfigurera inst\u00E4llningarna f\u00F6r n\u00E4tverket.
gettingStarted.step3.text = Anv\u00E4ndbara inst\u00E4llningar om du vill f\u00E5 tillg\u00E5ng till din musik \u00F6ver Internet, \
- eller dela den med familj och v\u00E4nner. Skapa din personliga dittnamn.subsonic.org \
+ eller dela den med familj och v\u00E4nner. Skapa din personliga dittnamn.libresonic.org \
adress.
gettingStarted.hide = Visa inte detta igen
gettingStarted.hidealert = F\u00F6r att visa denn info igen, g\u00E5 till Inst\u00E4llningar > Allm\u00E4nt.
@@ -164,11 +164,11 @@ more.random.year = och \u00E5r
more.random.anyyear = alla
more.random.folder = i mapp
more.random.anyfolder = vilken som helst
-more.apps.title = Subsonic Apps
-more.apps.text =
Libresonic apps finns tillg\u00E4nglig f\u00F6r Android, iPhone, \
Windows Phone och AIR.
more.mobile.title = Mobil
-more.mobile.text =
Du kan kontrollera Subsonic fr\u00E5n en WAP mobil eller PDA. \
+more.mobile.text =
Du kan kontrollera Libresonic fr\u00E5n en WAP mobil eller PDA. \
Surfa bara till denna URL fr\u00E5n mobilen: http://yourhostname/wap
\
Det h\u00E4r kr\u00E4ver att din server kan n\u00E5s fr\u00E5n internet.
more.podcast.title = Podcast
@@ -191,24 +191,24 @@ upload.failed = Uppladdning misslyckades med f\u00F6ljande error meddelande:
upload.unzipped = Uppackade: {0}
# help.jsp
-help.title = Om Subsonic
-help.upgrade = Note! En ny version \u00E4r tillg\u00E4nglig. Ladda ner Subsonic {0} \
- h\u00E4r.
+help.title = Om Libresonic
+help.upgrade = Note! En ny version \u00E4r tillg\u00E4nglig. Ladda ner Libresonic {0} \
+ h\u00E4r.
help.version.title = Version
help.builddate.title = Kompilerad
help.server.title = Server
help.license.title = Licens
help.license.text = {0} \u00E4r gratis distribuerad under GPL open-source licens. \
- {0} anv\u00E4nder licensierad 3:e partsprogram. V\u00E4nligen notera att {0} \u00E4r inte \
+ {0} anv\u00E4nder licensierad 3:e partsprogram. V\u00E4nligen notera att {0} \u00E4r inte \
ett verktyg f\u00F6r illegal distribution av copyrightskyddat material. Var alltid uppm\u00E4rksam p\u00E5 att f\u00F6lja de relevanta lagar som \u00E4r specifika f\u00F6r ditt land.
help.homepage.title = Hemsida
help.forum.title = Forum
help.shop.title = Handelsvaror
help.contact.title = Kontakt
-help.contact.text = Subsonic \u00E4r utvecklat och underh\u00E5llet av Sindre Mehus \
+help.contact.text = Libresonic \u00E4r utvecklat och underh\u00E5llet av Sindre Mehus \
(sindre_mehus@users.sourceforge.net). \
Om du har fr\u00E5gor, kommentarer eller f\u00F6rslag p\u00E5 f\u00F6rb\u00E4ttringar, V\u00E4nligen bes\u00F6k \
- Subsonics Forum.
+ Libresonics Forum.
help.log = Logg
help.logfile = Den kompletta loggen \u00E4r sparad i {0}.
@@ -311,7 +311,7 @@ musicfoldersettings.nopath = V\u00E4nligen specificera en s\u00F6kv\u00E4g.
# networkSettings.jsp
networksettings.text = Anv\u00E4nd inst\u00E4llningarna nedan f\u00F6r att f\u00E5 tillg\u00E5ng till Libresonicserver via internet. \
- Om du f\u00E5r problem, v\u00E4nligen konsultera Att komma ig\u00E5ng guiden.
+ Om du f\u00E5r problem, v\u00E4nligen konsultera Att komma ig\u00E5ng guiden.
networksettings.portforwardingenabled = Automatiskt konfigurera din router f\u00F6r godk\u00E4nnande av inkommande anslutningar till Libresonic (via UPnP eller NAT-PMP port forwarding).
networksettings.portforwardinghelp = Om din router inte kan bli konfigurerad automatiskt kan du s\u00E4tta upp den manuellt. \
F\u00F6lj instruktionerna p\u00E5 portforward.com. \
@@ -339,7 +339,7 @@ transcodingsettings.info =
(%s = Filen som ska bli transkodad,
kr\u00E4ver inget diskutrymme.
\
Den aktiva transkodningen sker av tredje parts kommadorads program som m\u00E5ste vara installerade i {0}. \
Ett transkodnings paket f\u00F6r Windows \
- \u00E4r tillg\u00E4ngligt h\u00E4r. Du kan l\u00E4gga till egna \
+ \u00E4r tillg\u00E4ngligt h\u00E4r. Du kan l\u00E4gga till egna \
transkodningar om de uppfyller dessa krav:\
\
Det m\u00E5ste g\u00E5 att k\u00F6ra via kommandorad
\
@@ -522,7 +522,7 @@ share.facebook = Dela p\u00E5 Facebook
share.twitter = Dela p\u00E5 Twitter
share.googleplus = Dela p\u00E5 Google+
share.link = Eller dela genom att skicka denna l\u00E4nk: {0}
-share.disabled = F\u00F6r att kunna dela med dig m\u00E5ste du f\u00F6rst registrera din egna subsonic.org adress. \
+share.disabled = F\u00F6r att kunna dela med dig m\u00E5ste du f\u00F6rst registrera din egna libresonic.org adress. \
V\u00E4nligen g\u00E5 till Inst\u00E4llningar > N\u00E4tverk (adminr\u00E4ttigheter kr\u00E4vs).
share.manage = Hantera min delade media
@@ -554,19 +554,19 @@ lyrics.courtesy = (Lyrik av h\u00E4r \
@@ -626,14 +626,14 @@ helppopup.ldapsearchfilter.text =
S\u00F6k filtret anger vilket attribut som
helppopup.ldapmanagerdn.title = LDAP anv\u00E4ndare DN
helppopup.ldapmanagerdn.text =
Om LDAP servern in till\u00E5ter anonym s\u00F6kningm\u00E5ste du speficera DN p\u00E5 den anv\u00E4ndare som till\u00E5ts \
( DN = Distinguished Name) och l\u00F6senord.
-helppopup.ldapautoshadowing.title = Skapa A tomatiskt LDAP anv\u00E4ndare i Subsonic
-helppopup.ldapautoshadowing.text =
Med det h\u00E4r valet aktiverat, beh\u00F6ver du inte att manuellt skapa LDAP konton i Subsonic innan inloggning.
\
-
OBS! Detta val inneb\u00E4r att alla anv\u00E4ndare med ett aktivt LDAP konto kan logga in i Subsonic, \
+helppopup.ldapautoshadowing.title = Skapa A tomatiskt LDAP anv\u00E4ndare i Libresonic
+helppopup.ldapautoshadowing.text =
Med det h\u00E4r valet aktiverat, beh\u00F6ver du inte att manuellt skapa LDAP konton i Libresonic innan inloggning.
\
+
OBS! Detta val inneb\u00E4r att alla anv\u00E4ndare med ett aktivt LDAP konto kan logga in i Libresonic, \
\u00E4r det det du vill?
L\u00E5ter dig specificera ett namn som \u00E4r l\u00E4tt att komma ih\u00E5g p\u00E5 den spelare, som tex "Jobb" eller "Vardagsrum".
helppopup.autocontrol.title = Kontrollera spelare automatiskt
-helppopup.autocontrol.text =
Med det h\u00E4r valet aktivt, kommer Subsonic automatiskt att starta spelaren n\u00E4r du klickar p\u00E5 "Spela" \
+helppopup.autocontrol.text =
Med det h\u00E4r valet aktivt, kommer Libresonic automatiskt att starta spelaren n\u00E4r du klickar p\u00E5 "Spela" \
i spellistan. Annars m\u00E5ste du starta spelaren manuellt.
helppopup.dynamicip.title = Dynamisk IP address
helppopup.dynamicip.text =
St\u00E4ng av detta val om spelaren har en fast IP address.
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/allmusic.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/allmusic.jsp
similarity index 100%
rename from subsonic-main/src/main/webapp/WEB-INF/jsp/allmusic.jsp
rename to libresonic-main/src/main/webapp/WEB-INF/jsp/allmusic.jsp
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/artistMain.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/artistMain.jsp
similarity index 98%
rename from subsonic-main/src/main/webapp/WEB-INF/jsp/artistMain.jsp
rename to libresonic-main/src/main/webapp/WEB-INF/jsp/artistMain.jsp
index ef43fab1..c7290c15 100644
--- a/subsonic-main/src/main/webapp/WEB-INF/jsp/artistMain.jsp
+++ b/libresonic-main/src/main/webapp/WEB-INF/jsp/artistMain.jsp
@@ -1,19 +1,19 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1"%>
<%--
- ~ This file is part of Subsonic.
+ ~ This file is part of Libresonic.
~
- ~ Subsonic is free software: you can redistribute it and/or modify
+ ~ 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.
~
- ~ Subsonic is distributed in the hope that it will be useful,
+ ~ 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 Subsonic. If not, see .
+ ~ along with Libresonic. If not, see .
~
~ Copyright 2014 (C) Sindre Mehus
--%>
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/avatarUploadResult.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/avatarUploadResult.jsp
similarity index 100%
rename from subsonic-main/src/main/webapp/WEB-INF/jsp/avatarUploadResult.jsp
rename to libresonic-main/src/main/webapp/WEB-INF/jsp/avatarUploadResult.jsp
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/changeCoverArt.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/changeCoverArt.jsp
similarity index 100%
rename from subsonic-main/src/main/webapp/WEB-INF/jsp/changeCoverArt.jsp
rename to libresonic-main/src/main/webapp/WEB-INF/jsp/changeCoverArt.jsp
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/coverArt.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/coverArt.jsp
similarity index 100%
rename from subsonic-main/src/main/webapp/WEB-INF/jsp/coverArt.jsp
rename to libresonic-main/src/main/webapp/WEB-INF/jsp/coverArt.jsp
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/createShare.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/createShare.jsp
similarity index 100%
rename from subsonic-main/src/main/webapp/WEB-INF/jsp/createShare.jsp
rename to libresonic-main/src/main/webapp/WEB-INF/jsp/createShare.jsp
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/db.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/db.jsp
similarity index 100%
rename from subsonic-main/src/main/webapp/WEB-INF/jsp/db.jsp
rename to libresonic-main/src/main/webapp/WEB-INF/jsp/db.jsp
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/dlnaSettings.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/dlnaSettings.jsp
similarity index 89%
rename from subsonic-main/src/main/webapp/WEB-INF/jsp/dlnaSettings.jsp
rename to libresonic-main/src/main/webapp/WEB-INF/jsp/dlnaSettings.jsp
index 2fe43e85..21c49b10 100644
--- a/subsonic-main/src/main/webapp/WEB-INF/jsp/dlnaSettings.jsp
+++ b/libresonic-main/src/main/webapp/WEB-INF/jsp/dlnaSettings.jsp
@@ -1,19 +1,19 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %>
<%--
- ~ This file is part of Subsonic.
+ ~ This file is part of Libresonic.
~
- ~ Subsonic is free software: you can redistribute it and/or modify
+ ~ 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.
~
- ~ Subsonic is distributed in the hope that it will be useful,
+ ~ 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 Subsonic. If not, see .
+ ~ along with Libresonic. If not, see .
~
~ Copyright 2013 (C) Sindre Mehus
--%>
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/editTags.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/editTags.jsp
similarity index 100%
rename from subsonic-main/src/main/webapp/WEB-INF/jsp/editTags.jsp
rename to libresonic-main/src/main/webapp/WEB-INF/jsp/editTags.jsp
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp b/libresonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp
similarity index 96%
rename from subsonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp
rename to libresonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp
index fb9f6674..fa262dcf 100644
--- a/subsonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp
+++ b/libresonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp
@@ -45,7 +45,7 @@
var list = new Array();
- <%--@elvariable id="song" type="net.sourceforge.subsonic.domain.MediaFile"--%>
+ <%--@elvariable id="song" type="org.libresonic.player.domain.MediaFile"--%>
@@ -94,7 +94,7 @@