Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ralphy wrote: > The code to locate the card at line 194. > > You can just change the *r*adioSHARK to *R*adioSHARK > > > Code: > > --- /u/tmp/rs-stream.sh 2021-06-06 09:03:37.0 -0400 > +++ /u/tmp/rs-stream2.sh2021-06-19 08:31:12.0 -0400 > @@ -191,7 +191,7 @@ > ;; > esac > > -CARD=$(cat /proc/asound/cards | sed 'N;s/\n/ /' | grep radioSHARK | awk '-F[ :]' '{print $2}') > +CARD=$(cat /proc/asound/cards | sed 'N;s/\n/ /' | grep RadioSHARK | awk '-F[ :]' '{print $2}') > > if [ -z $CARD ]; then > print -u2 "radioSHARK not found." > > After some hard learning with linux, gambling with this i figure out. idk whats an executable. just now copy script with other name and just replace R in the second one. thanks. Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ralphy wrote: > The code to locate the card at line 194. > > You can just change the *r*adioSHARK to *R*adioSHARK > > > Code: > > --- /u/tmp/rs-stream.sh 2021-06-06 09:03:37.0 -0400 > +++ /u/tmp/rs-stream2.sh2021-06-19 08:31:12.0 -0400 > @@ -191,7 +191,7 @@ > ;; > esac > > -CARD=$(cat /proc/asound/cards | sed 'N;s/\n/ /' | grep radioSHARK | awk '-F[ :]' '{print $2}') > +CARD=$(cat /proc/asound/cards | sed 'N;s/\n/ /' | grep RadioSHARK | awk '-F[ :]' '{print $2}') > > if [ -z $CARD ]; then > print -u2 "radioSHARK not found." > > ok i need do that in line 194 from rs-stream.sh but i dont know where exactly its rs-stream.sh , what folder , i open a session with winSCP but i cant find it im sorry im new to this linux thing. thanks Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > hi i just get another shark white one . > > where i can get rs-stream.sh where its located? > > alsa detect two sharks but just change r to R > > And it give another address to the other shark. The code to locate the card at line 194. You can just change the *r*adioSHARK to *R*adioSHARK Code: --- /u/tmp/rs-stream.sh 2021-06-06 09:03:37.0 -0400 +++ /u/tmp/rs-stream2.sh 2021-06-19 08:31:12.0 -0400 @@ -191,7 +191,7 @@ ;; esac -CARD=$(cat /proc/asound/cards | sed 'N;s/\n/ /' | grep radioSHARK | awk '-F[ :]' '{print $2}') +CARD=$(cat /proc/asound/cards | sed 'N;s/\n/ /' | grep RadioSHARK | awk '-F[ :]' '{print $2}') if [ -z $CARD ]; then print -u2 "radioSHARK not found." Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ralphy wrote: > Yes, but you'd have to copy and modify the rs-stream.sh script to find > the 2nd radioshark device. > > Usually ALSA adds _1 to the device name when there are 2 devices the > same. > > Then run the modified script on a different port. > > > Code: > > /usr/local/bin/tcpserver -R 0 9102 /mnt/mmcblk0p2/tce/rs-stream2.sh > > hi i just get another shark white one . where i can get rs-stream.sh where its located? alsa detect two sharks but just change r to R +---+ |Filename: 06-18-2021 (185616).jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=35011| +---+ Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > question pcp 7.0 have an old version of pcp-streamer .tcz? i mean its > not update it? i read that on yesterday post. > > > its any difference update one ? > > EDIT, I UPDATE IT, ITS IMPROVE ANYTHING ON THE SHARK FUNCTIONALITY? > > thanks no, the rs-stream script has the changes from v1.04 applied. the other components of the pcp-streamer.tcz you are using are the same in both versions. I just posted an update and temporary work around in the pcp7 thread. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ralphy wrote: > Yes, but you'd have to copy and modify the rs-stream.sh script to find > the 2nd radioshark device. > > Usually ALSA adds _1 to the device name when there are 2 devices the > same. > > Then run the modified script on a different port. > > > Code: > > /usr/local/bin/tcpserver -R 0 9102 /mnt/mmcblk0p2/tce/rs-stream2.sh > > question pcp 7.0 have an old version of radioshark.tcz? i mean its not update it? i read that on yesterday post. its any difference update one ? Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > woa! its working > > i just copy > > > Code: > > http://192.168.x.xxx:9101/670.00/S16_LE/44100/2/F > > > > and its tune it! > > > thanks a lot! > > thanks for the patience bpa, i see post from 12 years old wow! > > > question if i plug both sharks 1 and 2 it be work? thanks! Yes, but you'd have to copy and modify the rs-stream.sh script to find the 2nd radioshark device. Usually ALSA adds _1 to the device name when there are 2 devices the same. Then run the modified script on a different port. Code: /usr/local/bin/tcpserver -R 0 9102 /mnt/mmcblk0p2/tce/rs-stream2.sh Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > Ralphy's mods is unlikely to support it if it uses my application > directly. My rs-stream script does not use or require the radioshark plugin. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
well im using a terk antenna and it improves a lot am tunning. i get like +5 stations plus better sound, still some noise typical from am . everything good now with setup, but if i do a fast change tuning via each link or after few tunings and few hours the shark stop working , i have to reboot picoplayer to bring it back, sometimes works plugin and unpluggin the shark. Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > thing its am side. but yeah sounds its terrible despite of that i get > like 10 am stations with a good sound quality. > > looks like shark add noise to am stations i have another radio v-115 > and i get more am stations better reception. > > i was reading something about hd am or am digital, that be take time. > > > Code: > > https://www.federalregister.gov/documents/2020/12/03/2020-25252/all-digital-am-broadcasting-revitalization-of-the-am-radio-service > > > This is why SDR offer flexibility for the future for radio broadcasting. With mobile networks & internet, there are only a few commercial situations to justify updating AM/FM networks to digital and then you have user resistance. Many countries are shutting down DAB services, keeping FM as range is worse than FM and internet (over 3G/4G/5G) gives all the added features - higher quality services are offered over internet - no need for two "broadcast" HD networks. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
thing its am side. but yeah sounds its terrible despite of that i get like 10 am stations with a good sound quality. looks like shark add noise to am stations i have another radio v-115 and i get more am stations better reception. i was reading something about hd am or am digital, that be take time. Code: https://www.federalregister.gov/documents/2020/12/03/2020-25252/all-digital-am-broadcasting-revitalization-of-the-am-radio-service Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > thanks for the patience bpa, i see post from 12 years old wow! RadioShaqrk is v.v. old tech now - most people who want Radio use SDR with something like rtlsdr but is trickier to set up. > question if i plug both sharks 1 and 2 it be work? thanks! I expect they should appear as two ALSA devices. I think my tune application only expects one Radioshark. Ralphy's mods is unlikely to support it if it uses my application directly. If you can code, I guess it should be modifiable. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
woa! its working i just copy Code: http://192.168.x.xxx:9101/670.00/S16_LE/44100/2/F and its tune it! thanks a lot! thanks for the patience bpa, i see post from 12 years old wow! question if i plug both sharks 1 and 2 it be work? thanks! Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
im able to copy to folder via shh 34916 and i copy and save to user commands 34917 im new on this so idk what its next? i mean after save it there , idk where i can choose port for avoid conflict. i try run this on ssh command line? nothing happens. Code: /usr/local/bin/tcpserver -R 0 9101 /mnt/mmcblk0p2/tce/rs-stream.sh i will try figure out meanwhile. +---+ |Filename: 06-06-2021 (110101).jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=34917| +---+ Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > i update myself. i able to hear sound from . > > i fullly newbie about this so idk. > > with radioshark i able to tune stations but i cant hear nothing there. > > > there its a stream link from audio tweaks > hw:CARD=radioSHARK,DEV=0 > > http://192.xxx.x.xxx:9100/S16_LE/44100/2/F > > this one. > > so i have to tune on lms to change station. there its other way? > > > i able to add it to tivimate . > > my goal its get a stream for each station. like its done on lms. idk if > its possible , for now i have one stream link but i have to tune on lms. I have a modified pcp-stream script that selects the radio frequency of the radioshark via the url and turns the blue LED on when the stream is connected. Code: http://192.xxx.x.xxx:9101/*91.1*/S16_LE/44100/2/F Copy the script to /mnt/mmcblk0p2/tce/rs-stream.sh and make sure it's executable. You need to run it on a different port from the user commands so it doesn't conflict with the standard streamer. You can run the command from an ssh session to test it. The rs-stream.sh script automatically locates the radioshark device but exits if it's not found. Once it's working you can start if from the user commands on the tweaks page of the webadmin. Code: /usr/local/bin/tcpserver -R 0 9101 /mnt/mmcblk0p2/tce/rs-stream.sh I'll try to build a 64bit version of the radioshark extension in the coming days. I also noticed that the pcp-streamer extension in pcp 7 is an older version than what's in pcp 6, not sure how this keeps happening. I"ll fix that too. +---+ |Filename: rs-stream.sh.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=34915| +---+ Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
i update myself. i able to hear sound from . i fullly newbie about this so idk. with radioshark i able to tune stations but i cant hear nothing there. there its a stream link from audio tweaks hw:CARD=radioSHARK,DEV=0 http://192.xxx.x.xxx:9100/S16_LE/44100/2/F this one. so i have to tune on lms to change station. there its other way? i able to add it to tivimate . my goal its get a stream for each station. like its done on lms. idk if its possible , for now i have one stream link but i have to tune on lms. Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > Radioshark just needs USB port. Linux,OSX or Windows doesn't matter. You > need an application on the OS to "tune" the Radioshark. i tested your plugin on my pc server lms, it runs but in the pi says its not compatible with that lms version. i install 32bit version of pcp so i able to see pcp-radioshark.tcz and install it, but doing this i able to see shark tune options on lms ? i install also Jivelite and see on pi but its looks like lms with other skin i though using pcp radioshark.tcz give me funcionality to use shark on pi-lms im little loss honestly at this point. Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > for run radio shark it need be plugged to a windows system?[/quuote] > > Radioshark just needs USB port. Linux,OSX or Windows doesn't matter. You > need an application on the OS to "tune" the Radioshark. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > I don't know pcp very well but IIRC pcp had a facility to create a http > audio stream from an input. If that is still the case then it should be > possible to modify. for run radio shark it need be plugged to a windows system? or just on picoreplayer pi? thanks for help Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > okay, so looks a way i guess. > > i need a pc for run shark? or i can plug it to picoreplayer pi? > > if i need vlc then its pc i guess, main idea to use picore its not run > pc 24 hours. well for what i try to do. I don't know pcp very well but IIRC pcp had a facility to create a http audio stream from an input. If that is still the case then it should be possible to modify. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > The support app just changes the frequency the Radioshark is "listening > to" (and turn on/off LED) > > Once tuned it is a normal USB audio device and you can use something > like VLC to create a http/MP3 stream with ALSA audio device as source or > arecord to grab the audio stream > > So no need for LMS if you want create a http/mp3 stream from the FM > station. okay, so looks a way i guess. i need a pc for run shark? or i can plug it to picoreplayer pi? if i need vlc then its pc i guess, main idea to use picore its not run pc 24 hours. well for what i try to do. Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > yeah its just one tuner so it be only one available. i use hdhomerun so > its several tuners. > > ok so same frequency its possible. gotcha. > > i was planning use ''radio streams'' to add to tivimate on android tv > like i did with tvheadend ones, so looks like those only work on > logitech devices because not are htpp ones? > > thanks! The support app just Tunes the Radioshark (and turn on/off LED). Once tuned it is a normal USB audio device and can use something like VLC to create a http/MP3 stream with ALSA audio device as source. So no need for LMS if you want create a http/mp3 stream from the FM station. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Paul Webster wrote: > Logitech LMS completely unaffected by Reciva shutdown. > LMS uses (by default but others available) the TuneIn / RadioTime > system. Reciva was a competitor to it. good to know! sadly i have 4 grace mondo in my home. and one philips streamium. hope somebody find a way to hack those devices. Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > It won't be like tvheadend. > > Plugin installed in LMS. LMS runs on a server and Radioshark is plugged > into server. > > RadioShark only support playing one frequency at a time. > > Squeezebox players use LMS to play stream. > The Radioshark plugin enable one player to tune the Radioshark hardware > and play a single stream (not a http one) on the player. > Players can be synced to play same frequency on multiple players. yeah its just one tuner so it be only one available. i use hdhomerun so its several tuners. ok so same frequency its possible. gotcha. i was planning use ''radio streams'' to add to tivimate on android tv like i did with tvheadend ones, so looks like those only work on logitech devices because not are htpp ones? thanks! Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > but my idea its get a shareable link , stream link to able to play in > other devices > > like tvheadend do with tuners. thats possible? It won't be like tvheadend. Plugin installed in LMS. LMS runs on a server and Radioshark is plugged into server. RadioShark only support playing one frequency at a time. Squeezebox players use LMS to play stream. The Radioshark plugin enable one player to tune the Radioshark hardware and play a single stream (not a http one) on the player. Players can be synced to play same frequency on multiple players. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > thanks for answer > > i have two models white and black. I meant Model 1 or Model 2 - different interfaces. > i tested with your plugin and works perfectly. (Black shark) RadioShark2 then. Plugin has a small support exe which is needed to tune to a frequency. > new here, what suppose to do this pcp-radioshark.tcz? its a extension > that ralphy mention before. tcz is a package format used to easily install libraries or the support exe such as Radioshark support app - otherwise it has to be done manually. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > > question logitech radios are e affected by reciva shutdown or not? (i > have an old mondo grace digital and yes idk about my logitech one) Logitech LMS completely unaffected by Reciva shutdown. LMS uses (by default but others available) the TuneIn / RadioTime system. Reciva was a competitor to it. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Paul Webster wrote: > Perhaps it is only in the 32-bit repo and you are using 64-it pCP. > Or ... it is in pCP 6 repo. oh! i installed 64bit one. i read pc streamer do the same or it have to be shark one ? what do exactly this ? i mean i have logitech ue and it works with server. but my idea its get a shareable link , stream link to able to play in other devices like tvheadend do with tuners. thats possible? question logitech radios are e affected by reciva shutdown or not? (i have an old mondo grace digital and yes idk about my logitech one) im sorry im not expert. thanks! Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Perhaps it is only in the 32-bit repo and you are using 64-it pCP. Or ... it is in pCP 6 repo. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > I don't think the Radioshark support tcz has ever been built for pcp. > > Do you actually have a RadioShark ? Which model ? thanks for answer i have two models white and black. i tested with your plugin and works perfectly. (Black shark) new here, what suppose to do this pcp-radioshark.tcz? its a extension that ralphy mention before. Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Toei wrote: > Hi > > im installed pcp yesterday, i able to see three sources repository but > im unable to see > > pcp-radioshark.tcz > > 2 repositories have 533 extensions and one 1067 . > > new here. thanks for help. I don't think the Radioshark support tcz has ever been built for pcp. Do you actually have a RadioShark ? Which model ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Hi im installed pcp yesterday, i able to see three sources repository but im unable to see pcp-radioshark.tcz 2 repositories have 533 extensions and one 1067 . new here. thanks for help. Toei's Profile: http://forums.slimdevices.com/member.php?userid=71839 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ralphy wrote: > > > That's been my experience as well. I only have a shark2. > > > > Interesting, I get the following error with this tweak enabled on an > rpi3, works fine with the default 0xF. > > > Code: > > tc@rpi37-wls:~$ shark2 -fm 91.1 > hid_force_open failed with return code 13 > > > Well, My setup is on a RPi 3b+ with official 7'' display, a usb audio card from Behringer and the original SHARK. Maybe this is the reason that FIQ-split work better with 0x8 on my setup. I will try later with SHARK2. ditheo's Profile: http://forums.slimdevices.com/member.php?userid=70066 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > That's great. You got ahead of me. I have libhid built and was then > going to do a statically link libhid to a shark2 for on a Raspbian > binary but I wasn't going to do a PCP version. I reused a build script that I created years ago for i386. I also uploaded 'armv6hf static binaries to sourceforge' (https://sourceforge.net/projects/lmsclients/files/utility/radioshark-1.0-armv6hf.tar.gz/download). bpa wrote: > IIRC the Shark2 AM performance was often v.poor so if it doesn't work > don't persist. FM reception can be improved by using the external > antenna. That's been my experience as well. I only have a shark2. ditheo wrote: > Also In PCP tweaks i change FIQ-Split acceleration to 0x8 (Enable > interrupt/Control Split Transaction Hack) to stop FIQ errors Interesting, I get the following error with this tweak enabled on an rpi3, works fine with the default 0xF. Code: tc@rpi37-wls:~$ shark2 -fm 91.1 hid_force_open failed with return code 13 Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Working For Me. Code: [20-05-07 19:58:51.4909] Plugins::SharkPlay::Plugin::webManualTune (158) webManualTune [20-05-07 19:58:51.4914] Plugins::SharkPlay::Plugin::webManualTune (174) Manual Tune: shark://99.5 [20-05-07 19:58:51.4950] Plugins::SharkPlay::Fork::go (83) Fork executing 'shark' with '-red 0' [20-05-07 19:58:51.4954] Plugins::SharkPlay::Fork::go (84) Fork actual executing 'exec "/usr/local/bin/shark" -red 0 2> "/usr/local/slimserver/Cache/sharkforkout3.txt"' [20-05-07 19:58:51.5048] Plugins::SharkPlay::Fork::go (92) Child task (10078) forked: exec "/usr/local/bin/shark" -red 0 2> "/usr/local/slimserver/Cache/sharkforkout3.txt" [20-05-07 19:58:51.5074] Plugins::SharkPlay::Fork::go (93) Child task is alive [20-05-07 19:58:52.7957] Plugins::SharkPlay::Fork::go (83) Fork executing 'shark' with '-red 1' [20-05-07 19:58:52.7961] Plugins::SharkPlay::Fork::go (84) Fork actual executing 'exec "/usr/local/bin/shark" -red 1 2> "/usr/local/slimserver/Cache/sharkforkout4.txt"' [20-05-07 19:58:52.8047] Plugins::SharkPlay::Fork::go (92) Child task (10079) forked: exec "/usr/local/bin/shark" -red 1 2> "/usr/local/slimserver/Cache/sharkforkout4.txt" [20-05-07 19:58:52.8058] Plugins::SharkPlay::Fork::go (93) Child task is alive [20-05-07 19:58:52.8264] Plugins::SharkPlay::SHARK::new (119) Full URL= shark://99.5?Title=FM 99.5 MHz Format=flc Freq=99.5 [20-05-07 19:58:52.8274] Plugins::SharkPlay::SHARK::new (147) about to execute:"/usr/local/bin/arecord" -c 2 -f S16 -r 44100 -D hw:2,0 | "/usr/local/slimserver/Bin/armhf-linux/flac" -cs --totally-silent --compression-level-0 - [20-05-07 19:58:52.8293] Plugins::SharkPlay::Fork::go (83) Fork executing 'shark' with '-fm 99.5' [20-05-07 19:58:52.8297] Plugins::SharkPlay::Fork::go (84) Fork actual executing 'exec "/usr/local/bin/shark" -fm 99.5 2> "/usr/local/slimserver/Cache/sharkforkout5.txt"' [20-05-07 19:58:52.8381] Plugins::SharkPlay::Fork::go (92) Child task (10080) forked: exec "/usr/local/bin/shark" -fm 99.5 2> "/usr/local/slimserver/Cache/sharkforkout5.txt" [20-05-07 19:58:52.8392] Plugins::SharkPlay::Fork::go (93) Child task is alive Also In PCP tweaks i change FIQ-Split acceleration to 0x8 (Enable interrupt/Control Split Transaction Hack) to stop FIQ errors ditheo's Profile: http://forums.slimdevices.com/member.php?userid=70066 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ditheo wrote: > It seems that only manual tuning is broken... if you add a station on > the menu it is ok. But that is from the html code I think, because from > my squeezer app on phone working good. > > Also I have test both of the executables but it does not has a > diffrerence. Althought i change the plugin to recall shark executable > and test both models it works great. So Basically you can have either > Shark or Shark2 working with the plugin. > > I try to find a solution about the manual tuning . > > The problem came from a 7.8 LMS change so below is a fix (add lines in red) so that plugin changes space to a decimal point. In InstalledPlugins/Plugins/Sharkplay/Plugin.pm Code: sub webManualTune { my ($client, $params) = @_; my $tunerfreq = $params->{tunerfreq}; my $stationtext; $log->debug("webManualTune"); $tunerfreq =~ s/^\s+|\s+$//g; # trim away leading and trailing whitespace $tunerfreq =~ m/^(\d+) ?(\d*)$/; # match first and optional second group of digits $tunerfreq = ($2 != 0) ? "$1.$2" : "$1.0"; # Make up a decimal number from matched digits. my $content = "shark://$tunerfreq" ; if ($tunerfreq >= 87.9 && $tunerfreq <= 108.0) { $tunerfreq = sprintf("%2.1f",$tunerfreq); $stationtext = "FM $tunerfreq MHz"; } bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > Does it work OK with the fractional FM frequencies such as 98.5 as > Ralphy pointed out a bug in his Jan 2016 post. > > IIRC the Shark2 AM performance was often v.poor so if it doesn't work > don't persist. FM reception can be improved by using the external > antenna. It seems that only manual tuning is broken... if you add a station on the menu it is ok. But that is from the html code I think. Also I have test both of the executables but it does not has a diffrerence. Althought i change the plugin to recall shark executable and test both models it works great. So Basically you can have either Shark or Shark2 working with the plugin. I try to find a solution about the manual tuning . Thank you Again dear BPA for great plugin and Ralphy for your working extension ! ditheo's Profile: http://forums.slimdevices.com/member.php?userid=70066 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ditheo wrote: > Dear Ralphy, works like charm! That's awesome! > > I have tested it with both original shark and shark2 and it working > great! > > Thanks a lot for that!! Does it work OK with the fractional FM frequencies such as 98.5 as Ralphy pointed out a bug in his Jan 2016 post. IIRC the Shark2 AM performance was often v.poor so if it doesn't work don't persist. FM reception can be improved by using the external antenna. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ralphy wrote: > I haven't used the radio shark plugin since I posted last. Instead I've > been using a script that the pcp-streamer extension is based on to > stream from the radio shark. > > The shark and shark2 programs only compile with specific versions of > libhid and libusb. > > Since I had the library sources handy I've built a pcp-radioshark.tcz > extension for pcp 6.0 which includes both programs. > > You can install it from the picoreplayer web gui main page extensions. That's great. You got ahead of me. I have libhid built and was then going to do a statically link libhid to a shark2 for on a Raspbian binary but I wasn't going to do a PCP version. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ralphy wrote: > I haven't used the radio shark plugin since I posted last. Instead I've > been using a script that the pcp-streamer extension is based on to > stream from the radio shark. > > The shark and shark2 programs only compile with specific versions of > libhid and libusb. > > Since I had the library sources handy I've built a pcp-radioshark.tcz > extension for pcp 6.0 which includes both programs. > > You can install it from the picoreplayer web gui main page extensions. Dear Ralphy, works like charm! That's awesome! I have tested it with both original shark and shark2 and it working great! Thanks a lot for that!! ditheo's Profile: http://forums.slimdevices.com/member.php?userid=70066 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
I haven't used the radio shark plugin since I posted last. Instead I've using a script that the pcp-streamer extension is based on to stream from the radio shark. The shark and shark2 programs only compile with specific versions of libhid and libusb. Since I had the library sources handy I've built a pcp-radioshark.tcz extension for pcp 6.0 which includes both programs. You can install it from the picoreplayer web gui main page extensions. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
after a brief reading on internet. One way is to compile the old libhid package. But i did;nt have any success to do that on raspbian buster. On pcp repository yoy can find the libusb package. I have understand that both packages are required to build shark2.c, is that correct? ditheo's Profile: http://forums.slimdevices.com/member.php?userid=70066 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ditheo wrote: > on raspbian is 4.19.114.v7+ and is raspbian buster.] > > libusb is both on raspbian and picoreplayer avaiable. I give a try again > on picorerplayer with libhidapi . No point - the source code of shark2 needs to be changed significantly to work with either libusb or libhidapi. In Greece radio streams are in a poor format only. It is better to listen to FM radio. Also is a must on cars when you are driving to places with poor coverage of mobile cells. OK - if you can confirm that either libusb or libhidapi is available for the LMS OS server - probably the raspbian as I don't see them in the pcp tcz repository ( http://picoreplayer.sourceforge.net/tcz_repo/8.x/armv7/tcz/ ) bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > The shark2 executable was developed for x86 (i.e 32 bit kernel) with > libhid and probably a very early 4.x kernel - so it will definitely not > run on an Arm based system > > For different platforms users compiled the src and build a version on > their own system. > > libhid is now dead. It was replaced by a different library libhidapi - > which would mean rewriting the shark2 application. > > "latest" does not tell which version such as full details from "uname > -a" and also jessie, buster etc. > > For "picoreplayer " which is a special version of linux - you'd not only > need to build a special version of the shark2 application but also > probably build a version of the libhidapi library. > > There maybe another solution using libusb > Is libusb available for your LMS systems ? > > How good are your development skills ? > Why do you really need to do this ? on raspbian is 4.19.114.v7+ and is raspbian buster. libusb is both on raspbian and picoreplayer avaiable. I give a try again on picorerplayer with libhidapi . In Greece radio streams are in a poor format only. It is better to listen to FM radio. Also is a must on cars when you are driving to places with poor coverage of mobile cells. ditheo's Profile: http://forums.slimdevices.com/member.php?userid=70066 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ditheo wrote: > I have test it on RPI 3b+ with picorerplayer. I have also tested on > latest raspbian ( which gave me other error). I cannot find libhid-dev > package for both OSes. The shark2 executable was developed for x86 (i.e 32 bit kernel) with libhid and probably a very early 4.x kernel - so it will definitely not run on an Arm based system For different platforms users compiled the src and build a version on their own system. libhid is now dead. It was replaced by a different library libhidapi - which would mean rewriting the shark2 application. "latest" does not tell which version such as full details from "uname -a" and also jessie, buster etc. For "picoreplayer " which is a special version of linux - you'd not only need to build a special version of the shark2 application but also probably build a version of the libhidapi library. There maybe another solution using libusb Is libusb available for your LMS systems ? How good are your development skills ? Why do you really need to do this ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > Unfortunately, I don''t have a Shark unit on hand - it was put away in a > box for many years. > > What version of Perl ? > What is processor and OS of LMS server ? > > Before looking at plugin and trying to bring it up to date (not ralphy's > previous post said it was broken in 7.8) > - Did you build the executable for your platform and test it standalone > ? I didn't build it, I was only download the plugin and set the permissions ditheo's Profile: http://forums.slimdevices.com/member.php?userid=70066 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > Looking at the code for shark2 - it require the libhid library which has > been discontinued on many OS for many years. I have test it on RPI 3b+ with picorerplayer. I have also tested on latest raspbian ( which gave me other error). I cannot find libhid-dev package for both OSes. ditheo's Profile: http://forums.slimdevices.com/member.php?userid=70066 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Looking at the code for shark2 - it require the libhid library which has been discontinued on many OS for many years. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
ditheo wrote: > I have a slight problem with the plugin > > when i recall it i hear some noise like no reception and the log says > > > Code: > > [20-05-06 16:07:30.9436] Plugins::SharkPlay::Fork::checkFork (131) FORK 19548 : /usr/local/slimserver/Cache/InstalledPlugins/Plugins/SharkPlay/Bin/shark2: line 1: syntax error: unexpected word (expecting ")") > > > > > also in cli i get this error > > > Code: > > /mnt/mmcblk0p2/tce/slimserver/Cache/InstalledPlugins/Plugins/SharkPlay/Bin$ ./shark2 -fm 89 > ./shark2: line 1: syntax error: unexpected word (expecting ")") > > > > > i have picorerplayer v.6 and lms 8 Unfortunately, I don''t have a Shark unit on hand - it was put away in a box for many years. What version of Perl ? What is processor and OS of LMS server ? Before looking at plugin and trying to bring it up to date (not ralphy's previous post said it was broken in 7.8) - Did you build the executable for your platform and test it standalone ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
I have a slight problem with the plugin when i recall it i hear some noise like no reception and the log says Code: [20-05-06 16:07:30.9436] Plugins::SharkPlay::Fork::checkFork (131) FORK 19548 : /usr/local/slimserver/Cache/InstalledPlugins/Plugins/SharkPlay/Bin/shark2: line 1: syntax error: unexpected word (expecting ")") also in cli i get this error Code: /mnt/mmcblk0p2/tce/slimserver/Cache/InstalledPlugins/Plugins/SharkPlay/Bin$ ./shark2 -fm 89 ./shark2: line 1: syntax error: unexpected word (expecting ")") i have picorerplayer v.6 and lms 8 ditheo's Profile: http://forums.slimdevices.com/member.php?userid=70066 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: > Can't see any reason why not ? except possibly the plugin install.xml > file said 7.8 is the max version in which case it is a quick edit. > > I assume you have a RadioShark - otherwise a SDR would be better > starting point. FM Manual Tuning no longer works with 7.8+ as the the decimal point is no longer returned from the opml search text field. I can't select a period from the SB3 manual tune interface either. Haven't tried on the touch. If you create a menu entry for the FM station it plays fine. Which is what I've done. I've attached a full server log attempting to manual tune 94.9. But here's the obvious bits. Code: [16-01-13 10:14:27.8291] Plugins::SharkPlay::Plugin::webManualTune (171) Manual Tune: shark://*94 9* [16-01-13 10:14:28.0986] Plugins::SharkPlay::SHARK::new (119) Full URL= shark://*94 9*?Title=FM *94.0* MHz Format=flc Freq=*94 9* +---+ |Filename: server.log.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=19744| +---+ Ralphy *1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio 'Squeezebox client builds' (https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa wrote: Can't see any reason why not ? ... Thx for the quick answer, I just figured out that I'm already fine with your WaveInput plugin. Perfect, because my preferred radio station stopped streaming and now I had to get the terrestrial signal into my LMS. It's always amazing what LMS with its individual plugins is able to leverage - best multi what ever solution - ever ;-) ASUS P6-P5G41E W7 x64 | LMS 7.9 - 1425585294 | 6 SB Radios | 2 SB Receivers | Samsung S3 | Squeeze Player 1.3.8 Squeeze Commander 0.9.6.4 Squeeze Control 1.4.3 doubleugk's Profile: http://forums.slimdevices.com/member.php?userid=36464 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
doubleugk wrote: Hi bpa, since the last post is from 2012, I'm wondering if your plugin would work with LMS 7.9? Cheers wgk Can't see any reason why not ? except possibly the plugin install.xml file said 7.8 is the max version in which case it is a quick edit. I assume you have a RadioShark - otherwise a SDR would be better starting point. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Dear bpa, I am wandering around integrating some all-in-one box (I have yet another pcengines alix2 in my hands.) FM and digital radio would be a nice thing to have. I've been looking at devices that include the Realtek RTL2832U radio chip and Elonics E4000 tuner. (see http://superkuh.com/rtlsdr.html) Then I thought I would rely on 'rtl_sdr' (http://www.rtlsdr.org) or possibly rtl_tcp to tune the dongle. I am a lazy person. I didn't look at your Sharkplay plugin. Do you think I could hook the rtl_ binaries with your plugin, or was the griffin device another beast entirely ? Also, if I do this the idea would be to tune to FM radio in France. In case someone know how an usb tuner of that sort works effectively, I'd be glad for the feedback. epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
epoch1970 wrote: DI am wandering around integrating some all-in-one box (I have yet another pcengines alix2 in my hands.) FM and digital radio would be a nice thing to have. I've been looking at devices that include the Realtek RTL2832U radio chip and Elonics E4000 tuner. (see http://superkuh.com/rtlsdr.html) Then I thought I would rely on 'rtl_sdr' (http://www.rtlsdr.org) or possibly rtl_tcp to tune the dongle. I am a lazy person. I didn't look at your Sharkplay plugin. Do you think I could hook the rtl_ binaries with your plugin, or was the griffin device another beast entirely ? Also I am being lazy and didn't look at the rtl stuff. There are two parts making a tuner work with the plugin 1. Tune in a frequency 2. Playing the audio stream. Radioshark does not support the linux TV/radio tuner stanrd v4l and so there is a special command line application (shark2) which takes parameters: radio frequency and also led control. Once tune - the Radioshark audio is on a standard USBV audio and so arecord is used to play audio from the Radio shark. If your tuner implements v4l - then you will need to edit the SHARK.pm file and replace the shark2 tuning instances with an v4l tuning executable such as ivtv-tune. Then you need to modify is the custom-convert.conf to get audio from your tuner - if it is standard USB audio - I guess custom-convert.conf arecord may need a few small changes to the parameters to suit your tuner.. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Just an update, I found a radioSHARK2 on ebay and I just got it working on Windows Home Server 1. This is not a custom built WHS box like the one of the previous posters but an Acer easySTORE, so I did not have the option of hooking up a KVM, but it worked! Thanks for all your help bpa. rmjb's Profile: http://forums.slimdevices.com/member.php?userid=14978 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
There is no market for playing FM on PCs/Laptops. Chip makers and products vendors stopped making new products about 5 years ago. New products only address digital radio such as internet, DAB and DVB but even now it is hard to find USB DAB products. The only users who now need an FM USB solution are the DIY Car Radio/audio builders. When I started the plugin - I ended up buying 4 FM radio solutions - 2 TV/FM Tuner cards for PC, Sharkradio and a ADS InstantFM USB. I needed a solution for Windows and Linux and only SharkRadio delivered a reliable system. TV Tuner cards (e.g. Hauppauge) were OK on Linux but couldn't make a general purpose plugin for Windows as reliablility functionality varied by card and Windows version. Most of USB FM tuner solution are based on Silabs chips but at the time I wasn't able to build a reliable support application and so I put all my effort into a RadioShark based solution. There was an active group developing for Silabs (see http://code.google.com/p/silabsradiodll/ ) but mainly Windows based and but activity stopped around 2008. If you mainly listen to one FM station - I suggest buying an FM radio and connect into the line-in port of the PC (or iMic for better quality) and use the WaveInput plugin. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Thanks for the reply and history. A few of the stations that my wife and I want to listen to stream, but there are a few more that do not stream and it is those stations that I wanted an FM solution for. I guess I will keep my eye out for a radioSHARK2. Will this plugin work for the forseen future? Or are there changes coming up in the server that will break this plugin? -- rmjb rmjb's Profile: http://forums.slimdevices.com/member.php?userid=14978 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
If the underlying OS doesn't change - then the plugin should keep working with new version of LMS possibly with some small changes. I use it everyday for my wake up alarm as it provides a reliable stream with better quality than the net stream for a local station. Besides RadioShark2 - the other options are still a possibility if you are willing to do some work testing and put up with some niggles and as long as you are not using OSX. The work will depend on the device you find. It is not clear where you live nor the OS nor the system type (e.g. Desktop, laptop, NAS) you are using. Finding a suitable alternative USB FM tuner or PCI card is the first step. I would stick to well known names so a quick google throws up PCI card with FM tuner http://www.newegg.com/Product/Product.aspx?Item=N82E16815260032 http://www.bhphotovideo.com/c/product/461894-REG/ADS_Technologies_RDX_155_EF_Instant_FM_Music.html These should work even if you are not US based. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
The radioSHARK2 seems harder to find than some urban legends. Are there any other slimserver plugins that work with other USB FM tuners? -- rmjb rmjb's Profile: http://forums.slimdevices.com/member.php?userid=14978 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
All of a sudden I can't find the radioSHARK2 available for sale any more, only the radioSHARK. Does this plugin work with the radioSHARK? -- rmjb rmjb's Profile: http://forums.slimdevices.com/member.php?userid=14978 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
The plugin can be made to work with original RadioShark but it has a different protocol and a different supporting app which I cannot test. IIRC I think I provided details to another user about the necessary changes somewhere in this thread but I cannot be sure they work. I find it hard to believe that original RadioShark is still on sale and not the RadioShark 2. I would think it could be someone being careless in their description. There were two models original RadioShark (I'll call it 1) which was then replaced by the Radioshark 2. Griffin stopped selling the RadioShark 1 at least 3-4 yrs and recently have stopped selling the RadioShark 2. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Thanks for the reply. This tells me I need to buy a radioSHARK2 as soon as I find one if they've stopped making them. -- rmjb rmjb's Profile: http://forums.slimdevices.com/member.php?userid=14978 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Hi All; I've been using the RadioShark (2) for a couple weeks, and the sound quality seems fine; and surprisingly, this signal is the only one that will nearly-sync with my PC's SoftSqueeze 3.9b1. :) My problem is that the signal consistently cuts out to re-buffer. Each morning, my alarm turns on (2) SBRadios, (1) SB Classic, and (1) Softsqueeze3. I often play play high quality MP3s and FLAC over this network, without any re-buffering. Is the bit-rate extremely high on the RadioShark? Thanks, -- MartinG MartinG's Profile: http://forums.slimdevices.com/member.php?userid=40452 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Radioshark feeds a WAV stream direct into SBS which then by default converts it into Flac to send to players. Itt sounds like network interference and that coupled with need to encode the stream may result in rebuffering. Other possibility is that there is some other task on the server which uses a lot of CPU in small bursts. You should run a network test to see what is the max rate you can get 100% for at least 10 mins. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
I was able to snap open the RS2 case, by pulling the rubber cover off the base, removing the single screw and carefully prying the case open. One open, the antenna connections were different from what I had seen pictured of the RS1. Armed with a coax antenna feed from my attic mounted FM antenna, I tuned to a station with poor reception and touched the coax center wire to the internal antenna and also to the ground connection of the headphone jack. To my surprise the better result was with the headphone jack. So I snapped the RS2 back together, stripped insulation off the end of the included antenna tinned the exposed wire and inserted into a Female-Female F adapter with the antenna feed on the other side. A couple of wraps of electrical tape and I was set. Server is now back in the basement and reception is markedly improved. Not as good as my Denon receiver hooked to the same antenna feed, but certainly good enough. In summary, the RS2 may easily be used with a real external or outdoor antenna, and reception is improved dramatically. Doug -- TechHome TechHome's Profile: http://forums.slimdevices.com/member.php?userid=2340 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
I'm not familiar with WHS so I don't know the difference between the two install methods tried and why the KVM method is needed. It is good to know that USB audio devices work on WHS. So it seems the advice I found that audio support has been stripped from WHS is wrong. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa;543505 Wrote: I'm not familiar with WHS so I don't know the difference between the two install methods tried and why the KVM method is needed. It is good to know that USB audio devices work on WHS. So it seems the advice I found that audio support has been stripped from WHS is wrong. Mine is a home-built WHS on a motherboard that doesn't officially support WHS or Windows Server 2003. I originally disabled on-board audio in BIOS and after reading your comments I enabled audio and installed the driver prior to running the RS2 install. The WHS has WMP11 hacked-in and once the on-board audio was installed, I was able to directly connect PC speakers and listen to music played by WMP11. However, I believe WHS does not support audio to a remote PC over RDP. This is likely the source of the errors I encountered while installing the RS2 driver over RDP. By the way, after I got RS2 and Sharkplay working, I uninstalled the on-board audio driver and disabled the hardware in BIOS. Sharkplay works fine without it. My big disappointment now lies with the poor FM reception and the non-existent AM reception. Google helped my find that Carputer folks have modded the RS2 to connect to external FM and AM antennas and I hope to do the same, time permitting. Thanks again for this excellent plugin and I hope my posts will help others get sharkplay working on WHS. Doug -- TechHome TechHome's Profile: http://forums.slimdevices.com/member.php?userid=2340 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
I found a long USB extension lead to get RS2 away from PC is useful for reception as PC are often hidden away. To use external antenna all you need is a cable inserted into headphone socket of RS2. I tested the external using a standard audio cable ( I think with 2.5mm plug) and with one end cut off and a length of wire attached. I think with original RS, the RS needed to be hacked to use external antenna. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Up til last night my server lived under the stairs in my basement. This is the best location as it's the network termination point for all my TV/phone and LAN cabling. Telephone punchdown block, coax distribution amp, cable modem, gateway/router, VOIP adapter, ethernet switches etc all live here too. Last night I moved the server upstairs. With the USB extension cable I was able to get the RS2 near an exterior wall and I'm also using the supplied external antenna plugged into the headphone jack. Although both changes help, reception is still poor, especially AM. Ultimately, I'd like the RS2 to connect to an omnidirectional outdoor FM antenna I have in my attic. Connection is via 75 ohm coax. Once this is done, I can once again put the server in the basement. By the way, this mp3car thread: http://www.mp3car.com/vbulletin/car-audio/70795-radioshark-car-antenna-2.html shows how forum members have connected external antennas, in-particular, scroll down to the post by Akula169. Granted this is with a RS1... I'll first try it with the attic antenna to a 75-300 ohm adapter to the ground connection of the headphone jack. If this doesn't get me there, I'll crack open the case and take more drastic measures. If you are interested I'll post my progress here. -- TechHome TechHome's Profile: http://forums.slimdevices.com/member.php?userid=2340 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
A summary post when you have finished would be useful. When describing reception issues it would help to indicate roughly the environment you are living (e.g. US Urban/high density, US Rural, European rural etc) as that gives an idea about how congestion and signal strength. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
The plugin does not require any version of .NET. Since WHS has all audio support removed - that is probably what is causing the exception problem. I think you should google to see if anybody has hacked in audio support. Audio support is not .NET support. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Bryan, I really appreciate your interest and will retry the install tonight. I'll capture the specific unhandled exception error messages. They have no meaning to me, but perhaps they will to you. I'm very happy with the WHS machine which is configured to go into S3 when inactive and wakes via the squeezebox or via iPeng. I'd rather manually tune my Denon receiver than move SBS to a WinXP machine to get the RS2 working. Doug -- TechHome TechHome's Profile: http://forums.slimdevices.com/member.php?userid=2340 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Bryan, I connected a keyboard mouse and to my normally headless WHS machine and repeated the RadioShark2 install. Went without a hitch and all is working fine. Your plugin is very slick! Doug -- TechHome TechHome's Profile: http://forums.slimdevices.com/member.php?userid=2340 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
spedinfargo;541837 Wrote: This will probably be a lot easier than hacking my Denon receiver to stream local radio stations... Quick question - anyone know if there's a huge difference between Radioshark and Radioshark2? I would be using it on a Win7 box with SBS 7.5.x Thanks... [edit] - Also, what's the experiences of how well this thing picks up AM stations? Reviews on Amazon tend to show that not so great...Radioshark2 did not work on Windows Home Server and compatibility with XP, Vista Max OS X, only, is claimed. Looks like I have a RS2 for sale as I want to stay with WHS for SBS. -- TechHome TechHome's Profile: http://forums.slimdevices.com/member.php?userid=2340 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
In what way did it not work ? Does it appear as a sound device ? Can you run Recorder and record from it ? I have never claimed OSX compatibility. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Thanks for chiming in. I really do want this to work! I cannot install .NET 1.1, WHS says it's akready installed and kicks out of the installation. However, control panel reports .NET 2.0 SP2, 3.0 SP2 and 3.5 SP1, only; no 1.1. Quick Google searches indicate .NET 1.1 is incompatible with WHS. I went ahead and installed the the RS2 sw, but get unhandled exception errors when I start the program, presumably due to .NET 1.1 not being there? Doug -- TechHome TechHome's Profile: http://forums.slimdevices.com/member.php?userid=2340 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
I do not know what hardware changes between RS and RS2 but there is a s/w change and the support EXEs used by the application only work with an RS2. The s/w difference is small so although it should not be hard to build a versions of the EXEs for an RS but I cannot test it and if there is an issue it would be hard to debug. These are cheap devices and most users just plug in them in on a short USB lead next to their noisy PC without using an external antenna. In the US I think AM is more crowded and so under these circumstances it suffers. So don't get high expectation but you can improve reception by using USB extension leads to position RS in a better location away from PC and possibly also using an external antenna (I think this improves FM reception more than AM). -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
This will probably be a lot easier than hacking my Denon receiver to stream local radio stations... Quick question - anyone know if there's a huge difference between Radioshark and Radioshark2? I would be using it on a Win7 box with SBS 7.5.x Thanks... -- spedinfargo spedinfargo's Profile: http://forums.slimdevices.com/member.php?userid=15712 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Bryan, This app looks great. Couple of questions before I take the plunge: Background - Latest SB server running on WHS, SB2 and SB Classic players, main control UI is iPeng, occasionally use IR remote and web UI. 1. WHS uses Lightsout to auto S3 at night and wake in the AM. In your instructions, you state that the RS2 app must be up prior to starting SBS. Can this be configured to happen automatically at boot time with no user input? 2. Anyone running on WHS, successfully? 3. My SB2 uses IR blaster to control a Denon DRA-295 stereo receiver which I take full advantage of, i.e. SB volume control is locked and iPeng controls Denon volume; SB2 on/off triggers Denon on/off. Seems to me it would be possible to build a SBS plugin that controls the receiver via IR blasting, rather than leveraging a PC based radio tuner. Have you considered this type of solution? Thanks! DougF -- TechHome TechHome's Profile: http://forums.slimdevices.com/member.php?userid=2340 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
TechHome;541318 Wrote: In your instructions, you state that the RS2 app must be up prior to starting SBS. I think you have misinterpreted - the RS2 USB device must be plugged in to your PC at SBS startup. Seems to me it would be possible to build a SBS plugin that controls the receiver via IR blasting, rather than leveraging a PC based radio tuner. Have you considered this type of solution? It may be possible but I don't have a tuner or an IR blaster. Such a plugin would be limited to SB2 and Sb3 players whereas current plugin works for all. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Bryan, Thanks for the quick reply, I'll be ordering a RS2 soon. One other reason for purchasing is that my Local Roots Rock station WRNR has only a streamthe world Java stream that cannot be tuned by the squeezebox. DougF -- TechHome TechHome's Profile: http://forums.slimdevices.com/member.php?userid=2340 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
finizi;534555 Wrote: OK, I'm newbie in Linux... Can you suggest a link on how configure audio system ? This was what I was suggesting back in posts around 31. The problem is that it is not clear which audio subsystem is installed - ALSA native or ALSA emulation under PulseAudio. For the bug, the trick is to stop radio before tuning. I just press play twice. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa;534674 Wrote: I just press play twice. Don't work with me. The first stop the radio and tune to the new station, but no sound. The second, and the following, do nothing, unless I tune another station. It seems it can't tune the station already tuned. -- finizi finizi's Profile: http://forums.slimdevices.com/member.php?userid=37124 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Well, ls -l shark2 give me : -rwsrwsrwx 1 root root 16066 2008-11-07 15:52 shark2 Now, when I manual tune via SBS, LED don't changes and no sound. But tune is OK. I test with your command line arecord -c 2 -f S16 -r 44100 -D hw:0,0 | flac -cs --totally-silent --compression-level-0 - sharkrecord.flc and I record the station tuned via SBS -- finizi finizi's Profile: http://forums.slimdevices.com/member.php?userid=37124 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Can you enable debugging (Webui Settings/Advanced/Logging/plugin.sharkplay DEBUG then click Apply). Note time, do a test and then copy the log message from start time into a post. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Wonderfull I'm learning a lot of things... [10-04-13 22:20:54.0390] Plugins::SharkPlay::Plugin::webManualTune (158) webManualTune [10-04-13 22:20:54.0402] Plugins::SharkPlay::Plugin::webManualTune (171) Manual Tune: shark://105.5 [10-04-13 22:20:54.0559] Plugins::SharkPlay::Fork::go (83) Fork executing 'shark2' with '-red 1' [10-04-13 22:20:54.0571] Plugins::SharkPlay::Fork::go (84) Fork actual executing 'exec /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SharkPlay/Bin/shark2 -red 1 2 /var/lib/squeezeboxserver/cache/sharkforkout25.txt' [10-04-13 22:20:54.0672] Plugins::SharkPlay::Fork::go (92) Child task (4315) forked: exec /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SharkPlay/Bin/shark2 -red 1 2 /var/lib/squeezeboxserver/cache/sharkforkout25.txt [10-04-13 22:20:54.0686] Plugins::SharkPlay::Fork::go (93) Child task is alive [10-04-13 22:20:54.1830] Plugins::SharkPlay::SHARK::new (119) Full URL= shark://105.5?Title=FM 105.5 MHz Format=flc Freq=105.5 [10-04-13 22:20:54.1866] Plugins::SharkPlay::SHARK::new (147) about to execute:/usr/bin/arecord -c 2 -f S16 -r 44100 -D hw:0,0 | /usr/share/squeezeboxserver/Bin/i386-linux/flac -cs --totally-silent --compression-level-0 - [10-04-13 22:20:54.1897] Plugins::SharkPlay::Fork::go (83) Fork executing 'shark2' with '-fm 105.5' [10-04-13 22:20:54.1909] Plugins::SharkPlay::Fork::go (84) Fork actual executing 'exec /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SharkPlay/Bin/shark2 -fm 105.5 2 /var/lib/squeezeboxserver/cache/sharkforkout26.txt' [10-04-13 22:20:54.2013] Plugins::SharkPlay::Fork::go (92) Child task (4316) forked: exec /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SharkPlay/Bin/shark2 -fm 105.5 2 /var/lib/squeezeboxserver/cache/sharkforkout26.txt [10-04-13 22:20:54.2028] Plugins::SharkPlay::Fork::go (93) Child task is alive [10-04-13 22:20:54.3045] Plugins::SharkPlay::Fork::go (83) Fork executing 'shark2' with '-red 0' [10-04-13 22:20:54.3057] Plugins::SharkPlay::Fork::go (84) Fork actual executing 'exec /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SharkPlay/Bin/shark2 -red 0 2 /var/lib/squeezeboxserver/cache/sharkforkout27.txt' [10-04-13 22:20:54.3199] Plugins::SharkPlay::Fork::go (92) Child task (4320) forked: exec /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SharkPlay/Bin/shark2 -red 0 2 /var/lib/squeezeboxserver/cache/sharkforkout27.txt [10-04-13 22:20:54.3215] Plugins::SharkPlay::Fork::go (93) Child task is alive [10-04-13 22:20:54.3369] Plugins::SharkPlay::Fork::checkFork (128) Forked task 4315 is not alive [10-04-13 22:20:54.3387] Plugins::SharkPlay::Fork::checkFork (137) Forked task complete, invoking callback [10-04-13 22:20:54.3400] Plugins::SharkPlay::Fork::checkFork (146) Deleting Bat and output files /var/lib/squeezeboxserver/cache/sharkforkout25.txt [10-04-13 22:20:54.5247] Plugins::SharkPlay::Fork::checkFork (128) Forked task 4316 is not alive [10-04-13 22:20:54.5262] Plugins::SharkPlay::Fork::checkFork (137) Forked task complete, invoking callback [10-04-13 22:20:54.5277] Plugins::SharkPlay::Fork::checkFork (146) Deleting Bat and output files /var/lib/squeezeboxserver/cache/sharkforkout26.txt [10-04-13 22:20:55.3231] Plugins::SharkPlay::Fork::checkFork (128) Forked task 4320 is not alive [10-04-13 22:20:55.3247] Plugins::SharkPlay::Fork::checkFork (137) Forked task complete, invoking callback [10-04-13 22:20:55.3260] Plugins::SharkPlay::Fork::checkFork (146) Deleting Bat and output files /var/lib/squeezeboxserver/cache/sharkforkout27.txt And a closer look at the shark when tuning show red LED flashing. -- finizi finizi's Profile: http://forums.slimdevices.com/member.php?userid=37124 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
If LED goes on and then off - it looks like the arecord / flac command is failing. To confirm can you also add more logging set player.source to INFO as well as plugin.sharkplay to DEBUG and click apply. Post log as before. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Bingo ! Extract : [10-04-14 00:02:22.2681] Slim::Player::TranscodingHelper::enabledFormat (199) Checking to see if shark-flc-*-* is enabled [10-04-14 00:02:22.2697] Slim::Player::TranscodingHelper::checkBin (240)enabled [10-04-14 00:02:22.2710] Slim::Player::TranscodingHelper::checkBin (242) Found command: [arecord] -c 2 -f S16 -r 44100 -D $SHARKDEVICE$ | [flac] -cs --totally-silent --compression-level-0 - [10-04-14 00:02:22.2725] Slim::Player::TranscodingHelper::getConvertCommand2 (366) Rejecting [arecord] -c 2 -f S16 -r 44100 -D $SHARKDEVICE$ | [flac] -cs --totally-silent --compression-level-0 - because required capability T not supported: [10-04-14 00:02:22.2737] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: shark-pcm-squeezeslave-00:04:20:00:00:01 I found arecord and I typed chmod +s arecord and chmod +s aplay new test = Bingo ! Radio in SBS and SqueezeBoxBoom. Great ! Many thanks for your patience. Just a little bug: If I want to tune another station, the LED turns off and the radio stops. For the radio again (and the red LED), I must give another station or select a song. -- finizi finizi's Profile: http://forums.slimdevices.com/member.php?userid=37124 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Bingo ! Extract : [10-04-14 00:02:22.2681] Slim::Player::TranscodingHelper::enabledFormat (199) Checking to see if shark-flc-*-* is enabled [10-04-14 00:02:22.2697] Slim::Player::TranscodingHelper::checkBin (240)enabled [10-04-14 00:02:22.2710] Slim::Player::TranscodingHelper::checkBin (242) Found command: [arecord] -c 2 -f S16 -r 44100 -D $SHARKDEVICE$ | [flac] -cs --totally-silent --compression-level-0 - [10-04-14 00:02:22.2725] Slim::Player::TranscodingHelper::getConvertCommand2 (366) Rejecting [arecord] -c 2 -f S16 -r 44100 -D $SHARKDEVICE$ | [flac] -cs --totally-silent --compression-level-0 - because required capability T not supported: [10-04-14 00:02:22.2737] Slim::Player::TranscodingHelper::checkBin (232) Checking formats for: shark-pcm-squeezeslave-00:04:20:00:00:01 I found arecord and I typed chmod +s arecord and chmod +s aplay new test = Bingo ! Radio in SBS and SqueezeBoxBoom. Great ! Many thanks for your patience. Just a little bug: If I want to tune another station, the LED turns off and the radio stops. For the radio again (and the red LED), I must give another station or select a song. -- finizi finizi's Profile: http://forums.slimdevices.com/member.php?userid=37124 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
The chmod solution you have used is not a good one and can be considered a security risk as those apps can do a lot of general actions and are used by other apps. You have enabled these apps to bypass security and can do destructive actions without restriction. It would have been better to configure your audio system without resorting to this. I know of the bug. The problem is timing as there is one process still using the audio streams when you start trying to play a second station. The first process has not terminated and still owns the device when the second tries to use the same device and so fails. I tried some solutions but couldn't find a simple reliable one - the bug is not critical and so I decided not to put in any more effort. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
OK, I'm newbie in Linux... Can you suggest a link on how configure audio system ? For the bug, the trick is to stop radio before tuning. -- finizi finizi's Profile: http://forums.slimdevices.com/member.php?userid=37124 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
finizi;533519 Wrote: How to test URL shark://xxx from command line ? When I type it, I got -bash: shark://xxx: No such file or directory. The shark:// pseudo URL is only valid within SBS - it is a formatr crerated by the Sharkplay plugin to enable SBS handle radio stations as if they were a real URL. Back to the original problem which I think is related to permissions and setup. When you try to play a shark://xxx within SBS and assuming RadioShark LED is off before you start - either (a) if the RadioShark LED comes on but no audio it means the shark2 app works but arecord doesn't. (b) if the RadioShark LED doesn't comes on it means the shark2 app is not working. What happens on your system (a) or (b) or something else ? -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa;533511 Wrote: Linux version work OK - I haven't tested Windows but there are no significant SBS changes to interface the plugin uses so I don't expect problems. Any Windows users out there that have upgraded to 7.5? Any issues? -- mccauls mccauls's Profile: http://forums.slimdevices.com/member.php?userid=17852 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa;533598 Wrote: What happens on your system (a) or (b) or something else ? First, RadioShark blue LED is always on as soon as I plug it in USB port. If I want switch off, I have to type ./shark2 -blue 0. So, in SBS advanced settings for RadioSHARK player I choose Red LED on while radio playing. Now, in SBS, I go for Manual Tune and enter 103. SBS right panel show RadioSHARK icon and shark://103?Title=FM 103.0 MHz. But no sound and no change on radioSHARK led. So, response (b). -- finizi finizi's Profile: http://forums.slimdevices.com/member.php?userid=37124 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
bpa;533598 Wrote: What happens on your system (a) or (b) or something else ? First, RadioShark blue LED is always on as soon as I plug it in USB port. If I want switch off, I have to type ./shark2 -blue 0. So, in SBS advanced settings for RadioSHARK player I choose Red LED on while radio playing. Now, in SBS, I go for Manual Tune and enter 103. SBS right panel show RadioSHARK icon and shark://103?Title=FM 103.0 MHz. But no sound and no change on radioSHARK led. So, response (b). -- finizi finizi's Profile: http://forums.slimdevices.com/member.php?userid=37124 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
Since the led doesn't change then either * plugin is not running properly * shark2 is not setup correctly. To check shark2 settings please get a listing of current setting by doing something like ls -l Cache/InstalledPlugins/Plugins/SharkPlay/Bin/shark2 Then copy output to a post. The output should look like -rwsr-sr-x 1 root root 16066 2008-11-07 15:52 Bin/shark2 -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
-rwxrwxrwx 1 squeezeboxserver squeezeboxserver 16066 2008-11-07 15:52 shark2 -- finizi finizi's Profile: http://forums.slimdevices.com/member.php?userid=37124 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
The Cache name depends on your installation and varies nu distro, OS and user settings - that is why I wrote something like You seem to be running all the install tests as root and not logged in as the same user which runs SBS. su is not the same as logged in. To get the LED working and shark2 tuning. 1. Change permissions of shark2 chmod +s shark2 2. Change owner and group of shark2 to root. Run test again and see if LED goes on/off. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SharkPlay plugin - radioSHARK player
yes, I am running all the install tests as root and not logged in as the same user which runs SBS. I suppose this user is squeezeboxserver but I dont't know the password. ls -l give now : -rwxrwxrwx 1 root root 16066 2008-11-07 15:52 shark2 I ran test again and nothing changed. -- finizi finizi's Profile: http://forums.slimdevices.com/member.php?userid=37124 View this thread: http://forums.slimdevices.com/showthread.php?t=54926 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins