Following command is available (see script occ in your ownCloud root folder)
./occ music:scan USERNAME
This scans all not scanned music files of the user USERNAME and saves the extracted metadata into the music tables in the database. This is also done if you browse the music app web interface. There the scan is done in steps of 20 tracks and the current state is visible at the bottom of the interface.
./occ music:scan --all
This scans music files for all users.
Both of the above commands can be combined with the --debug
switch, which enables debug output and shows the memory usage of each scan step.
In the settings the URL you need for Ampache is listed and looks like this:
https://cloud.domain.org/index.php/apps/music/ampache/
This is the common path. Some clients append the last part (server/xml.server.php
) automatically. If you have connection problems try the longer version of the URL with the server/xml.server.php
appended.
The current version doesn't scale well for huge music collections. There are plans for a kind of paginated version, which hides the pagination and should be useable as known before. #78
The current music app can't be installed and ownCloud prints following error message: "Application can not be activated because of illegal code". This is due to the appcodechecker in core (which is kind of broken), but you can do the installation if the appcodechecker is deactivated:
- set
appcodechecker
tofalse
inconfig.php
(see the config.sample.php ) - now you can install the app
- afterwards re-enable the appcodechecker
Sometimes translatable strings aren't detected. Try to move the translate
attribute
more to the beginning of the HTML element.
git archive HEAD --format=zip --prefix=music/ > build/music.zip
PHP tests
phpunit tests/php
phpunit --coverage-html coverage-html tests/php
update JavaScript libraries
cd js
bower update