个人工具
登录
查看“UbuntuHelp:SmartDJHowTo”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:SmartDJHowTo”的源代码
来自Ubuntu中文
←
UbuntuHelp:SmartDJHowTo
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/SmartDJHowTo}} {{Languages|UbuntuHelp:SmartDJHowTo}} <<Include(Tag/Unsupported)>> == Smart DJ Installation How To == 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. More details can be find in the [http://www.kde-apps.org/content/show.php?content=31509 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 * <pre><nowiki> # sudo apt-get install python-qt3 python2.4-dev vorbis-tools attr mpg321 binutils gcc make gsl-bin libgsl0-dev libvorbis-dev </nowiki></pre> * ''(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 <pre><nowiki> # 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 .. </nowiki></pre> 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. <pre><nowiki> # cd /usr/bin/ # sudo ln -s ogg123 ogg321 </nowiki></pre> ==== 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. ---- [[category:CategoryAudio]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:SmartDJHowTo
。