- This topic has 27 replies, 11 voices, and was last updated Feb 17-8:51 pm by Robin.
-
AuthorPosts
-
December 25, 2022 at 8:03 pm #96160Moderator
BobC
December 27, 2022 at 1:55 pm #96249MemberRobin
::I translated 1/3 of aCSTV to en_US yesterday
Many thanks, Bob! That sounds really great.
Meanwhile I’ve caught two minor bugs again, which showed up unexpectedly after installing it on a different system (while this never happened on my working PC) Fix will be included into next package, along with all the translations. I still wonder why it had worked on the one antiX machine, and not on the other. The fix works on both now.
For people who want to hotfix it in their installed version already, here the details: It can be easily get applied directly to the script.
Just open the file
/usr/local/bin/aCSTV.sh in geany with root permissions, e.g. by typing
sudo geany /usr/local/bin/aCSTV.sh
in a console window (roxterm).1.) Scroll down to line 952
Change the line from
952 <action>xdg-open $informationen</action>
to
952 <action>xdg-open $informationen &</action>(see screenshot)

This fix will allow to redraw correctly the button field when program preview information button was pressed, and the browser wasn’t opened already before.
2.) Scroll down to lines 1046 / 1047
change from1046 …[ $KEY_MOD = 0 ] && [ $KEY_RAW = 0x3d ]… 1047 …[ $KEY_MOD = 0 ] && [ $KEY_RAW = 0x38 ]…to
1046 …[ $KEY_SYM = minus ]… 1047 …[ $KEY_SYM = b ]…(See screenshot)

The second fix will allow aCSTV to properly respond to the shortcuts “-” and “b” again.
Save file back to disk and restart aCSTV if running.
Windows is like a submarine. Open a window and serious problems will start.
December 30, 2022 at 6:50 pm #96452Member
oops
::… Nice and funny
But I get sometimes a error when I try an automatic stations list actualization from settings dialog (foreign channels.lst), I need to do Crtl-C in the terminal.
aCSTV.sh ... /usr/local/bin/aCSTV.sh: ligne 911 : [: 7 : opérateur unaire attendu ... /usr/local/bin/aCSTV.sh: ligne 911 : [: 7 : opérateur unaire attendu /usr/local/bin/aCSTV.sh: ligne 911 : [: 7 : opérateur unaire attendu /usr/local/bin/aCSTV.sh: ligne 911 : [: 7 : opérateur unaire attendu Exiting... (Quit) 2022/12/30 19:36:01 socat[29741] E connect(5, AF=1 "/dev/shm/aCSTV-mpv-socket-2965100", 35): Connection refusedligne 911:
while [ $(($g+${c_len[$h]})) -le $l ]; doIt will be interesting to also have a small script to actualize all the “/Stationslisten” folder in background for all contries.lst /Stationslisten-actualised-date. (it is a long process to check the good one)
- This reply was modified 4 months, 1 week ago by oops.
December 31, 2022 at 5:24 pm #96510MemberRobin
::Many thanks oops! This is a good catch. After some checking this morning it turned out, the new algorithm for calculation of individual number of buttons for each line produces a division by zero error if only a single line is needed, causing an expected value not being set, making line 911 fail. The fix is easy. For a single line we need simply to avoid the calculation as such and set the expected value as fixed value in this case. This fix will be included in next packaged version, along with the updated translations now also.
For people who want to hotfix it in their installed version already, here the details: It can be easily get applied directly to the script.
Just open the file
/usr/local/bin/aCSTV.sh in geany with root permissions, e.g. by typing
sudo geany /usr/local/bin/aCSTV.sh
in a console window (roxterm).1.) Scroll down to line 875
Add the following lines around the already existing line:
875 if [ $g -ne 1 ]; then
already existing line: l=$(($len*$w/($g-1)/1000))877 else 878 l=$len 879 fi(see screenshot)

Save file back to disk and restart aCSTV if running.
This will allow to come up aCSTV again with stations lists contaning less than 4 active entries.
It will not deal with completely empty lists containig zero entries. This needs a more sophisticated patch, scattered on multiple positions in script code. But as a hotfix you can apply the following:
2.) scroll down to line 637
add the line
637 [ $i -eq 0 ] && exit 1(see screenshot)

which will cause the progam to abort with error status properly when an empty stations list was provided. The full fix for this issue in the next package will include a way to allow user to add or activate an entry manually.Save file back to disk and restart aCSTV if running.
Windows is like a submarine. Open a window and serious problems will start.
December 31, 2022 at 8:47 pm #96525Member
oops
December 31, 2022 at 11:21 pm #96529ModeratorBobC
January 16, 2023 at 7:26 am #97471MemberRobin
::Many thanks Bob! Great. Received your odt file. Will have to convert it to pdf, so it get included into next package.
Windows is like a submarine. Open a window and serious problems will start.
January 16, 2023 at 7:28 am #97472MemberRobin
::Found another bug.
aCSTV version: 1.08a
Issue: The new broadcasting-recording storing path is respected only after restarting aCSTV when changed in settigns dialog. All recordings before restart will get stored to the former location.
Hotfix:
1.) Open /usr/local/bin/aCSTV.sh file with root permissions in geany.
Add to line 437 the single backslash in the marked position in between of a double quote and a Dollar sign:Change from
437 nice -n -5 mpv --geometry=25:25 --autofit=50%x50% --no-border --input-ipc-server=\""$mpvsocket"\" --idle=yes --stream-record=\"$speicherpfad_video\$videodatei\" --screen=0 $fs --fs-screen=\$bildschirm $ot --ytdl-raw-options=abort-on-error= --ytdl-format='best[tbr<='\$bitrate']/bestvideo[tbr<='\$bitrate']+bestaudio' --hls-bitrate=\$((\$bitrate*10**3)) \$(cat $temporaerdatei_04) & jobs -p > \""$temporaerdatei_02"\"to
437 nice -n -5 mpv --geometry=25:25 --autofit=50%x50% --no-border --input-ipc-server=\""$mpvsocket"\" --idle=yes --stream-record=\"\$speicherpfad_video\$videodatei\" --screen=0 $fs --fs-screen=\$bildschirm $ot --ytdl-raw-options=abort-on-error= --ytdl-format='best[tbr<='\$bitrate']/bestvideo[tbr<='\$bitrate']+bestaudio' --hls-bitrate=\$((\$bitrate*10**3)) \$(cat $temporaerdatei_04) & jobs -p > \""$temporaerdatei_02"\"(see screenshot)

2.) And then change the quoting within line 450 from
450 --command='"'"'bash "'$temporaerdatei_19'" "'"$speicherpfad_video"''"'"'"$videodatei"'"'"'"'"'"' \to
450 --command='"'"'bash "'$temporaerdatei_19'" "'"'"'"$speicherpfad_video$videodatei"'"'"'"'"'"' \(see screenshot)

Save file and restart aCSTV (if running).
After applying these changes aCSTV will respect new paths of broadcasting-recording location from settings menu immediately.
This bugfix will be included in next packaged version.Windows is like a submarine. Open a window and serious problems will start.
January 16, 2023 at 1:15 pm #97493Member
marcelocripe
February 12, 2023 at 11:58 pm #99472Moderator
caprea
::acsTV version 1.08 installs and runs nicely on antiX23 alpha, too.i really would like to see it at least available in the repositories.Well worth it if one asks me.
The german channels list is almost complete and perfect.Maybe users from different countries could publish and share their working station lists here.
Many thanks again , @RobinFebruary 13, 2023 at 3:28 pm #99502Member
marcelocripe
::Maybe users from different countries could publish and share their working station lists here.
This will not be necessary Caprea, the current version of aCSTV already searches the GitHub which stores the IPTV channel lists from all countries. Lists are updated daily.
– – – – –
Maybe users from different countries could publish and share their working station lists here.
Isso não será necessário Caprea, a versão atual do aCSTV já faz a busca no GitHub que armazena as listas de canais IPTV de todos os países. A atualização das listas são diárias.
February 13, 2023 at 3:48 pm #99507Member
techore
February 17, 2023 at 8:51 pm #99888MemberRobin
::Many thanks, @caprea for checking aCSTV on antiX 23! Great it works for you fine there also. Can confirm, also for me it works on antiX 23, kernel 5.10.142 and kernel 6.1.10 both right out of the box when installed from the .deb package.
Stations lists always welcome, everybody could post them here at forum.
This will not be necessary Caprea, the current version of aCSTV already searches the GitHub which stores the IPTV channel lists from all countries. Lists are updated daily.
Generally this is correct, but there exist stations which are not listed there, since these are lists meant for international usage, while there usually exist additional official stations only available from within the country you live in (like all the streams in the German aCSTV list, served by the „Öffentlich-rechtliche Mediathek” for many years now). Stations like these are of greatest interest for people of the very country, and should be collected by poeple from the very country (since people from abroad can’t collect it without being able to receive and check the URLs). So it’s up to the local people in each country to improve the lists pulled by aCSTV from from iptv.org.
Btw, New version 1.09 is out. All hotfixes from above are included, so no need any longer to apply them when installing the new 1.09 version from .deb package.
Windows is like a submarine. Open a window and serious problems will start.
-
AuthorPosts
- You must be logged in to reply to this topic.