mflint;205413 Wrote: 
> 
> A very timely post! I've wanted to do just that, and have been looking
> for a RadioShark. Hopefully I'll win one on Ebay soon...
> 
> I'd want to get some tight integration to SlimServer - I like the idea
> of being able to retune via the squeezebox. (Dare I mention the
> possibility of pausing / rewinding too!?)
> 
> Would be happy to collaborate on this if you have the time and
> inclination!
> 

I'd love to have such a plugin, but I fear that I don't have much free
time to work on it.

More on my setup:
- I'm using DarkIce (via ALSA, I think) to send the Shark's audio to
my IceCast server. My DarkIce init script uses the "shark.c" libhid app
to turn off the LED and tune the Shark.
- I've set a Slimserver Favorite to the  IceCast stream URL. 
- I have a cron job that uses streamripper
(http://streamripper.sourceforge.net/) to save MP3s of a favorite
weekly radio show (which is why I encode at 160k instead of 320k). 

streamripper has the ability to save multiple files, splitting at quiet
moments. It could be a good way to get rewind capability. With a pruning
mechanism like 'tmpwatch', you could have around-the-clock radio
caching, and could start listening to something "late".

I've had trouble getting streamripper to save filenames in the
dir/filename format of my choosing -- it doesn't seem to behave as
documented, and I haven't bothered to track down the problem. I also
didn't have much luck with tagging via streamripper, and re-tag
streamripper's outout once it's done. I don't recall what version of
streamripper I'm using, but it's certainly not the latest. 

streamripper presents a complication for my wish list -- I'd like any
tuning plugin to be smart enough not to let me change the station if my
cron job is recording a show. I can imagine at least one easy fix for
this: have the plugin test if the shark executable exists and is
usable; if so, have a scrollable list of presets and allow the user to
use the buttons to dial in a frequency; if not, display something like
"Sorry, cannot change the station right now". Then you could point the
plugin at a copy of the shark app that the cron recording job would
chmod 0 before recording, and fix after the recording was done.

Minimal function for me would be a web UI for entering frequencies &
station names, and a player UI for selecting different frequencies.
Being able to "save"/"record" through the player UI would be very
nice.

Definitely search the forums for other threads that discuss the
RadioShark. For instance, one user reported better sound with a low
pass filter. I didn't see obvious ways to incorporate lowpass into the
DarkIce ALSA mechanism, so I haven't bothered trying to make a lowpass
filtered recording with mplayer, arecord, etc. 

DAB -- you might check the MythTV lists & forums for that. It seems
fairly common for TV tuner cards to include radio tuners, and I think
I've seen a fair number of UK folk discussing DAB. 

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade StatusFirst
VolumeLock
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=35685

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to