This is the first version of Pony Music Streamer. It is here just for history :-) New version has a better architecture, faster scan process, multi-user support, fancy Bootstrap design, more powerful REST API, easier installation, etc. etc.
What you will need:
- compiled WAR file
- Apache Tomcat server
- MySQL database
Installation steps:
-
Create MySQL database. Give a user all permissions for your newly created database to make automatic installation possible.
-
Create folder named ".pony" in home directory of user that you will use to run the application. In this folder create file named "pony.properties" and define there database connection details:
db.url=jdbc:mysql://localhost:3306/[YOUR MYSQL DATABASE NAME]?useUnicode=yes&characterEncoding=UTF-8
db.username=[YOUR MYSQL USER]
db.password=[YOUR MYSQL PASSWORD] -
Install compiled WAR file to your Apache Tomcat server.
-
Open the application in your browser. Database schema will be installed automatically.
-
Set up your music folders in application settings window and scan your library.
-
Enjoy listening to you MP3 collection :-)
Configuration options for server.web WAR are loaded the following way:
- Option is looked up in ${user.home}/.pony/pony.properties
- If option is not found, it's looked up in WEB-INF/pony.properties
Configuration options for server.core integration tests are loaded the following way:
- Option is looked up in ${user.home}/.pony_test/pony.properties
- If option is not found, it's looked up in classpath:pony.properties
Application supports running in Jetty or Tomcat application containers.