Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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