sachin/nde
Composer 安装命令:
composer require sachin/nde
包简介
Library for the Winamp Nullsoft Database Engine format aka NDE,forked from nico@neuralys.com
README 文档
README
Reading all the data from Winamp Media Library in PHP
Winamp use a system called the "Nullsoft Database Engine" to store you media library data. Basically everything is stored in two files (main.dat and main.idx). The main class will help you to read the content of this database
$path_to_winamp = 'C:\Users\Administrateur\AppData\Roaming\Winamp\Plugins\ml';
$winamp = new WinampDb( $path );
while( $song = $winamp->next() ) {
// -- all known fields are available (artist, album, year, filename...)
echo "Song: " . $song['title'] . "\n";
}
You can also get all songs at a time in an array
$winamp = new WinampDb( $path );
$all_songs = $winamp->all();
Be smart, call close when finished...
$winamp->close();
Credits
This work is greatly inspired from the work of Daniel15 http://www.d15.biz/, on the project ndephp
My work is more concentraded on
- testability (100% coverage)
- respect Symfony2 coding standards
- working easily with composer and packagist, just require the neuralys/nde package, and you're up
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-05-15