I've put much interest in the Bitzi project as soon as I discovered it. I have no doubt that this open project, if it does not become an international standard over time, will inspire new ways of doing things.
I created a very basic media indexing system (The Fiat Jam Archive: http://membres.lycos.fr/fiatjamarchive/) to manage recordings of shows we organize periodically, in order to be able to verify availability and localize files among our increasing archive.
I intend to pour this information in a database soon, so it would be updatable from anywhere. I also planify to enable some sharing features, so selected recordings would be easily available publicly.
Seeking around on the web for a way to generate the magnet: sha1 tag of a file using PHP lead me almost nowhere. I've found a sha1() function [www.php.net/sha1]. But the PHP sha1() returns a 40-characters hash string, whilst we need a 32-characters hash string.
If anyone could give me some indication on how to process a file's bitprint in PHP, I'd be glad to share my results with the Bitzi community.
It includes a PHP function, hex_to_base32($hex), which you could use
to convert SHA1 hex values from other functions (like PHP's sha1())
into RFC3548 Base32-encoding.
Bigue Nique wrote:
> Hello everyone from Bitpedia,
> I've put much interest in the Bitzi project as soon as I discovered it.
> I have no doubt that this open project, if it does not become an
> international standard over time, will inspire new ways of doing
> things.
> I created a very basic media indexing system (The Fiat Jam Archive:
> http://membres.lycos.fr/fiatjamarchive/) to manage recordings of shows
> we organize periodically, in order to be able to verify availability
> and localize files among our increasing archive.
> I intend to pour this information in a database soon, so it would be
> updatable from anywhere. I also planify to enable some sharing
> features, so selected recordings would be easily available publicly.
> Seeking around on the web for a way to generate the magnet: sha1 tag of
> a file using PHP lead me almost nowhere. I've found a sha1() function
> [www.php.net/sha1]. But the PHP sha1() returns a 40-characters hash
> string, whilst we need a 32-characters hash string.
> If anyone could give me some indication on how to process a file's
> bitprint in PHP, I'd be glad to share my results with the Bitzi
> community.