LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-22-2020, 05:57 PM   #1
poetgrant
Member
 
Registered: Feb 2019
Distribution: Slackware
Posts: 90

Rep: Reputation: 22
Soma FM Awesomeness


So when I first started using Slackware years ago I found this neat little script called 'soma' that let me listen to SomaFM in the terminal. I only recently realized that that script still exists! However, none of the channels work.

So my question is, is there a way to make it work? I would hate to touch the script because I tend to break stuff, but I am willing to try.

I'm on 14.2 by the way. Stable is generally the only way I fly.
 
Old 07-22-2020, 06:05 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657
Soma is still around and the developer will announce new releases on this forum. You can find his info here. Based on the SlackBuild, it doesn't look like it needs to be compiled for various versions of Slackware, so you should be able to grab the latest package from -current and install this on 14.2 without issue.
 
Old 07-22-2020, 06:13 PM   #3
poetgrant
Member
 
Registered: Feb 2019
Distribution: Slackware
Posts: 90

Original Poster
Rep: Reputation: 22
What about the package that comes installed by default? I didn't know there was a build on SlackBuilds. It's in my /use/bin/ after a clean install.
 
Old 07-22-2020, 06:15 PM   #4
poetgrant
Member
 
Registered: Feb 2019
Distribution: Slackware
Posts: 90

Original Poster
Rep: Reputation: 22
Oh wait, you didn't say SlackBuilds... oops. Should I uninstall the default and use his.package?
 
Old 07-22-2020, 06:28 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657
It doesn't look like the developer has a package on their site. Just some files to download with a SlackBuild so you can generate your own package. But it is in -current, and from what I can tell, it should be safe to pull this package from -current and install it on 14.2 (generally this doesn't work, but it looks like it's just a repackaging of binaries, not compiling something, so this should be one of the few exceptions that works).
 
1 members found this post helpful.
Old 07-22-2020, 06:31 PM   #6
poetgrant
Member
 
Registered: Feb 2019
Distribution: Slackware
Posts: 90

Original Poster
Rep: Reputation: 22
Oh it's a bash script I'm pretty sure. I will just pull the -current version. I'm sure it doesn't rely on Bash 5.X.

Unless someone has a better fix.

To expand, the only real problem seems to be that all the links on somafm are different from the links in the script.
 
Old 07-22-2020, 07:18 PM   #7
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,320

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Code:
wget soma.tar.gz
tar xvf soma.tar.gz
cd soma
source soma.info
wget $DOWNLOAD
as root
Code:
./soma.SlackBuild
installpkg /tmp/soma-3.3.5-noarch-1.txz
how about instead
Code:
/sbin/upgradepkg --reinstall --install-new /tmp/soma-3.3.5-noarch-1.txz

Last edited by glorsplitz; 07-23-2020 at 07:06 PM.
 
1 members found this post helpful.
Old 07-22-2020, 09:05 PM   #8
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by glorsplitz View Post
Code:
wget soma.tar.gz
tar xvf soma.tar.gz
cd soma
source soma.info
wget $DOWNLOAD
as root
Code:
./soma.SlackBuild
installpkg /tmp/soma-3.3.5-noarch-1.txz
That should be upgradepkg, not installpkg, since he already has a different version installed.
 
1 members found this post helpful.
Old 07-22-2020, 09:32 PM   #9
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
I just downloaded the package from Slackware current and installed it (upgradepkg) on 14.2

http://ftp.slackware.com/pub/slackwa...5-noarch-1.txz

Last edited by speck; 07-22-2020 at 09:33 PM.
 
Old 07-23-2020, 06:03 PM   #10
poetgrant
Member
 
Registered: Feb 2019
Distribution: Slackware
Posts: 90

Original Poster
Rep: Reputation: 22
Thank you glorspitz, it seems that the package that comes preinstalled just doesn't work. The package you and other referred to works just fine. Thank you very much all for your help.
 
Old 02-15-2024, 06:05 AM   #11
guilhermegnzaga
LQ Newbie
 
Registered: Jul 2022
Location: Brazil, Paraná, Maringá
Distribution: windows & slackware
Posts: 1

Rep: Reputation: 0
Lightbulb

Some stations are out since for some years. I saw the win and deb GUI app SOMA and stated that should have a refreshed one.
 
Old 02-16-2024, 10:05 AM   #12
pm_a_cup_of_tea
Member
 
Registered: May 2021
Location: UK
Posts: 66

Rep: Reputation: 50
The Soma bash script works fine in both 15.0 and -current and should be already installed

The file /etc/soma/stations holds all the stations, over time some of them have changed but with somafm stations its very easy to find out the new links.

Go to the somafm page and hover over the links and it will tell you the new address at the bottom of the browser. Just fill in the change usually its nothing more than changing the name of the *.pls.

You should be able to update the BBC links too, at least I did on my last install. I'm at work at present and don't have access to my home machine but over the next couple of days, if I feel motivated , i'll post my stations file.

Irrelevant to the post but this script was my first major study when learning bash so I have a strong affection for it

Last edited by pm_a_cup_of_tea; 02-16-2024 at 10:15 AM.
 
  


Reply

Tags
bash, slackware 14.2, soma



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Equinox GTK Theme + Faenza Icon Theme = Pure Awesomeness! LXer Syndicated Linux News 0 08-11-2010 02:41 AM
LXer: An example of the awesomeness of the open source community LXer Syndicated Linux News 0 03-18-2010 06:30 AM
LXer: FreeBSD 7.2: Awesomeness of Ports LXer Syndicated Linux News 0 07-03-2009 05:51 PM
LXer: Opera 9.60 Review - Awesomeness, New Features and a Few Annoying Crashes LXer Syndicated Linux News 0 10-19-2008 03:20 PM
LXer: Rhythmbox, Gnome music awesomeness LXer Syndicated Linux News 0 09-22-2008 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration