Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 49
  1. #21
    thanks
    but not very easy to find one in france ... or in europe
    so i hope i can use an usb key to stream fm to my squeezecenter

    if you have another solution or where i can find a griffin
    can i use a 1 and 2 version of the radioshark

    Thanks

  2. #22
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,859
    For a modern solution best bet would be to find a RTL8232 based solution but FM only. Very cheap and available everywhere.
    https://www.ebay.fr/sch/i.html?_from...p2045573.m1684

    Just need to check that RTL8232 is in the device.

    The previous poster on this thread never followed through but if you are committed I can help.
    Last edited by bpa; 2019-08-29 at 13:09.

  3. #23
    i think to this sort of usb

    how can i use it with squeezecenter ?

    i order one to test

    Many thanks for your help

  4. #24
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,859
    Quote Originally Posted by tanguy View Post
    i think to this sort of usb

    how can i use it with squeezecenter ?

    i order one to test

    Many thanks for your help
    What processor & OS is your LMS ? You'll need to install rtl_fm

    If OS is Windows or Linux - I should be able to post a modified test plugin in a day or so.
    Last edited by bpa; 2019-08-29 at 13:29.

  5. #25
    i'm using linux ( debian )

    many thanks for your help
    i move to another place and i don't have good adsl i need to use 4G
    so all i can do without network it's cool

  6. #26
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,859
    I've created a simple plugin to enable playing a FM station using rtl_fm through LMS.

    Your RTL SDR USB stick should be supported by your Debian system. Install rtl_sdr packages (https://packages.debian.org/jessie/rtl-sdr ) and rtl_fm is part of this package.

    You can check the USB stick by the rtl_test command.

    You should check that USB stick plays an FM station OK without LMS in case of problem such as poor reception due to antenna.
    Code:
    rtl_fm -f 89.9M -s 200000 -r 44100 | aplay -r 44100 -f S16_LE
    This plays the station at 89.9MHz. - the parameter to "-f" is numerical frequency so you can use 89.9M or 89.9e6 or 89900k.
    When testing the plugin on LMS you need to have a good test station that plays well with the above command.

    To install the plugin Use LMS WebUI Setting/Plugins and add the following repo.
    http://downloads.sourceforge.net/project/bpaplugins/repo-rtlfmplay.xml

    Sourceforge can be unreliable so after "Restart" check plugin has been installed - this means RTLFMPlay is in "Active Plugins" list and the "RTLFMPlay" file type in WebUI Settings/Advanced/FileTypes

    Once plugin is installed - to play a station create a favorite with the pseudo URL "rtlfm:"

    so to play 96.4MHz - create a Favorite with url rtlfm:96.4M
    so to play 106.0MHz - create a Favorite with url rtlfm:106M


    The plugin is just a customisation of the WaveInput plugin. In case you want a simpler solution - WaveInput allows for input from audio line-in to be played on LMS players. So you could connected a FM/AM radio via headphones to a Line-in on an LMS host (e.g microphone socket on PC or USB ADC) but tuning would on the FM/AM radio. Using the SDR approach tuning can be done via a Favorite.

  7. #27
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,859
    In theory most USB RTL SDR stick can also play DAB stations but I have not found an available equivalent for DAB as "rtl_fm"

    If you are technical (i.e. able to build application) - there are possibilties.

  8. #28
    Hello,
    i've see your post
    many thanks
    i've try rapidly
    install the plugin
    install rtl
    i've sound with rtl_fm on server

    but nothing when use favorites with rtlfm on the same frequency
    i don't see anything in the log

    i make some other test tomorrow
    retry to reinstall and retest all
    i think i've missed somethin

    Many thanks for this plugin

  9. #29
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,859
    Quote Originally Posted by tanguy View Post
    Hello,
    i've see your post
    many thanks
    i've try rapidly
    install the plugin
    install rtl
    i've sound with rtl_fm on server

    but nothing when use favorites with rtlfm on the same frequency
    i don't see anything in the log

    i make some other test tomorrow
    retry to reinstall and retest all
    i think i've missed somethin

    Many thanks for this plugin
    You never gave info on your OS , processor etc. - there may be issues with your setup
    Has the plugin installed OK ?
    Are RTLFMPLay FileType present in LMS Settings and what are the current settings ?

    If all above look OK - then try enabling LMS logging
    1. In WebUI Setting/Advanced/Logging - set player.source to Info and click Apply.
    2. Note time.
    3. Play the rtlfm Favorite
    4. Open server.log - use WebUI Setting/Information
    5. Copy all log lines from noted time to end of log to a post .

  10. #30
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,859
    A successful log should look like the following - please post your log tso I can interpret - do NOT delete anyhting.
    Code:
    [19-09-01 21:52:41.3503] Slim::Player::StreamingController::_setStreamingState (2387) new streaming state IDLE
    [19-09-01 21:52:41.3506] Slim::Player::Song::new (108) index 0 -> rtlfm:89.9M
    [19-09-01 21:52:41.3507] Slim::Player::StreamingController::_setStreamingState (2387) new streaming state TRACKWAIT
    [19-09-01 21:52:41.3509] Slim::Player::StreamingController::_playersMessage (797) Getting stream info...: rtlfm:89.9M
    [19-09-01 21:52:41.3511] Slim::Player::Song::getNextSong (229) rtlfm:89.9M
    [19-09-01 21:52:41.3512] Slim::Player::Song::getNextSong (251) scanning URL rtlfm:89.9M
    [19-09-01 21:52:41.3515] Slim::Player::Song::getNextSong (229) rtlfm:89.9M
    [19-09-01 21:52:41.3516] Slim::Player::StreamingController::_nextTrackReady (745) 00:04:20:16:07:0e: nextTrack will be index 0
    [19-09-01 21:52:41.3517] Slim::Player::StreamingController::_Stream (1211) Song queue is now 0
    [19-09-01 21:52:41.3517] Slim::Player::StreamingController::_Stream (1214) 00:04:20:16:07:0e: preparing to stream song index 0
    [19-09-01 21:52:41.3518] Slim::Player::Song::open (364) rtlfm:89.9M
    [19-09-01 21:52:41.3521] Slim::Player::TranscodingHelper::getConvertCommand2 (443) Error: Didn't find any command matches for type: rtlfm
    [19-09-01 21:52:41.3522] Slim::Player::Song::open (388) seek=false time=0 canSeek=0SEEK_ERROR_REMOTE
    [19-09-01 21:52:41.3524] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: rtlfm->flc via: [rtl_fm] -f $FILE$ -s 200000 -r 44100 | [sox] -q -r 44100 -t raw -e s -b 16 -c 1 - -r 44100 -t wav -e s -b 16 -c 2 - | [flac] -cs --totally-silent --compression-level-0 -
    [19-09-01 21:52:41.3525] Slim::Player::Song::open (409) Transcoder: streamMode=R, streamformat=flc
    [19-09-01 21:52:41.3526] Slim::Player::Song::open (462) Opening stream (no direct streaming) using Plugins::RTLFMPlay::RTLFM [rtlfm:89.9M]
    [19-09-01 21:52:41.3529] Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command for conversion: "/usr/bin/rtl_fm" -f "89.9M" -s 200000 -r 44100 | "/mnt/hddrive/home/xxxxx14.04/repos/7.9/latest/trunk/Bin/x86_64-linux/sox" -q -r 44100 -t raw -e s -b 16 -c 1 - -r 44100 -t wav -e s -b 16 -c 2 - | "/mnt/hddrive/home/xxxxx14.04/repos/7.9/latest/trunk/Bin/x86_64-linux/flac" -cs --totally-silent --compression-level-0 -
    [19-09-01 21:52:41.3593] Slim::Player::Song::open (483) URL is a song (audio): rtlfm:89.9M, type=flc
    /mnt/hddrive/home/xxxxx14.04/repos/7.9/latest/trunk/Bin/x86_64-linux/sox WARN wav: Length in output .wav header will be wrong since can't seek to fix it
    [19-09-01 21:52:41.3603] Slim::Player::StreamingController::_Stream (1283) 00:04:20:16:07:0e: stream
    [19-09-01 21:52:41.3611] Slim::Player::StreamingController::_Stream (1320) Song queue is now 0
    [19-09-01 21:52:41.3613] Slim::Player::StreamingController::_setPlayingState (2378) new playing state BUFFERING
    [19-09-01 21:52:41.3614] Slim::Player::StreamingController::_setStreamingState (2387) new streaming state STREAMING
    Found 1 device(s):
      0:  Realtek, RTL2838UHIDIR, SN: 00000001
    
    Using device 0: Generic RTL2832U OEM
    [19-09-01 21:52:41.3893] Slim::Player::TranscodingHelper::getConvertCommand2 (443) Error: Didn't find any command matches for type: rtlfm
    Detached kernel driver
    [19-09-01 21:52:41.4860] Slim::Player::Player::_buffering (1145) Buffering... 0 / 261120
    Found Rafael Micro R820T tuner
    [19-09-01 21:52:41.7867] Slim::Player::Player::_buffering (1145) Buffering... 0 / 261120
    Tuner gain set to automatic.
    Tuned to 90200000 Hz.
    Oversampling input by: 6x.
    Oversampling output by: 1x.
    Buffer size: 6.83ms
    Sampling at 1200000 S/s.
    Output at 200000 Hz.
    [19-09-01 21:52:42.0879] Slim::Player::Player::_buffering (1145) Buffering... 0 / 261120
    [19-09-01 21:52:42.3888] Slim::Player::Player::_buffering (1145) Buffering... 0 / 261120
    [19-09-01 21:52:42.6901] Slim::Player::Player::_buffering (1145) Buffering... 36312 / 261120
    [19-09-01 21:52:42.9912] Slim::Player::Player::_buffering (1145) Buffering... 69120 / 261120
    [19-09-01 21:52:43.2922] Slim::Player::Player::_buffering (1145) Buffering... 126464 / 261120
    [19-09-01 21:52:43.5932] Slim::Player::Player::_buffering (1145) Buffering... 183808 / 261120
    [19-09-01 21:52:43.8944] Slim::Player::Player::_buffering (1145) Buffering... 212480 / 261120
    [19-09-01 21:52:43.9393] Slim::Player::StreamingController::playerTrackStarted (2201) 00:04:20:16:07:0e
    [19-09-01 21:52:43.9396] Slim::Player::StreamingController::_setPlayingState (2378) new playing state PLAYING
    [19-09-01 21:52:43.9397] Slim::Player::StreamingController::_Playing (369) Song 0 has now started playing

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •