Hi folks,

Hoping for pointers…I’ve search for an answer to this one too and cannot figure 
out what I am doing wrong.

The problem is that if I set "track_sensitive=false” in fallback, it always 
uses the fallback file (and never the primary source).  Before I share my 
script, do I have do do a “playlist.safe” or a “mksafe” with the main source to 
get around this?  This in the quickstart docs 
(http://savonet.sourceforge.net/doc-svn/quick_start.html 
<http://savonet.sourceforge.net/doc-svn/quick_start.html>) makes me think 
that’s not supposed to be the case:

When an output complains about its source, you have to turn it into an 
infallible one. Depending on the situation, many solutions are available. The 
function mksafe takes a source and returns an infallible source, streaming 
silence when the input stream becomes unavailable. In a radio-like stream, 
silence is not the prefered solution, and you will probably prefer to fallback 
on an infallible “security” source:

fallback([your_fallible_source_here, single("failure.ogg")])
Finally, if you do not care about failures, you can pass the parameter 
fallible=true to most outputs.

Right now I am setting I am leaving off the “track_sensitive=false” and having 
fallible=true in the output to have things work.  All of my files are local (I 
am loading directories).  This is the fallback call right now:

security = single("~/Dropbox/70sRockXYZ/Media/normal/Van Halen/Van Halen/02 
Eruption.mp3")
s = fallback([s,security])

Can you help me understand what I am doing wrong.  From the docs I thought I 
could just do the single() and then should be able to do this:

s = fallback(track_sensitive=false,[s,security])

But then all I hear is Van Halen’s Eruption over and over…and it’s a great 
song…but… :-)

I’m glad to provide more of the script if it helps.

My best,

Alan


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to