You are not logged in.

#21 2017-10-05 00:19:31

obscurant
Member
Registered: 2017-08-06
Posts: 150

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

brontosaurusrex wrote:

edit: status should now catch the situation when player has exited and pidfile is still there (status echoes when running radioClicky with no switches), eventually showing something like '/ err', basically I'am scripting around instead of attacking real problem (flaky model).

Could that be displayed in the tooltip?

I have another issue, that I think is tint2 related. It seems that the exec button on tint2 is caching old versions of radioClicky. Even after restarting tint2, deleting the contents of /tmp, and rebooting. This doesn't happen in cli, only the tint2 exec button.

It's still using a version of radioClicky from two versions ago, before you added the --no-ytdl and lavfi switches, and before you added the multiple streams array. And pasting in new stream URLs won't change the stream the tint2 exec button plays. The path in tint2 is correct.

So it's like tint2 caches the entire script somewhere.

Offline

#22 2017-10-05 01:45:33

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,737

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

Could that be displayed in the tooltip?

Actually changed my mind, it will just clean up (delete pidfile) and show off ' \ ' now, 'err' is not a useful error anyway.

pasting in new stream URLs won't change the stream the tint2 exec button plays

Clicking off/on is what should 'restart' the script, including the new urls.

tint2 --version 

says?

Last edited by brontosaurusrex (2017-10-05 03:12:17)

Offline

#23 2017-10-05 02:04:26

obscurant
Member
Registered: 2017-08-06
Posts: 150

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

brontosaurusrex wrote:

Clicking off/on is what should restart the script, including the new urls.

That's how I'm using it. By clicking on/off.  But I'm trying some different things. Hopefully if it persists, I'll be able to explain it better. It's playing a stream URL that no longer exist in radioClicky though. Strange.

tint2 --version 

15.2

Last edited by obscurant (2017-10-05 02:11:01)

Offline

#24 2017-10-05 02:11:24

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,737

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

Pretty sure it's not tint2 issue (I have tested behaviorism on two machines now and never saw something like that), try the latest version of the script perhaps (It is working just fine with just one stream in array as well).

Last edited by brontosaurusrex (2017-10-05 02:13:34)

Offline

#25 2017-10-05 14:47:16

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

brontosaurusrex wrote:

@martix: post your tint2rc?

I guess it's something with my system config... At least I know now that it works fine with tint2 (15.2) and I double checked all the tint2rc settings. However: I had an older tint2 version and I tried to update it after adding bunsen-stretch-backports but it simply did not work (in the end updated it via gitlab). And after startint the system, tint2 shows the last digit of the clock in a second line (too narrow tint2) but: Simply killall tint2 and starting it via tint2 again fixes it (after system start somehow it does not uses the actual tint2rc settings. Why? I'm not sure, but I'll investigate it).

And a tip for using radioClicky: Using bashrc for aliases for radioClicky-commands makes it even more comfortable using the radio via command line.

Last edited by martix (2017-10-05 14:48:18)

Offline

#26 2017-10-05 15:53:29

MsMattie
Member
Registered: 2015-09-29
Posts: 99

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

hhh wrote:

Not to rain on bronto's parade, but if anyone wants a more flexible systray radio icon...
https://github.com/ebruck/radiotray-ng

This radioray I did not know of, and is pretty cool, and minimal...


...
Linux in the backwoods of the Rocky Mountains...

Offline

#27 2017-10-05 16:41:59

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,737

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

^ Actually i've tested that one briefly, before deciding if it's worth writing my own.

Offline

#28 2017-10-06 17:21:36

obscurant
Member
Registered: 2017-08-06
Posts: 150

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

brontosaurusrex wrote:

Pretty sure it's not tint2 issue (I have tested behaviorism on two machines now and never saw something like that), try the latest version of the script perhaps (It is working just fine with just one stream in array as well).

Tint2 doesn't seem to like the script being anywhere other than ~/bin. Works fine now.

Offline

#29 2017-10-06 17:49:12

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

^That helped me @obscurant, thanks!

It turned out that using radioclicky in ~/bin wasn't a good idea. Changed it to radioClicky and there is the / in tint2.  smile  8)

Offline

#30 2017-10-06 18:13:38

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,737

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

@obscurant, martix: weird, no idea why would that be the case, edit: oh I see you two have exactly the opposite problem.

changelog, (no need to update, nothing drastic):
- added (beta) spam function, which will send notifications on icy-title change (from gmrun or cli: 'radioClicky spam' or add to openbox autostart: 'radioClicky spam &')
- option to load (add to internal) external radiolist file to array
- added cli 'help'
- added cli 'list'

Last edited by brontosaurusrex (2017-10-06 20:09:54)

Offline

#31 2017-10-06 22:41:16

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

I just had an idea: Instead of tint2 plank icons could be used as well. I don't know a way to use the same features just like on tint2 though. However using three icons (which is easy enough to create three .desktop files) would be ok: One toggle and two back and forth switching (actually two icons might be enough, one toggle, one for switching the stations).

Offline

#32 2017-10-09 22:59:03

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,737

Re: radioClicky, almost brilliant radio for your tint2 and ob pipemenu

^ It would kinda work, but you wont get any feedback via .desktop stuff I imagine.

changelog:
- improved station listing 'ls 3' should show 7 streams (2*3 + active).
- improved 'spam' (will only spam terminal if started from terminal), same for 'notify'.
- added cli 'icy' which should echo human readable metadata (for some streams).
- added cli 'sysinfo'
- has it's own git now (some audio samples included, they might play on switching stations/on/off)

Last edited by brontosaurusrex (2017-10-30 14:23:35)

Offline

Board footer

Powered by FluxBB