Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Broadcasting profiles #1278

Closed
wants to merge 14 commits into from
Closed

[WIP] Broadcasting profiles #1278

wants to merge 14 commits into from

Conversation

Palakis
Copy link
Contributor

@Palakis Palakis commented Jun 5, 2017

This is currently a Work in Progress. Please do NOT merge.

This feature allows management of several sets of Live Broadcasting settings called "profiles" or "broadcasting profiles". A user can select which profile (set of server credentials, settings and encoding settings) to use when broadcasting using Mixxx.

This feature is phase 1 (out of 2) of my GSoC project for Mixxx, so the UI implemented during this phase paves the way for phase 2: multiple simultaneous broadcasting connections (a.k.a Multi-broadcasting)

More details on the project here: https://www.mixxx.org/wiki/doku.php/multi-broadcasting

Tasks:

  • Implement the BroadcastProfile class:
    • Basic structure
    • XML read/write code
    • Validate proper functioning
    • Write unit tests
  • Refactor the BroadcastSettings class
    • QList of BroadcastProfile instances
    • List profiles from filesystem
    • Get/set CurrentProfile key in mixxx.cfg referencing the name of the currently selected profile
    • Make sure only one instance of BroadcastSettings exists
  • Refactor UI of Live Broadcasting preferences panel (DlgPrefBroadcast)

Palakis added 3 commits June 2, 2017 14:45
I initially forgot to add broadcastprofile.cpp into the list
of source files in build/depends.py, so I didn't noticed all the
errors and mistakes I've made while writing this earlier.
This commit aims to fix these errors and have the BroadcastProfile
class to build.

BroadcastProfile::BroadcastProfile(const QString& profileName) {
// TODO(Palakis, June 2nd 2017):
// Strip forbidden characters from the profile name
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there must be a qt class that escapes user strings

@Palakis Palakis closed this Jun 15, 2017
@Palakis
Copy link
Contributor Author

Palakis commented Jun 15, 2017

Work for phase 1 has been slimmed down to only the XML profile subsystem, as tasks of this PR didn't focused enough on writing a good foundation for it.
This branch has been forked at b2d089d to a new branch for PR #1283. Code from branch broadcast-profiles is kept separately and will be reused later.

@Palakis Palakis deleted the broadcast-profiles branch August 21, 2017 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants