特殊:Badtitle/NS100:SmartDJHowTo:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/SmartDJHowTo}} | {{From|https://help.ubuntu.com/community/SmartDJHowTo}} | ||
{{Languages|UbuntuHelp:SmartDJHowTo}} | {{Languages|UbuntuHelp:SmartDJHowTo}} | ||
<<Include(Tag/Unsupported)>> | |||
== Smart DJ Installation How To == | == Smart DJ Installation How To == | ||
This is a step-by-step guide for installing the Smart DJ script for [[UbuntuHelp:Amarok]] on Ubuntu Breezy 5.10.<<BR>> | This is a step-by-step guide for installing the Smart DJ script for [[UbuntuHelp:Amarok|Amarok]] on Ubuntu Breezy 5.10.<<BR>> | ||
Smart DJ is a program that works similary to the dynamic playlist but instead of appending songs that others have recommended it analyzes the tracks in your collection and then adds tracks that sound similar to what you are listening. | Smart DJ is a program that works similary to the dynamic playlist but instead of appending songs that others have recommended it analyzes the tracks in your collection and then adds tracks that sound similar to what you are listening. | ||
More details can be find in the [http://www.kde-apps.org/content/show.php?content=31509 script's description] | More details can be find in the [http://www.kde-apps.org/content/show.php?content=31509 script's description] | ||
第61行: | 第62行: | ||
* '''Disclaimer'''. I do not claim that this will work every time and I may have forgotten something because I did this a while ago. If you find something wrong or missing please fix it or let me know. | * '''Disclaimer'''. I do not claim that this will work every time and I may have forgotten something because I did this a while ago. If you find something wrong or missing please fix it or let me know. | ||
---- | ---- | ||
[[category:CategoryAudio]] | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年11月17日 (二) 20:38的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/SmartDJHowTo }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/af | • {{#if: UbuntuHelp:SmartDJHowTo|Afrikaans| [[::SmartDJHowTo/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/ar | • {{#if: UbuntuHelp:SmartDJHowTo|العربية| [[::SmartDJHowTo/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/az | • {{#if: UbuntuHelp:SmartDJHowTo|azərbaycanca| [[::SmartDJHowTo/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/bcc | • {{#if: UbuntuHelp:SmartDJHowTo|جهلسری بلوچی| [[::SmartDJHowTo/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/bg | • {{#if: UbuntuHelp:SmartDJHowTo|български| [[::SmartDJHowTo/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/br | • {{#if: UbuntuHelp:SmartDJHowTo|brezhoneg| [[::SmartDJHowTo/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/ca | • {{#if: UbuntuHelp:SmartDJHowTo|català| [[::SmartDJHowTo/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/cs | • {{#if: UbuntuHelp:SmartDJHowTo|čeština| [[::SmartDJHowTo/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/de | • {{#if: UbuntuHelp:SmartDJHowTo|Deutsch| [[::SmartDJHowTo/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/el | • {{#if: UbuntuHelp:SmartDJHowTo|Ελληνικά| [[::SmartDJHowTo/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/es | • {{#if: UbuntuHelp:SmartDJHowTo|español| [[::SmartDJHowTo/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/fa | • {{#if: UbuntuHelp:SmartDJHowTo|فارسی| [[::SmartDJHowTo/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/fi | • {{#if: UbuntuHelp:SmartDJHowTo|suomi| [[::SmartDJHowTo/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/fr | • {{#if: UbuntuHelp:SmartDJHowTo|français| [[::SmartDJHowTo/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/gu | • {{#if: UbuntuHelp:SmartDJHowTo|ગુજરાતી| [[::SmartDJHowTo/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/he | • {{#if: UbuntuHelp:SmartDJHowTo|עברית| [[::SmartDJHowTo/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/hu | • {{#if: UbuntuHelp:SmartDJHowTo|magyar| [[::SmartDJHowTo/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/id | • {{#if: UbuntuHelp:SmartDJHowTo|Bahasa Indonesia| [[::SmartDJHowTo/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/it | • {{#if: UbuntuHelp:SmartDJHowTo|italiano| [[::SmartDJHowTo/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/ja | • {{#if: UbuntuHelp:SmartDJHowTo|日本語| [[::SmartDJHowTo/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/ko | • {{#if: UbuntuHelp:SmartDJHowTo|한국어| [[::SmartDJHowTo/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/ksh | • {{#if: UbuntuHelp:SmartDJHowTo|Ripoarisch| [[::SmartDJHowTo/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/mr | • {{#if: UbuntuHelp:SmartDJHowTo|मराठी| [[::SmartDJHowTo/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/ms | • {{#if: UbuntuHelp:SmartDJHowTo|Bahasa Melayu| [[::SmartDJHowTo/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/nl | • {{#if: UbuntuHelp:SmartDJHowTo|Nederlands| [[::SmartDJHowTo/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/no | • {{#if: UbuntuHelp:SmartDJHowTo|norsk| [[::SmartDJHowTo/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/oc | • {{#if: UbuntuHelp:SmartDJHowTo|occitan| [[::SmartDJHowTo/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/pl | • {{#if: UbuntuHelp:SmartDJHowTo|polski| [[::SmartDJHowTo/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/pt | • {{#if: UbuntuHelp:SmartDJHowTo|português| [[::SmartDJHowTo/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/ro | • {{#if: UbuntuHelp:SmartDJHowTo|română| [[::SmartDJHowTo/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/ru | • {{#if: UbuntuHelp:SmartDJHowTo|русский| [[::SmartDJHowTo/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/si | • {{#if: UbuntuHelp:SmartDJHowTo|සිංහල| [[::SmartDJHowTo/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/sq | • {{#if: UbuntuHelp:SmartDJHowTo|shqip| [[::SmartDJHowTo/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/sr | • {{#if: UbuntuHelp:SmartDJHowTo|српски / srpski| [[::SmartDJHowTo/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/sv | • {{#if: UbuntuHelp:SmartDJHowTo|svenska| [[::SmartDJHowTo/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/th | • {{#if: UbuntuHelp:SmartDJHowTo|ไทย| [[::SmartDJHowTo/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/tr | • {{#if: UbuntuHelp:SmartDJHowTo|Türkçe| [[::SmartDJHowTo/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/vi | • {{#if: UbuntuHelp:SmartDJHowTo|Tiếng Việt| [[::SmartDJHowTo/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/yue | • {{#if: UbuntuHelp:SmartDJHowTo|粵語| [[::SmartDJHowTo/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/zh | • {{#if: UbuntuHelp:SmartDJHowTo|中文| [[::SmartDJHowTo/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/zh-hans | • {{#if: UbuntuHelp:SmartDJHowTo|中文(简体)| [[::SmartDJHowTo/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SmartDJHowTo | UbuntuHelp:SmartDJHowTo | {{#if: | :}}SmartDJHowTo}}/zh-hant | • {{#if: UbuntuHelp:SmartDJHowTo|中文(繁體)| [[::SmartDJHowTo/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:SmartDJHowTo|:SmartDJHowTo|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :SmartDJHowTo/zh | | {{#ifexist: SmartDJHowTo/zh | | {{#ifeq: {{#titleparts:SmartDJHowTo|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:SmartDJHowTo|1|-1|}} | zh | | }}
<<Include(Tag/Unsupported)>>
Smart DJ Installation How To
This is a step-by-step guide for installing the Smart DJ script for Amarok on Ubuntu Breezy 5.10.<
>
Smart DJ is a program that works similary to the dynamic playlist but instead of appending songs that others have recommended it analyzes the tracks in your collection and then adds tracks that sound similar to what you are listening.
More details can be find in the script's description
Installing the Script
Custom Packages
You'll need to install some custom packages. At the time of writing these are not in the apt repository so you will have to do it manually. Download the latest version of these packages in your homedir
- http://rudd-o.com/wp-content/projects/files/python-extattr/
- http://rudd-o.com/wp-content/projects/files/songanalysis/
- http://rudd-o.com/wp-content/projects/files/python-commandsplus/
- http://rudd-o.com/wp-content/projects/files/python-amarok/
- http://rudd-o.com/wp-content/projects/files/python-Observable/
Apt Packages
Now get some packages you'll need *
# sudo apt-get install python-qt3 python2.4-dev vorbis-tools attr mpg321 binutils gcc make gsl-bin libgsl0-dev libvorbis-dev
- (some packages are used when you will process mp3 or ogg. If you don't use this format you may skip that package. mp3: mpg321, ogg: vorbis-tools - libvorbis-dev)
- (make, binutils and gcc are required because you have to compile a package from source. If songanalysis comes in a package in a later time they will not be necessary)
Installation
Start installing the packages your downloaded
# tar -xvf python-commandsplus-0.2.3.tar.gz # tar -xvf python-extattr-0.1.3.tar.gz # tar -xvf songanalysis-0.4.0.tar.gz # tar -xvf python-Observable-0.1.0.tar.gz # tar -xvf python-amarok-0.1.0.tar.gz # cd python-commandsplus-0.2.3 # sudo python setup.py install # cd .. # cd python-extattr-0.1.3 # sudo python setup.py install # cd .. # cd python-Observable-0.1.0 # sudo python setup.py install # cd .. # cd python-amarok-0.1.0 # sudo python setup.py install # cd .. # cd songanalysis-0.4.0 # ./configure # make # sudo make install # cd ..
If you wish, enable extended attributes on the volume where you store your mp3/ogg files (see the SmartDJ script README)
Create ogg321
If you use vorbis files, create a symlink for ogg321.
# cd /usr/bin/ # sudo ln -s ogg123 ogg321
Finalizing
Now use amaroK's script manager to install the latest Smart DJ script. Hopefully all is fine and you should be able to start the script.
Final Notes
- Before running this script I used mp32ogg to encode all my collection into the vorbis format. For some reason the Script would halt on some .mp3 files.
- Disclaimer. I do not claim that this will work every time and I may have forgotten something because I did this a while ago. If you find something wrong or missing please fix it or let me know.