forked from RJ/playdar
/
INSTALL.txt
90 lines (59 loc) · 2.34 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Installation
============
This covers building from source specifically on Debian Linux.
Should be easy on other Linuxes too.
Playdar also builds on Windows, using visual studio express.
Playdar also builds on Mac OS X (intel) using gcc + stuff from macports.
Linux Dependencies
------------------
Assuming ubuntu 9.04 (Otherwise find similarly named packages)
NB: You need boost libs version 1.35 or higher.
In a nutshell:
# Your build environment:
sudo apt-get install git-core cmake build-essential
# Boost libs:
sudo apt-get install libboost-thread1.37.0 libboost-system1.37.0 libboost-program-options1.37.0 libboost-regex1.37.0 libboost-filesystem1.37.0 libboost-date-time1.37.0
# Boost headers:
sudo apt-get install libboost-program-options1.37-dev libboost-regex1.37-dev libboost-system1.37-dev libboost-thread1.37-dev libboost1.37-dev
# Needed by playdar core:
sudo apt-get install sqlite3 libsqlite3-dev libtag1-dev libcurl3 libcurl4-gnutls-dev
# Needed by playdar audioscrobbler plugin:
sudo apt-get install libxml2 libxml2-dev libssl-dev
Mac Dependencies
----------------
Using Leopard MacPorts:
sudo port selfupdate
sudo port upgrade installed
sudo port install cmake boost taglib
Windows Dependenceies
---------------------
Good luck! Just install everything listed and hope for the best.
It is known to work.
Compile it:
-----------
If you've installed something in non-standard locations, look in CMakeLists.txt
at the include/library paths and make changes if need be.
NB: if you are using linux x86_64 read the notes near the top of CMakeLists.txt
$ cd playdar
$ cd build
$ cmake ..
Build the main app and the core plugins:
$ make
Change back to the playdar top level dir:
$ cd ..
First Run and Scanning
----------------------
Run the scanner to index your music and create the database:
$ ./bin/scanner ./collection.db /your/mp3/dir
Running Playdar
---------------
Edit etc/playdar.conf and specify your name etc.
Run playdar from the top level playdar directory:
$ ./bin/playdar -c ./etc/playdar.conf
Now hit up: http://localhost:60210/ to check it's running.
Check out www.playdar.org for the latest demo interface to test it' working
or try playlick.com for a playlist app.
Help / Troubleshooting
----------------------
IRC: #playdar on irc.freenode.net
Email: www.playdar.org has a link to our mailing list