~jamesh/rhythmbox/fmradio

« back to all changes in this revision

Viewing changes to plugins/fmradio/rb-fm-radio-source.h

  • Committer: James Henstridge
  • Date: 2007-05-21 08:54:56 UTC
  • Revision ID: james@jamesh.id.au-20070521085456-i9a9mqwiom1wphnz
2007-05-21  James Henstridge  <james@jamesh.id.au>

        * plugins/fmradio/rb-fm-radio-source.c (playing_entry_changed):
        only mute/unmute the radio when we need to turn it off or on.
        Also change the radio station locations to use an "fmradio:"
        prefix.
        (rb_fm_radio_source_add_station): prepend "fmradio:" to the radio
        frequency to form a URI for the entry.  Also check to make sure
        the frequency can be parsed as a floating point number.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
                                                RBRadioTuner *tuner);
56
56
 
57
57
void      rb_fm_radio_source_add_station       (RBFMRadioSource *source,
58
 
                                                const char *uri,
 
58
                                                const char *frequency,
59
59
                                                const char *title);
60
60
 
61
61
G_END_DECLS