Thanks David,
It sort of...
Because these are files over which I have no control (they live in
archive.org), they might or might not have good metadata.
More essential to show during the stream (in a browser) rather than
their metadata will be to show their url in archive.org. That's why I
want to be able to have access to the current playing Title whithin a
playlist
So saying that my morning.pls is:
[playlist]
numberofentries=2
Title1=http://www.archive.org/details/DeadbeatByDice/
File1=http://www.archive.org/download/DeadbeatByDice/05Deadbeat.ogg
Title2=http://www.archive.org/details/SlipperyWhenWet/
File2=http://www.archive.org/download/SlipperyWhenWet/BillCosby.ogg
and currently File1 is being played; I would like to have its
Title(http://www.archive.org/details/DeadbeatByDice/) or
File(http://www.archive.org/download/DeadbeatByDice/05Deadbeat.ogg)
in a variable. So that this information could be written into the stream
metadata (the writing metadata part I am ok with)
Is this impossible??
I will send another email about this project ...
thank
a
On 03/20/2012 09:25 AM, David Baelde wrote:
Hi Andre,
The filename (or initial_uri) metadata is probably what you're looking
for. To access it, on_metadata is the way to go. For example, try
adding radio = on_metadata(fun(m)->log(m), radio) in your script.
You'll see the kind of metadata that goes through, then you can change
the handler to extract the metadata of interest, and do a system call
instead of logging.
Hope this helps,
--
_
(` ).
http://www.andrecastro.info/
_( '`.
.=(`( . ) .--
(( (..__.:'-' .+( )
`( ) ( . )
` __.:' `-' '-
--..,___.--,--'-,---..-.--+--.,,-,,...
On 03/20/2012 09:25 AM, David Baelde wrote:
Hi Andre,
The filename (or initial_uri) metadata is probably what you're looking
for. To access it, on_metadata is the way to go. For example, try
adding radio = on_metadata(fun(m)->log(m), radio) in your script.
You'll see the kind of metadata that goes through, then you can change
the handler to extract the metadata of interest, and do a system call
instead of logging.
Hope this helps,
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users