i have a website (personal site) where i upload my music. i am a dj in clubs and for my mix i use my site to manage my music i create.
我有一个网站(个人网站),我上传我的音乐。我是俱乐部的DJ,对于我的混音我使用我的网站来管理我创作的音乐。
so ultimately i want to create mix online so now i have a share hosting and i cannot install the mp3 id3 and i am looking for alternative.
所以最终我想在线创建混合,所以现在我有一个共享托管,我无法安装mp3 id3,我正在寻找替代方案。
i looked online and found a lot of custom classes where i can read id3 tags.
我在网上找了很多自定义类,我可以读取id3标签。
what i want to know is this:
我想知道的是:
is it better to use the one that comes with php (which means change my current host) or i should use a script (and which one is the best?)?
是否更好地使用php附带的那个(这意味着更改我当前的主机)或者我应该使用脚本(哪一个是最好的?)?
thanks
3 个解决方案
#1
10
Installing a php module (even if it's as easy as yum install or apt-get install) is limited to what you get from the library. Also, if the ID3 change (like upgrading to a different version) you will have to wait for the library to be updated and re-install it again (unless you want to modify yourself of course).
安装php模块(即使它像yum install或apt-get install一样简单)仅限于从库中获取的内容。此外,如果ID3发生更改(如升级到其他版本),则必须等待更新库并再次重新安装(除非您想要自行修改)。
The PHP library (yes might be a little slower) can be very useful when ID tag are upgraded or modified. You can easily change the PHP code to match what you need and rapidly be able to mange your music library.
当升级或修改ID标记时,PHP库(是的可能会慢一点)非常有用。您可以轻松更改PHP代码以符合您的需要,并可以快速管理您的音乐库。
I've tried many libraries and I recommend http://getid3.sourceforge.net/
我尝试了很多图书馆,我推荐http://getid3.sourceforge.net/
#2
11
compiling is faster, if you need speed compile it.
编译速度更快,如果你需要速度编译它。
or you can use: http://getid3.sourceforge.net/
或者您可以使用:http://getid3.sourceforge.net/
#3
0
I tried to install php's mp3 tag lib, but it seems quite old to me How to install php_id3 on wamp?
我试图安装php的mp3标签lib,但它对我来说似乎很老了如何在wamp上安装php_id3?
Here is the solution I came up with. Found on stackexchange : https://unix.stackexchange.com/questions/4961/which-mp3-tagging-tool-for-linux
这是我提出的解决方案。在stackexchange上找到:https://unix.stackexchange.com/questions/4961/which-mp3-tagging-tool-for-linux
I installed the command line tool id3v2, which does exactly what I need : read and modify basic tags (album, artist, title, comment...)
我安装了命令行工具id3v2,它完全符合我的需要:读取和修改基本标签(专辑,艺术家,标题,评论......)
It installs with a simple
它安装简单
apt-get install id3v2
and is very easy to use. here is an extract from the man page :
而且非常容易使用。这是手册页的摘录:
-t, --song SONG
Set the song title information
-c, --comment DESCRIPTION:COMMENT
Set the comment information
note :There was also another tool I didn't bother to try, in the same post : "eyeD3"
注意:在同一篇文章中还有另一个我没有费心去尝试的工具:“eyeD3”
Hope this helps.
希望这可以帮助。
#1
10
Installing a php module (even if it's as easy as yum install or apt-get install) is limited to what you get from the library. Also, if the ID3 change (like upgrading to a different version) you will have to wait for the library to be updated and re-install it again (unless you want to modify yourself of course).
安装php模块(即使它像yum install或apt-get install一样简单)仅限于从库中获取的内容。此外,如果ID3发生更改(如升级到其他版本),则必须等待更新库并再次重新安装(除非您想要自行修改)。
The PHP library (yes might be a little slower) can be very useful when ID tag are upgraded or modified. You can easily change the PHP code to match what you need and rapidly be able to mange your music library.
当升级或修改ID标记时,PHP库(是的可能会慢一点)非常有用。您可以轻松更改PHP代码以符合您的需要,并可以快速管理您的音乐库。
I've tried many libraries and I recommend http://getid3.sourceforge.net/
我尝试了很多图书馆,我推荐http://getid3.sourceforge.net/
#2
11
compiling is faster, if you need speed compile it.
编译速度更快,如果你需要速度编译它。
or you can use: http://getid3.sourceforge.net/
或者您可以使用:http://getid3.sourceforge.net/
#3
0
I tried to install php's mp3 tag lib, but it seems quite old to me How to install php_id3 on wamp?
我试图安装php的mp3标签lib,但它对我来说似乎很老了如何在wamp上安装php_id3?
Here is the solution I came up with. Found on stackexchange : https://unix.stackexchange.com/questions/4961/which-mp3-tagging-tool-for-linux
这是我提出的解决方案。在stackexchange上找到:https://unix.stackexchange.com/questions/4961/which-mp3-tagging-tool-for-linux
I installed the command line tool id3v2, which does exactly what I need : read and modify basic tags (album, artist, title, comment...)
我安装了命令行工具id3v2,它完全符合我的需要:读取和修改基本标签(专辑,艺术家,标题,评论......)
It installs with a simple
它安装简单
apt-get install id3v2
and is very easy to use. here is an extract from the man page :
而且非常容易使用。这是手册页的摘录:
-t, --song SONG
Set the song title information
-c, --comment DESCRIPTION:COMMENT
Set the comment information
note :There was also another tool I didn't bother to try, in the same post : "eyeD3"
注意:在同一篇文章中还有另一个我没有费心去尝试的工具:“eyeD3”
Hope this helps.
希望这可以帮助。