Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Log Dynamic Label (DLS) of Stream #223

Closed
spongioblast opened this issue Jul 21, 2021 · 43 comments
Closed

Feature Request: Log Dynamic Label (DLS) of Stream #223

spongioblast opened this issue Jul 21, 2021 · 43 comments

Comments

@spongioblast
Copy link

spongioblast commented Jul 21, 2021

Hi, is there any way to log only the dynamic label (DLS) of the current stream selected? I would like to log the playlist so I wont have to use soundhound anymore to remember the song. Thanks.

@spongioblast spongioblast changed the title Feature Request: Log Dynamic Label of Stream Feature Request: Log Dynamic Label (DLS) of Stream Jul 21, 2021
@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 21, 2021 via email

@spongioblast
Copy link
Author

Postprocessing would easy. Easiest would be then to just have it logged with a new line every time its broadcasted, maybe with the timestamp of the channel.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 21, 2021 via email

@spongioblast
Copy link
Author

That would already be fine, maybe better time before dls. The remaining cleanup could then easily be done post processing and will usually be channel specific.

It would be better to have it directly save to a text file so the stream doesn't have to be redirected from stdout.

I have it running on a raspberry, so linux based. Sadly my programming knowledge for this is very limited, so I'd really appreciate the integration.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 21, 2021 via email

@spongioblast
Copy link
Author

Perfect, thanks. Filename could even be date and time plus channel name if filename is unspecified. That filename would always be unique.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 21, 2021 via email

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 21, 2021 via email

@spongioblast
Copy link
Author

"A simpler solution might be to add channel/service name to the text line"

I fully agree, this is the simplest solution and would be completely fine. Everything else can then be done easily in post processing. Thanks, I will give it a go.

@spongioblast
Copy link
Author

Fantastic, works like a charm. Really appreciate the feature. It seems the file is only written to on closing qt-dab. Is this on purpose?

@spongioblast
Copy link
Author

spongioblast commented Jul 21, 2021

On a side note, most of the redundant logs could be reduced by checking if the current line was written in the past three unique lines from what I've seen by checking a few channels.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 22, 2021 via email

@spongioblast
Copy link
Author

Yes, the cost would be buffering the last few lines, but its pretty much clean afterwards for most channels.

If someone on windows or appImage wishes for the feature I guess they can request it. It seems so far that was not the case. As for me I am happy the way it works! Cheers.

@spongioblast
Copy link
Author

spongioblast commented Jul 22, 2021

One nice addition would be to have the date before the time in the log. Useful if logged over a longer time.

@spongioblast
Copy link
Author

spongioblast commented Jul 22, 2021

Maybe an easy to implement idea for creating a log via gui -> Have it automatically create the channel log if aac is recorded (same filename). Then one has the stream as well as the dls data. (might there be a conflict if command line option is used in parallel?) Personally however I don't need the stream, I just sometimes like to look up what I listened to.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 22, 2021 via email

@andimik
Copy link
Contributor

andimik commented Jul 22, 2021

Cool feature Jan, but one comment:

Could you use the same charset also for the textfile? See screenshot from Qt-DAB 4.0 below and see the special character in DLS:

grafik

10D.Radio Student   22:09:  Za narodov blagor!
10D.Radio Student   22:09:  Radio ?tudent - radiostudent.si

whereas the word Študent is shown in the qt-dab window.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 23, 2021 via email

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 23, 2021 via email

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 23, 2021 via email

@andimik
Copy link
Contributor

andimik commented Jul 23, 2021

yes, confirmed, now it's Unicode :-)

10D.Slo 1 Prvi      21:36:  Slovencem po svetu - Portreti: Marija Ahačič Pollak
10D.Radio Student   21:39:  Radio Študent - radiostudent.si
10D.Radio Student   21:39:  Radio Študent tudi na DAB+
10D.Slo 3 ARS       21:40:  Petkov koncertni večer - Posnetek koncerta Orkestra Slovenske filharmonije

and from a file (remark: 10D comes from the last received DAB channel)

10D.PR Dwójka       21:44:  Program II Polskie Radio S.A 
 tel. (22) 645 2222 
 e-mail:dwojka@polskieradio.pl 
10D.PR Dwójka       21:44:  Poranek Dwójki Piotr Kędziorek 
Teraz gramy: SCHULHOFF Concertino Paul Klee Ensemble Zehnder 
Concertino na flet, altówkę i 

@spongioblast
Copy link
Author

Works super well, thanks. Will test some more.

@spongioblast
Copy link
Author

Maybe using ISO 8601 compliant datetime format. Also adding seconds to the log:

Filename: yyyy-MM-ddTHHmmss_Qt-DAB_DLText
Eg 2021-07-24T162015_Qt-DAB_DLText
Log: yyyy-MM-ddTHHmmss | Channel | DLS Text
Eg 2021-07-24T162015 | 10D.PR Dwójka | Program II Polskie Radio S.A

The filter with remembering the last four rows works quite well already. Easy to filter out the rest in post processing. Another way to improve the filtering might be instead of checking the last 4 written lines, check the last four dls texts streamed and refresh those, that should filter out more. As it is now, the repeating channel information is pushed out of the buffer as soon as 4 songs have passed. Hence every 4 songs are followed by the general channel info in the log.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 24, 2021 via email

@spongioblast
Copy link
Author

In the log I would say it should be the datetime of the transmission / channel. The filename should be systemdatetime I believe.

The problem with the cache that it takes the last lines written and not the last lines transmitted. Hence after 4 songs, it pushes the repeating channel name / program name out of the buffer. Those should be kept in the buffer, as they continuously come up with every song. It still works jut fine, but would further reduce repeated entries in the log.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 24, 2021 via email

@spongioblast
Copy link
Author

spongioblast commented Jul 26, 2021

Basically the buffer should be reordered so that the last dls line is the first one in the buffer / so it wont get pushed out of it if it still appears. That's why now the repeating station info with every song now repeats after every fourth song. Eg, With a buffer of four lines and if the station having two station infos plus the song title, all three repeating a few times until the end of the song, the log looks the following:

ChannelID 16:00: Channel Info 1
ChannelID 16:00: Channel Info 2
ChannelID 16:00: Song 1
ChannelID 16:00: Song 2
ChannelID 16:00: Song 3
ChannelID 16:00: Song 4
ChannelID 16:00: Channel Info 1
ChannelID 16:00: Channel Info 2
ChannelID 16:00: Song 5
ChannelID 16:00: Song 6
ChannelID 16:00: Song 7
ChannelID 16:00: Song 8
ChannelID 16:00: Channel Info 1
ChannelID 16:00: Channel Info 2
and so on.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 27, 2021 via email

@spongioblast
Copy link
Author

Hm, I'll quickly compile the latest version and have a look at it. In theory that should work.

@spongioblast
Copy link
Author

spongioblast commented Jul 27, 2021

So now the channel information is repeated every 10 lines in the log. The problem is, that at some point the repeating dl streams are pushed out of the vector as only new elements are added. Two possible solutions would be to either always add every dl stream when broadcasted or rearrange the array. Not sure if this is correct in c++, but something like

in dl-cache.h rearrange the array if isMember / move that element to the beginning

bool	isMember	(const QString &s) {
	for (int i = 0; i < size; i ++)
	   if (cache [i] == s)
              std::swap(cache [0],cache [i]);
	      return true;
	return false;
}
};

or in radio.cpp always add the current dl to the cache

	if (the_dlCache. isMember (s))
	   the_dlCache. add (s);
	   return;

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 28, 2021 via email

@spongioblast
Copy link
Author

spongioblast commented Jul 29, 2021

The general channel info comes however with every song, multiple times. So its not N+1 (if N = cache size) but repeats constantly during the song played. eg:

Song 1
Channel Info 1
Channel Info 2
Song 1
Channel Info 1
Channel Info 2
Song 1
Channel Info 1
Channel Info 2
Song 2
Channel Info 1
Channel Info 2
Song 2
Channel Info 1
Channel Info 2
Song 2
Channel Info 1
Channel Info 2
Song 3
Channel Info 1
Channel Info 2
and so on.

Hence it is simply that the way the filter works now, the channel infos are pushed out of the cache after a further N-2 unique songs (where N = cache size) after which the channel info is added again to the cache as its no longer in it. Hence every 8 Songs the channel info is re-added to the cache and written to the log.

Anyway, its only a small beauty issue, as you said it can easily be fixed in post processing.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jul 31, 2021 via email

@spongioblast
Copy link
Author

spongioblast commented Aug 1, 2021

The AppImage runs fine however I cant get it to recognize the rtl-sdr dab stick (rtl2832u) on ubuntu virtualbox. rtl_test -s 2400000 runs fine but looses some bytes. Sorry, I usually only work on rapbberrys (arm). Update: Problem is with virtualbox, it seems to struggle with DAB sticks. Will test on a clean system tonight.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Aug 1, 2021 via email

@spongioblast
Copy link
Author

spongioblast commented Aug 1, 2021

I have it working but the dab frames are not transmitted consistently, from what I read virtualbox struggles with the dab sticks.

main: Detected system language "en_US"
main: Set language "en_US"
main: Error while loading language specifics "en_US" use English "en_GB" instead
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib setup.c:547:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
ALSA lib setup.c:547:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
ALSA lib setup.c:547:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Hostapis: 2

Api 0 is ALSA

Api 1 is OSS

Investigating Device 0

 (output):item 1 wordt stream 0 (Intel 82801AA-ICH: - (hw:0,0))

Investigating Device 1

Investigating Device 2

 (output):item 2 wordt stream 2 (sysdefault)

Investigating Device 3

 (output):item 3 wordt stream 3 (front)

Investigating Device 4

 (output):item 4 wordt stream 4 (surround40)

Investigating Device 5

 (output):item 5 wordt stream 5 (surround41)

Investigating Device 6

 (output):item 6 wordt stream 6 (surround50)

Investigating Device 7

 (output):item 7 wordt stream 7 (surround51)

Investigating Device 8

 (output):item 8 wordt stream 8 (samplerate)

Investigating Device 9

 (output):item 9 wordt stream 9 (speexrate)

Investigating Device 10

 (output):item 10 wordt stream 10 (pulse)

Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1768
Investigating Device 11

Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1768
Investigating Device 12

ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1768
Investigating Device 13

Investigating Device 14

 (output):item 11 wordt stream 14 (default)

added items to combobox
Suggested size for outputbuffer = 0
stream opened
stream started
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
OK, functions seem to be loaded
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Supported gain values (29): 49.6 48.0 44.5 43.9 43.4 42.1 40.2 38.6 37.2 36.4 33.8 32.8 29.7 28.0 25.4 22.9 20.7 19.7 16.6 15.7 14.4 12.5 8.7 7.7 3.7 2.7 1.4 0.9 0.0 
Realtek RTL2838UHIDIR 00000001
channel reset: all services will be stopped
channel reset: all services will be stopped

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Aug 1, 2021 via email

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Aug 1, 2021 via email

@spongioblast
Copy link
Author

spongioblast commented Aug 2, 2021

The repeating channel info is now filtered perfectly, thanks. However I get weird artifacts of song titles logged three time with the title repeating partially on the line. Maybe this is an issue with the windows version or some driver issues? Never had this on raspberry PI.


5D.OB   2021-08-02 07:39:06  curated by Baxter
5D.OB   2021-08-02 07:39:36  Coffee Kiss IX
5D.OB   2021-08-02 07:40:19  "Consequence" by Sly5thAve - What It Is
5D.OB   2021-08-02 07:42:37  "Corporate" by Leron Thomas - More Elevator Music
5D.OB   2021-08-02 07:47:06  "Behind The Sun" by Skinshape - Arrogance is the Death of Men
5D.OB   2021-08-02 07:49:20  "Marilou sous la neige" by Serge Gainsbourg - Gainsbourg... Forever
5D.OB   2021-08-02 07:51:36  "Girls Don't Always Sing About Boys" by Ego Ella May - Girls Don't Always Sing About Boys
5D.OB   2021-08-02 07:51:41  "Girls Don't Always Sing About Boys" by Ego Ella May - Girls Don't Always Sing About Boysoys" by Ego Ella May - Girls Don't Always Sing About Boys
5D.OB   2021-08-02 07:53:51  "Girls Don't Always Sing About Boys" by Ego Ella May - Girls Don't Always Sing About Boysbout Boys
5D.OB   2021-08-02 07:56:05  "Strollin’" by Prince - Diamonds and Pearls
5D.OB   2021-08-02 07:56:12  "Strollin’" by Prince - Diamonds and Pearlsds and Pearls
5D.OB   2021-08-02 07:58:19  "The Best Man" by The Nat King Cole Trio - Volume 2
5D.OB   2021-08-02 07:59:49  open broadcast
5D.OB   2021-08-02 08:00:35  "Mother's Love" by The Vernon Spring - Mother's Love 
5D.OB   2021-08-02 08:00:45  "Mother's Love" by The Vernon Spring - Mother's Love Love 
5D.OB   2021-08-02 08:01:20  curated by Pat
5D.OB   2021-08-02 08:02:06  Coffee Kiss - Coffee Kiss #4
5D.OB   2021-08-02 08:05:04  "In Loving Memory" by Gabriels - In Loving Memory
5D.OB   2021-08-02 08:09:36  "Love Song (Helado Negro Remix)" by Devendra Banhart - Love Song (Helado Negro Remix)
5D.OB   2021-08-02 08:11:54  "Love Song (Helado Negro Remix)" by Devendra Banhart - Love Song (Helado Negro Remix) by Devendra Banhart - Love Song (Helado Negro Remix)
5D.OB   2021-08-02 08:14:06  "Sweet Sofa" by ØDYSSEE - Sweet Sofa 
5D.OB   2021-08-02 08:16:19  "Les Fleurs (Live)" by Ivy Sole - Overgrown Live (from Philadelphia)
5D.OB   2021-08-02 08:20:50  "Tierra Querida" by Bruno Hovart - Latin Nostalgia
5D.OB   2021-08-02 08:23:06  "Playground Love" by Air - The Virgin Suicides
5D.OB   2021-08-02 08:27:36  "Berlin" by Blood Orange - Angel's Pulse
5D.OB   2021-08-02 08:29:49  "One More" by Cymande - Cymande

Or


5D.OB    2021-08-02 02:09:36  "Hold On" by Gus Seyffert - Hold On 
5D.OB    2021-08-02 02:10:12  "Hold On" by Gus Seyffert - Hold On  On 
5D.OB    2021-08-02 02:14:06  "AO Longo Do Rio" by Melodiesinfonie - A Journey to You
5D.OB    2021-08-02 02:14:13  "AO Longo Do Rio" by Melodiesinfonie - A Journey to You to You
5D.OB    2021-08-02 02:18:37  "Paperbag" by Wizards of Ooze - Almost... Bikini
5D.OB    2021-08-02 02:23:05  "To The Moon" by Spirit Fest - Spirit Fest
5D.OB    2021-08-02 02:27:37  "Waltz for Emily" by Gerardo Frisina - Join the Dance
5D.OB    2021-08-02 02:30:17  "Waltz for Emily" by Gerardo Frisina - Join the Dancesina - Join the Dance
5D.OB    2021-08-02 02:32:05  "Pain and Misery" by The Teskey Brothers - Half Mile Harvest
5D.OB    2021-08-02 02:34:23  "Eternal Light" by The Free Nationals - Eternal Light
5D.OB    2021-08-02 02:38:51  "Kominiké" by Erick Cosaque - Chinal K 1973-1995
5D.OB    2021-08-02 02:41:23  "Kominiké" by Erick Cosaque - Chinal K 1973-1995hinal K 1973-1995
5D.OB    2021-08-02 02:43:22  "River River" by Spirit Fest - Spirit Fest

2021-08-01 22_55_51-Qt-DAB-4 0

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Aug 2, 2021 via email

@spongioblast
Copy link
Author

Perfect, then the new cache seems to work flawlessly.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Aug 2, 2021 via email

@spongioblast
Copy link
Author

Thanks, just compiled it for the raspberry, works beautifully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants