LinuxQuestions.org
Help answer threads with 0 replies.
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 12-02-2017, 11:33 AM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Lightbulb [ANN] Soma 2.12.3


This update is to fix a bug in the scheduler.

http://dawoodfall.net/slackbuilds/noversion/soma
 
Old 12-02-2017, 11:40 AM   #2
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
What about a Genre option? Example: When I click on Genre, it should list the categories. Then it should be loaded in Stations being the default option that was chosen. We would create our own genre.conf files.

Oldies.conf
Classical.conf
Rock.conf
Christian.conf

I listen to a variety of music from classical to rap music. I have no specific preference, if it sounds good I'll listen to it.
 
1 members found this post helpful.
Old 12-02-2017, 11:49 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
I have been thinking about doing something similar using some kind of submenus.

My idea was to put something like 'Genre,Station Name,Station URL' in the normal stations.conf.

So the first menu would show genres. Click on one to get a station list.

Your idea is pretty good though. I like the idea of separate files for that.

I will experiment a bit and see how it works out.
 
Old 12-02-2017, 12:24 PM   #4
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
This is my layout. I use the callsigns and slogans, everything in alphabetical order. I'm adding all the Illinois and bordering states. We only get so many in the city of Chicago.

Last edited by PROBLEMCHYLD; 11-30-2018 at 12:48 PM.
 
Old 12-03-2017, 04:38 AM   #5
Olek
Member
 
Registered: Jul 2012
Location: Wroclaw Poland
Distribution: Slackware
Posts: 110

Rep: Reputation: 27
I run Soma the first time ever.
When I push Enter or Space when "Choose a Station" is highlighted then screen is blink one time and I steel have main menu of Soma, with "Choose a Station" is highlighted of course.
No error messages.
Why I can't see list of stations to choose from?
 
Old 12-03-2017, 08:52 AM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Hi Olek. Can you run 'touch ~/.soma/stations.conf' and see if that fixes it?
 
Old 12-03-2017, 09:18 AM   #7
BigTig
Member
 
Registered: Aug 2015
Posts: 61

Rep: Reputation: Disabled
I'm having the same problem, and touching stations.conf didn't fix it.
 
Old 12-03-2017, 09:36 AM   #8
sunta
LQ Newbie
 
Registered: Nov 2017
Distribution: Slackware
Posts: 22

Rep: Reputation: Disabled
I just install the new version and it works fine here and I don't have ~/.soma/stations.conf.
 
Old 12-03-2017, 10:09 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Hello. Can you try this update please: https://www.linuxquestions.org/quest...-a-4175618854/

I've tried to replicate the problem but I can't. Hopefully the new version has fixed it.
 
Old 12-03-2017, 10:16 AM   #10
BigTig
Member
 
Registered: Aug 2015
Posts: 61

Rep: Reputation: Disabled
I tried it, no joy
It looks like it's just kicking me back into the main menu as soon as it loads the stations.
 
Old 12-03-2017, 10:22 AM   #11
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BigTig View Post
I tried it, no joy
It looks like it's just kicking me back into the main menu as soon as it loads the stations.
Can you paste here your ~/.soma/options.conf please?
 
Old 12-03-2017, 10:27 AM   #12
BigTig
Member
 
Registered: Aug 2015
Posts: 61

Rep: Reputation: Disabled
Sure!

# Dialog colours in titles or not
# Set to "" for no colour and also unset TITCOL.
# Default = "--colors"
DIALOGOPTS="--colors"

# Choose a theme.
# I have included some examples like redrc, greenrc, yellowrc,
# bluerc, whiterc, defaultsrc and slackrc. If you use slackrc, you
# should unset TITCOL below, for the true slack experience.
# defaultsrc uses your terminal default foreground and background.
# Try /dev/null too.
export DIALOGRC=~/.soma/themes/defaultsrc

# Output card
OUTCARD="pulse"

# Balance the volume between Radio 3 and the others.
# Radio 3 has much lower output. This setting boosts
# the Radio 3 volume to a better value. You can set
# this to a value of -200dB to +60dB.
# Also needs and sets -softvol. Set to "" to turn off.
# Default = "-softvol -af volume=8"
AFFILTER="-softvol -af volume=8"

# Whether to use -softvol which keeps mplayer volume isoloated
# from other sounds' volume. Set to "" to use normal hardware
# volume. Note that ( ) volume keys only work with -softvol
SOFTVOL="-softvol"

# Saved volume from last session
SETVOL="30 30"

# MPlayer cache. Default 320
CACHE=320

# Save the track list automatically when quitting. Default 0
SAVE_LIST_AT_QUIT=0

# Mixer Device
MIXER=0

# TITCOL - Dialog Title Colour
# This setting controls the dialog title colour separate to the
# dialogrc file if needed.
#
# By default it is set to "\Zb" (bold default dialog foreground colour).
# You can mix bold and colour by eg: "\Zb\Z4" etc. See man dialog for
# more info.
#
# Colours are set by \Zn where n =:
#
# 0 black
# 1 red
# 2 green
# 3 yellow
# 4 blue
# 5 magenta
# 6 cyan
# 7 white
# 8 default dialogrc foreground
#
# These are xterm colours. Your terminal may have a different mind.
TITCOL="\Zb"

# CONNECTTIMEOUT (Connection Timeout)
#
# This controls how long soma will wait for a stream before giving up.
# If you have problems with your internet you may want to adjust it.
# Default: 150
CONNECTTIMEOUT=150

# Saved genre
GENRE="All"

# TIMEFORMAT (Format for time display)
#
# This controls how the time is displayed in the status window.
# It defaults to 24 hour format.
# The scheduler *requires* it to be "%H:%M".
# If you know that you'll *never* need to make programme schedules
# then you can change it here.
# Example: 12 hour format would be "%I:%M"
# See the date man page for full options.
# Default: "%H:%M"
TIMEFORMAT="%H:%M"
 
Old 12-03-2017, 10:49 AM   #13
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Looks ok.

At line 805 in soma is:

Code:
  sh -c "dialog $DIALOGOPTS --menu \"${TITCOL}Stations ($GENRE)\" $rows $cols $rows \
    $STATIONLIST" 2> $TMP
Can you modify it by adding the '#' and add the extra 'read' line please:

Code:
  sh -c "dialog $DIALOGOPTS --menu \"${TITCOL}Stations ($GENRE)\" $rows $cols $rows \
    $STATIONLIST" #2> $TMP

  read
When you run soma and choose the station selector it should show if there's an error and pause.
 
Old 12-03-2017, 10:59 AM   #14
BigTig
Member
 
Registered: Aug 2015
Posts: 61

Rep: Reputation: Disabled
Adding '#' didn't change anything.
 
Old 12-03-2017, 10:59 AM   #15
BigTig
Member
 
Registered: Aug 2015
Posts: 61

Rep: Reputation: Disabled
I added a 'sleep 2s' to see if I could catch an error message, and this is what I got:

Error: Expected 2 arguments, found extra 1.
Use --help to list options.
 
  


Reply



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
[ANN] Soma 2.12.0 dive Slackware 23 12-02-2017 11:29 AM
[ANN] Soma 2.11.3 dive Slackware 42 11-30-2017 02:41 PM
[ANN] Soma 2.10.0 dive Slackware 2 04-16-2015 04:32 AM
[ANN] Soma 2.8.1 dive Slackware 2 01-26-2012 01:55 AM
[ANN] Soma 2.7.8 dive Slackware 9 01-05-2012 08:55 PM

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

All times are GMT -5. The time now is 12:06 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