Update your composer.json
"require-dev": {
"pyrex-fwi/deejaypool-bundle": "dev-master"
}
or
composer require pyrex-fwi/deejaypool-bundle
Update your app/config/AppKernel.php
file
<?php
public function registerBundles()
{
$bundles = [
// ...
new DeejayPoolBundle\DeejayPoolBundle()
// ...
];
// ...
}
?>
```php
Add your account information into config.yml
```yaml
deejay_pool:
providerName:
credentials:
login: replace_with_yours
password: replace_with_yours
configuration:
root_path: /replace/by/writable/path/destination
- AvDistrict (Videos, Create account)
- DigitalDjPool (Musics, Create account)
- Smash Vision (Videos, Create account
- Franchise Record Pool(Musics and videos, Create account
deejay_pool:
av_district:
credentials:
login: %av_district.credentials.login%
password: %av_district.credentials.password%
configuration:
root_path: %av_district.configuration.root_path%
franchise_pool_audio:
credentials:
login: brubruno
password: maladede
configuration:
root_path: %franchise_pool.configuration.root_path%
franchise_pool_video:
credentials:
login: %franchise_pool.credentials.login%
password: %franchise_pool.credentials.password%
configuration:
root_path: %franchise_pool.configuration.root_path%
smashvision:
credentials:
login: %smashvision.credentials.login%
password: %smashvision.credentials.password%
configuration:
root_path: %smashvision.configuration.root_path%
- deejay:discover (Discover prodivers)
- deejay:pool:status (Check account credentials)
- php app/console deejay:pool:status franchise_pool_audio -vvv
- deejay:pool:download (Download files from a specific provider)
- download files
- search files
Name | |
---|---|
SESSION_OPENED | After successful PoolProviderInterface::open() |
SESSION_OPEN_ERROR | When error occur on PoolProviderInterface::open() |
SESSION_CLOSED | After successful PoolProviderInterface::close() |
Name | |
---|---|
ITEMS_POST_GETLIST | After successful page items normalization in PoolProviderInterface::getItems() |
ITEM_PRE_DOWNLOAD | Triggered inside PoolProviderInterface::downloadItem() before true request |
ITEM_SUCCESS_DOWNLOAD | Dispatched when an item is correctly downloaded |
ITEM_ERROR_DOWNLOAD | Dispatched when itemCanBeDownloaded/ItemPreDownload propagation is stopped/Http Download Error / |
SEARCH_ITEM_LOCALY |
- ant install-deps
- ant
- vendor/bin/phpunit -c phpunit.xml --debug --verbose --exclude online
- vendor/bin/phpunit -c phpunit.xml --debug --verbose --coverage-html tests/TestData/Coverage --exclude online
- vendor/bin/phpunit -c phpunit.xml --debug --verbose --coverage-html tests/TestData/Coverage --debug --stop-on-error -v
-
export credential login and password
-
vendor/bin/phpunit -c phpunit.xml --group online --debug --verbose
http://gnugat.github.io/2014/10/29/sf2-bundle-standalone.html