Code Monkey home page Code Monkey logo

wirbelscan-dev's Issues

Issue with DoScan in MenuSetup

Hi @wirbel-at-vdr-portal ,

First of all, sorry to ask for this here. If you want another way to contact, them please address me to the correct public forum/area. IMHO a direct email is not the best method for sharing issues.

In the mean time, I've this issue:

  • I'm implementing a single transponder scan for the w_scan_cpp tools. It's easy to implement it reusing your example code of the "vdr-wirbelscancontrol" plugin. However, I've a problem with the initialization when using the 999 scanning type (the one for the one transponder only). The concrete line is this:

if (DVB_Type == SCAN_NO_DEVICE || ! wSetup.systems[DVB_Type]) {

As you can see, when the DVB_Type is 999 the check will never initialize the device. That's because the wSetup.systems[999] is everytime 0. So removing the second part for testing I can initialize without troubles and the tool works as expected. Therefore my question is:

  • What you prefer to solve the issue? To change this code, or you know for a workaround? I feel the best is to extract from the userdata the type of the UserTransponder and then when DVB_Type == 999 then use it as the index for the wSetup.systems[]. But perhaps this could be quite complex.

So, please can you comment about this?
Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.