Code Monkey home page Code Monkey logo

live_stream_gui's People

Contributors

aldogoliath avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

live_stream_gui's Issues

Integrate Super Chat events to the database

Super chat events can be distinguished by snippet.type = superChatEvent

Interesting fields to consider (the field snippet.superChatDetails is only present when the msg type is a superChatEvent):

  • snippet.superChatDetails.userComment

  • snippet.superChatDetails.amountDisplayString

  • snippet.superChatDetails.currency

  • Add a new column for the database is_super_chat

  • Modify reply_auto so it gives top priority to entries on the table that have the flag is_super_chat as True

  • Consider embedding the User name in the message that will be put in the table (until #4 is implemented)

  • Avoid having the super chat messages being in the output of the record_file

Display the username correctly in the table view of the pending/resolved questions

Currently there are two tables with a one-to-many relationship (User -> Question). The Table view is mainly focused in the Question table and currently only displays the foreign key that associates it with the User table. Have proper handling of this table view and display the user name string and not the foreign-key (integer value used as id)

References:
https://doc.qt.io/qtforpython-5/PySide2/QtSql/QSqlRelationalTableModel.html
https://doc.qt.io/qt-5/qsqlrelationaltablemodel.html

The live chat feed should be active once start_stream_button is clicked but registering questions (or not) should be controlled by a checkbox

Currently, the live chat feed is obtained through the https://developers.google.com/youtube/v3/live/docs/liveChatMessages/list api, which is activated by clicking the checkbox in the gui.
This action triggers a thread which is in charge of making the api (listed above) call periodically, filtering out and registering in the database the messages that contain a keyword (CHAT_FILTER_WORD).

The program should behave as next:

  • Click Start Stream button
  • Start making the liveChatMessages list API call periodically
  • Start filtering and registering messages out of the live chat feed once the open questions checkbox is checked
  • Stop filtering and registering messages out of the live chat feed once the open questions checkbox is unchecked

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.