But this allows people to browse your Mixxx playlist and add songs to your AutoDJ from the webpage.
Sorts ya library from [0-9] A-Z and Mixxx link to view current AtuoDJ list.
Has directorys that you can click to fold down and then click on files inside to add to playlist.
Also has search field and listen link to listen to stream.
CAN ONLY be done on *nix, as source changes are required.
Example: http://puffnstuff.ath.cx/mixxx
Good when you dont know what your listeners wanna listen to when running shoutcast/icecast.
You will need:
The mixxx.php file.
privileges to give www-data access to write to ~/.mixxx/mixxxdb.sqlite and ~/.mixxx
Access to edit source files of Mixxx (The edit we do causes annoying issues when dragging files during the song change event in autodj, but this shouldnt be a problem, its only a 10 sec game it happens.)
What we do:
Download mixxx.php, extract it: tar xvf mixxx-php.tar and stick it in your webroot directory.
Add www-data to your users group using usermod. (usermod -a -G www-data USERNAME, You will need to relogin for this change to take effect.)
Make ~/.mixxx group writable, chmod 664 ~/.mixxx; chown $USER:www-data ~/mixxx
Make ~/.mixxx/mixxxdb.sqlite group writable, chmod 664 ~/.mixxx/mixxxdb.sqlite; chmod $USER:www-data ~/.mixxx/.mixxxdb.sqlite
Add the line "m_pAutoDJTableModel->select();" to src/dlgautodj.cpp on the line after (Bottom function in the file.):
- Code: Select all
bool DlgAutoDJ::loadNextTrackFromQueue(bool removeTopMostBeforeLoading)
{
Should look like this when done:
- Code: Select all
bool DlgAutoDJ::loadNextTrackFromQueue(bool removeTopMostBeforeLoading)
{
m_pAutoDJTableModel->select();
if (removeTopMostBeforeLoading) {
Open mixxx.php with text editor, and edit the 4 variables at the top to suit your needs.
Obviously you can change the CSS to suit whatever too.
You should be good to go now, USE AT OWN RISK, if this breaks your mixxx, i warned you, :/
Only thing it could posibily break is your database file, in which case, delete it, and restart mixxx.
Thanks To asantoni for showing me the src hack.
