Hi Rob,
Quick update. Shoutcast connection working. But, there is no
sound going to it; because. there is no sound. Changed hardware
output to “Portaudio”.
Here is an update to my last email to you. (I've also posted this
to the Git Forum.)
Hi. I am a new LibreTime user and Linux "convert". I have no
sound and the On-Air button does not come on. So, I issued the
following command.
systemctl stop airtime-playout
Here are the results:
root@radio:/# systemctl stop airtime-playout root@radio:/# sudo -u
www-data airtime-playout 2018-03-03 15:45:08,515 [main ]
[INFO ] New locale set to: C Traceback (most recent call last):
File “/usr/bin/airtime-playout”, line 4, in import (‘pkg_resources’).run_script(‘airtime-playout==1.0’,
‘airtime-playout’) File
“/usr/local/lib/python2.7/dist-packages/pkg_resources/init .py”,
line 750, in run_script
self.require(requires)[0].run_script(script_name, ns) File
“/usr/local/lib/python2.7/dist-packages/pkg_resources/init .py”,
line 1527, in run_script exec(code, namespace, namespace) File
“/usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/EGG-INFO/scripts/airtime-playout”,
line 4, in runpy.run_module(“pypo”, run_name="main ")
File “/usr/lib/python2.7/runpy.py”, line 192, in run_module fname,
loader, pkg_name) File “/usr/lib/python2.7/runpy.py”, line 72, in
_run_code exec code in run_globals File
“/usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/pypo/main .py”,
line 154, in configure_locale() File
“/usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/pypo/main .py”,
line 144, in configure_locale current_locale_encoding =
locale.getlocale()[1].lower() AttributeError: ‘NoneType’ object
has no attribute ‘lower’ root@radio:/#
Then I issued the following command:
**sudo -u www-data airtime-playout**
Here is the result:
root@radio:/# sudo -u www-data airtime-playout
2018-03-03 16:14:20,566 [**main** ] [INFO ] New
locale set to: C
Traceback (most recent call last):
File "/usr/bin/airtime-playout", line 4, in
**import** ('pkg_resources').run_script('airtime-playout==1.0',
‘airtime-playout’)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/**init** .py",
line 750, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/**init** .py",
line 1527, in run_script
exec(code, namespace, namespace)
File
“/usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/EGG-INFO/scripts/airtime-playout”,
line 4, in <
>
runpy.run_module("pypo", run_name="**main**")
File "/usr/lib/python2.7/runpy.py", line 192, in run_module
fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File
“/usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/pypo/main .py”,
line 154, in
configure_locale()
File
“/usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/pypo/main .py”,
line 144, in configure_locale
current_locale_encoding = locale.getlocale()[1].lower()
AttributeError: 'NoneType' object has no attribute 'lower'
root@radio:/#
Finally, I issued the following:
root@radio:/# sudo -u postgres psql -c "
SELECT *
FROM cc_music_dirs;
" airtime
And this is what I got.
id | directory | type | exists | watched