neumoDVB

ptergrand

Member
Joined
Jul 14, 2023
Messages
120
Reaction score
20
Points
18
Age
44
My Satellite Setup
bu siteyi çok seviyorum
My Location
bu siteyi çok seviyorum
The program is beautiful
 

Attachments

  • Ekran Görüntüsü 2023-12-07 01-50-39.png
    Ekran Görüntüsü 2023-12-07 01-50-39.png
    624.9 KB · Views: 23

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
765
Reaction score
464
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
I followed the instructions on the installation page, so the last two commands I run are:
cd ~/neumodvb/build sudo make install

neumodvb/build/install_manifest.txt has the following entries:
/usr/lib64/libstackstring.so /usr/lib64/libneumodb.so /usr/local/lib64/python3.12/site-packages/neumodvb/pyneumodb.cpython-312-x86_64-linux-gnu.so /usr/bin/neumoupgrade /usr/local/lib64/python3.12/site-packages/neumodvb/pydevdb.cpython-312-x86_64-linux-gnu.so /usr/lib64/libdevdb.so /usr/local/lib64/python3.12/site-packages/neumodvb/pychdb.cpython-312-x86_64-linux-gnu.so /usr/lib64/libchdb.so /usr/local/lib64/python3.12/site-packages/neumodvb/pystatdb.cpython-312-x86_64-linux-gnu.so /usr/lib64/libstatdb.so /usr/local/lib64/python3.12/site-packages/neumodvb/pyepgdb.cpython-312-x86_64-linux-gnu.so /usr/lib64/libepgdb.so /usr/local/lib64/python3.12/site-packages/neumodvb/pyrecdb.cpython-312-x86_64-linux-gnu.so /usr/lib64/librecdb.so /usr/local/lib64/python3.12/site-packages/neumodvb/pyschemadb.cpython-312-x86_64-linux-gnu.so /usr/lib64/libschema.so /usr/lib64/libneumoreceiver.so /usr/local/lib64/python3.12/site-packages/neumodvb/pyreceiver.cpython-312-x86_64-linux-gnu.so /usr/local/lib64/python3.12/site-packages/neumodvb/pyspectrum.cpython-312-x86_64-linux-gnu.so /usr/lib64/libstreamparser.a /usr/lib64/libneumoutil.so /usr/local/lib64/python3.12/site-packages/neumodvb/pyneumompv.cpython-312-x86_64-linux-gnu.so /usr/lib64/libneumolmdb.a

In neumodvb/build/CMakeCache.txt I can see
_Python_INTERPRETER_PROPERTIES:INTERNAL=Python;3;12;0;64;;cpython-312-x86_64-linux-gnu;abi3;/usr/lib64/python3.12;/usr/local/lib64/python3.12;/usr/local/lib/python3.12/site-packa ges;/usr/local/lib64/python3.12/site-packages
I am not sure why this happens. Perhaps something ubuntu specific?

I will check later.

I use QXL drivers with SPICE (see link).
I forgot to list it, but yes, I pipe dvbstream output to nc (netcat).
That is fine, but other programs work as well (e.g., dvbsnoop with the right options)

For some time I indeed used neumodvb for tuning and getting signal levels and in parallel I ran dvbstream and nc.
I know pretty much nothing about python coding (and to be honest not a lot more about bash scripts either).
Neither did I, until I learnt it.The basics are easy. Some more advanced tricks can be confusing or even surprising.

About getting signal levels, I run dvb-fe-tool, it used to work perfectly but a few months ago, a libc update seems to have brought a bug to light that randomly makes dvb-fe-tool crash at launch (it works ok on the subsequent launches).

Is there something from the neumodvb package (or blindscan tools) that could replace it in a command line?
I think neumo-tune might do it, but this program is not well tested. If I remember correctly it outputs sugnal levels (or it
would be easy to make it do that). The /dev/dvb/adapter/... can then be used to read the stream and do somethign with it.
 

ptergrand

Member
Joined
Jul 14, 2023
Messages
120
Reaction score
20
Points
18
Age
44
My Satellite Setup
bu siteyi çok seviyorum
My Location
bu siteyi çok seviyorum

deeptho ; Sir, can you explain exactly what this page means?​

if(!c.is_valid())
return;
auto start_time = system_clock::from_time_t(epg_record.k.start_time);
auto tp = zoned_time(current_zone(), floor<std::chrono::seconds>(start_time));

auto const info = tp.get_time_zone()->get_info(start_time);
start_time += info.offset;
 
Last edited:

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
765
Reaction score
464
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
It reads time and converts it to the local timezone
 

ptergrand

Member
Joined
Jul 14, 2023
Messages
120
Reaction score
20
Points
18
Age
44
My Satellite Setup
bu siteyi çok seviyorum
My Location
bu siteyi çok seviyorum
It gave an error on this page, I deleted it, uploaded it again and uploaded it to github.com.
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
765
Reaction score
464
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
That makes no sense. The code is needed and will not be integrated.
You also cannot upload it.

You are probably using ubuntu and need to upgrade ubuntu.
 

ptergrand

Member
Joined
Jul 14, 2023
Messages
120
Reaction score
20
Points
18
Age
44
My Satellite Setup
bu siteyi çok seviyorum
My Location
bu siteyi çok seviyorum
I uninstalled the program, installed it and it gave the same error again.

Code:
[ 77%] Built target streamparser
[ 77%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/cmake_pch.hxx.pch
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/receiver.cc.o
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/subscriber.cc.o
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/subscriber_notify.cc.o
clang: warning: /home/star/neumodvb/pybind11/include: 'linker' input unused [-Wunused-command-line-argument]
[ 79%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/tune.cc.o
/home/star/neumodvb/src/receiver/tune.cc:642:23: error: use of undeclared identifier 'current_zone'; did you mean 'current_event'?
auto tp = zoned_time(current_zone(), floor<std::chrono::seconds>(start_time));
^~~~~~~~~~~~
current_event                                                                                                                             
/home/star/neumodvb/src/receiver/task.h:229:21: note: 'current_event' declared here                                                                                   
const epoll_event* current_event() const {
^
/home/star/neumodvb/src/receiver/tune.cc:642:12: error: use of undeclared identifier 'zoned_time'                                                                     
auto tp = zoned_time(current_zone(), floor<std::chrono::seconds>(start_time));
^
2 errors generated.                                                                                                                                                   
make[2]: *** [src/receiver/CMakeFiles/neumoreceiver.dir/build.make:141: src/receiver/CMakeFiles/neumoreceiver.dir/tune.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1457: src/receiver/CMakeFiles/neumoreceiver.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
star@star-Vostro-3670:~/neumodvb/build$
 

ptergrand

Member
Joined
Jul 14, 2023
Messages
120
Reaction score
20
Points
18
Age
44
My Satellite Setup
bu siteyi çok seviyorum
My Location
bu siteyi çok seviyorum
That makes no sense. The code is needed and will not be integrated.
You also cannot upload it.

You are probably using ubuntu and need to upgrade ubuntu.
Even though I upgraded Ubuntu, it still gave the same errors.
 

ptergrand

Member
Joined
Jul 14, 2023
Messages
120
Reaction score
20
Points
18
Age
44
My Satellite Setup
bu siteyi çok seviyorum
My Location
bu siteyi çok seviyorum
I deleted the error areas and it continues to load without errors.

Code:
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/tune.cc.o
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/scan.cc.o
/home/star/neumodvb/src/receiver/scan.cc:111:21: warning: unused variable 'finished_fe' [-Wunused-variable]
const devdb::fe_t& finished_fe={};
^
/home/star/neumodvb/src/receiver/scan.cc:112:25: warning: unused variable 'finished_mux' [-Wunused-variable]                                                           
const chdb::any_mux_t& finished_mux = {};
^
2 warnings generated.                                                                                                                                                 
[ 79%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/active_adapter.cc.o
/home/star/neumodvb/src/receiver/active_adapter.cc:283:14: warning: unused variable 'service' [-Wunused-variable]
const auto& service = active_service.get_current_service();
^
1 warning generated.                                                                                                                                                   
[ 79%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/devmanager.cc.o
[ 80%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/fe_monitor.cc.o
[ 80%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/options.cc.o
[ 81%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/active_si_stream.cc.o
[ 81%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/recmgr.cc.o
[ 81%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/frontend.cc.o
[ 82%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/scam.cc.o
[ 82%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/active_stream.cc.o
[ 83%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/active_service.cc.o
[ 83%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/filemapper.cc.o
[ 84%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/live_mpm.cc.o
[ 84%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/active_playback.cc.o
[ 85%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/playback_mpm.cc.o
[ 85%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/dvbcsa.cc.o
[ 85%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/capmt.cc.o
[ 86%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/streamfilter.cc.o
[ 86%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/spectrum_algo5.cc.o
[ 87%] Linking CXX shared library libneumoreceiver.so
[ 88%] Built target neumoreceiver
[ 89%] Building CXX object src/receiver/CMakeFiles/neumo-blindscan.dir/neumo-blindscan.cc.o
[ 89%] Building CXX object src/receiver/CMakeFiles/neumo-blindscan.dir/dvb_strings.cc.o
[ 90%] Linking CXX executable neumo-blindscan
[ 90%] Built target neumo-blindscan
[ 90%] Building CXX object src/receiver/CMakeFiles/neumo-tune.dir/neumo-tune.cc.o
[ 91%] Building CXX object src/receiver/CMakeFiles/neumo-tune.dir/dvb_strings.cc.o
[ 91%] Linking CXX executable neumo-tune
[ 91%] Built target neumo-tune
[ 91%] Building CXX object src/receiver/CMakeFiles/pyreceiver.dir/receiver_pybind.cc.o
[ 92%] Building C object src/receiver/CMakeFiles/pyreceiver.dir/setproctitle.c.o
[ 92%] Building CXX object src/receiver/CMakeFiles/pyreceiver.dir/options_pybind.cc.o
[ 93%] Building CXX object src/receiver/CMakeFiles/pyreceiver.dir/subscriber_pybind.cc.o
[ 93%] Building CXX object src/receiver/CMakeFiles/pyreceiver.dir/logger_pybind.cc.o
[ 94%] Linking CXX shared module pyreceiver.cpython-310-x86_64-linux-gnu.so
[ 94%] Built target pyreceiver
[ 95%] Building CXX object src/receiver/CMakeFiles/pyspectrum.dir/spectrum_pybind.cc.o
[ 95%] Building CXX object src/receiver/CMakeFiles/pyspectrum.dir/spectrum_algo5.cc.o
[ 96%] Linking CXX shared module pyspectrum.cpython-310-x86_64-linux-gnu.so
[ 96%] Built target pyspectrum
[ 96%] Building CXX object src/receiver/streamparser/CMakeFiles/huffman_generator.dir/huffman_generator.cc.o
[ 96%] Building CXX object src/receiver/streamparser/CMakeFiles/huffman_generator.dir/huffman_opentv_data.cc.o
[ 97%] Linking CXX executable huffman_generator
[ 97%] Built target huffman_generator
[ 97%] Building CXX object src/viewer/CMakeFiles/pyneumompv.dir/neumompv.cc.o
[ 98%] Building CXX object src/viewer/CMakeFiles/pyneumompv.dir/neumosvg.cc.o
[ 98%] Building CXX object src/viewer/CMakeFiles/pyneumompv.dir/neumompv_pybind.cc.o
[ 98%] Building CXX object src/viewer/CMakeFiles/pyneumompv.dir/neumoradiobg.cc.o
[ 99%] Linking CXX shared module pyneumompv.cpython-310-x86_64-linux-gnu.so
[ 99%] Built target pyneumompv
[100%] Building C object neumolmdb/CMakeFiles/mdb_stat.dir/mdb_stat.c.o
[100%] Linking C executable mdb_stat
[100%] Built target mdb_stat
Install the project...
 

ptergrand

Member
Joined
Jul 14, 2023
Messages
120
Reaction score
20
Points
18
Age
44
My Satellite Setup
bu siteyi çok seviyorum
My Location
bu siteyi çok seviyorum
I can't even scan the frequency, I enter the frequencies manually.

Traceback (most recent call last):
File "/home/star/neumodvb/gui/neumodvb/neumolist.py", line 1333, in OnGridCellSelect
has_selection = any(True for _ in self.GetSelectedBlocks())
AttributeError: 'SatGrid' object has no attribute 'GetSelectedBlocks'
 

Attachments

  • Screenshot_20231210_212654.png
    Screenshot_20231210_212654.png
    123.2 KB · Views: 12

ptergrand

Member
Joined
Jul 14, 2023
Messages
120
Reaction score
20
Points
18
Age
44
My Satellite Setup
bu siteyi çok seviyorum
My Location
bu siteyi çok seviyorum
I live in Turkey. Since this program gives an error in the time zone, which time zone should I use?
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,256
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
@deeptho, Clicking OK in the little scan box aborts the program. Nothing in debug that helps me, but ! can attach it if it's any use.

dropping out.png
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,256
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
I uninstalled the program, installed it and it gave the same error again.

Code:
[ 77%] Built target streamparser
[ 77%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/cmake_pch.hxx.pch
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/receiver.cc.o
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/subscriber.cc.o
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/subscriber_notify.cc.o
clang: warning: /home/star/neumodvb/pybind11/include: 'linker' input unused [-Wunused-command-line-argument]
[ 79%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/tune.cc.o
/home/star/neumodvb/src/receiver/tune.cc:642:23: error: use of undeclared identifier 'current_zone'; did you mean 'current_event'?
auto tp = zoned_time(current_zone(), floor<std::chrono::seconds>(start_time));
^~~~~~~~~~~~
current_event                                                                                                                          
/home/star/neumodvb/src/receiver/task.h:229:21: note: 'current_event' declared here                                                                                
const epoll_event* current_event() const {
^
/home/star/neumodvb/src/receiver/tune.cc:642:12: error: use of undeclared identifier 'zoned_time'                                                                  
auto tp = zoned_time(current_zone(), floor<std::chrono::seconds>(start_time));
^
2 errors generated.                                                                                                                                                
make[2]: *** [src/receiver/CMakeFiles/neumoreceiver.dir/build.make:141: src/receiver/CMakeFiles/neumoreceiver.dir/tune.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1457: src/receiver/CMakeFiles/neumoreceiver.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
star@star-Vostro-3670:~/neumodvb/build$

That's the errors I have with the upgraded Ubuntu. Fedora upgrade to F39 built with no errors, but I have the shutting down problem as above.
 

ptergrand

Member
Joined
Jul 14, 2023
Messages
120
Reaction score
20
Points
18
Age
44
My Satellite Setup
bu siteyi çok seviyorum
My Location
bu siteyi çok seviyorum
Blindscan scan is great
Thank you.
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
765
Reaction score
464
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
I uninstalled the program, installed it and it gave the same error again.

Code:
[ 77%] Built target streamparser
[ 77%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/cmake_pch.hxx.pch
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/receiver.cc.o
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/subscriber.cc.o
[ 78%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/subscriber_notify.cc.o
clang: warning: /home/star/neumodvb/pybind11/include: 'linker' input unused [-Wunused-command-line-argument]
[ 79%] Building CXX object src/receiver/CMakeFiles/neumoreceiver.dir/tune.cc.o
/home/star/neumodvb/src/receiver/tune.cc:642:23: error: use of undeclared identifier 'current_zone'; did you mean 'current_event'?
auto tp = zoned_time(current_zone(), floor<std::chrono::seconds>(start_time));
^~~~~~~~~~~~
current_event                                                                                                                            
/home/star/neumodvb/src/receiver/task.h:229:21: note: 'current_event' declared here                                                                                  
const epoll_event* current_event() const {
^
/home/star/neumodvb/src/receiver/tune.cc:642:12: error: use of undeclared identifier 'zoned_time'                                                                    
auto tp = zoned_time(current_zone(), floor<std::chrono::seconds>(start_time));
^
2 errors generated.                                                                                                                                                  
make[2]: *** [src/receiver/CMakeFiles/neumoreceiver.dir/build.make:141: src/receiver/CMakeFiles/neumoreceiver.dir/tune.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1457: src/receiver/CMakeFiles/neumoreceiver.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
star@star-Vostro-3670:~/neumodvb/build$

In the words of Einstein: “Insanity is doing the same thing over and over and expecting different results.”
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
765
Reaction score
464
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Even though I upgraded Ubuntu, it still gave the same errors.
Upgrading means "installing the latest version" (while keeping any configuration you made).
Are you running ubuntu 23.10? Only that one will work. The other versions are too old.
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
765
Reaction score
464
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
That's the errors I have with the upgraded Ubuntu. Fedora upgrade to F39 built with no errors, but I have the shutting down problem as above.
It should work in 23.10 (I tested that). Or do you mean "That's the errors I have with the NON upgraded Ubuntu."
 

ptergrand

Member
Joined
Jul 14, 2023
Messages
120
Reaction score
20
Points
18
Age
44
My Satellite Setup
bu siteyi çok seviyorum
My Location
bu siteyi çok seviyorum

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,256
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
It should work in 23.10 (I tested that). Or do you mean "That's the errors I have with the NON upgraded Ubuntu."
I should have checked my upgrade - I'm on 23.04 :-ohmy

Next up, 23.10. Thanks for pointing that out.
 
Top