Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/connectdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ void CConnectDlg::UpdateDirectoryComboBox()
cbxDirectory->clear();
cbxDirectory->addItem ( DirectoryTypeToString ( AT_DEFAULT ) );
cbxDirectory->addItem ( DirectoryTypeToString ( AT_ANY_GENRE2 ) );
cbxDirectory->addItem ( DirectoryTypeToString ( AT_ANY_GENRE3 ) );
cbxDirectory->addItem ( DirectoryTypeToString ( AT_ANY_GENRE_ASIA ) );
cbxDirectory->addItem ( DirectoryTypeToString ( AT_GENRE_ROCK ) );
cbxDirectory->addItem ( DirectoryTypeToString ( AT_GENRE_JAZZ ) );
cbxDirectory->addItem ( DirectoryTypeToString ( AT_GENRE_CLASSICAL_FOLK ) );
Expand Down
2 changes: 1 addition & 1 deletion src/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ LED bar: lbr
#define DEFAULT_SERVER_ADDRESS "anygenre1.jamulus.io:22124" // default port explicit to avoid unneeded SRV lookup
#define DEFAULT_PORT_NUMBER 22124
#define CENTSERV_ANY_GENRE2 "anygenre2.jamulus.io:22224"
#define CENTSERV_ANY_GENRE3 "anygenre3.jamulus.io:22624"
#define CENTSERV_ANY_GENRE_ASIA "asia.jamulus.io:22624"
#define CENTSERV_GENRE_ROCK "rock.jamulus.io:22424"
#define CENTSERV_GENRE_JAZZ "jazz.jamulus.io:22324"
#define CENTSERV_GENRE_CLASSICAL_FOLK "classical.jamulus.io:22524"
Expand Down
2 changes: 1 addition & 1 deletion src/serverdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ CServerDlg::CServerDlg ( CServer* pNServP, CServerSettings* pNSetP, const bool b
cbxDirectoryType->addItem ( DirectoryTypeToString ( AT_NONE ) );
cbxDirectoryType->addItem ( DirectoryTypeToString ( AT_DEFAULT ) );
cbxDirectoryType->addItem ( DirectoryTypeToString ( AT_ANY_GENRE2 ) );
cbxDirectoryType->addItem ( DirectoryTypeToString ( AT_ANY_GENRE3 ) );
cbxDirectoryType->addItem ( DirectoryTypeToString ( AT_ANY_GENRE_ASIA ) );
cbxDirectoryType->addItem ( DirectoryTypeToString ( AT_GENRE_ROCK ) );
cbxDirectoryType->addItem ( DirectoryTypeToString ( AT_GENRE_JAZZ ) );
cbxDirectoryType->addItem ( DirectoryTypeToString ( AT_GENRE_CLASSICAL_FOLK ) );
Expand Down
4 changes: 2 additions & 2 deletions src/serverrpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ const std::unordered_map<EDirectoryType, std::string>
{ EDirectoryType::AT_NONE, "none" },
{ EDirectoryType::AT_DEFAULT, "any_genre_1" },
{ EDirectoryType::AT_ANY_GENRE2, "any_genre_2" },
{ EDirectoryType::AT_ANY_GENRE3, "any_genre_3" },
{ EDirectoryType::AT_ANY_GENRE_ASIA, "any_genre_asia" },
{ EDirectoryType::AT_GENRE_ROCK, "genre_rock" },
{ EDirectoryType::AT_GENRE_JAZZ, "genre_jazz" },
{ EDirectoryType::AT_GENRE_CLASSICAL_FOLK, "genre_classical_folk" },
Expand All @@ -302,7 +302,7 @@ const std::unordered_map<std::string, EDirectoryType> CServerRpc::sumStringToDir
{ "none", EDirectoryType::AT_NONE },
{ "any_genre_1", EDirectoryType::AT_DEFAULT },
{ "any_genre_2", EDirectoryType::AT_ANY_GENRE2 },
{ "any_genre_3", EDirectoryType::AT_ANY_GENRE3 },
{ "any_genre_asia", EDirectoryType::AT_ANY_GENRE_ASIA },
{ "genre_rock", EDirectoryType::AT_GENRE_ROCK },
{ "genre_jazz", EDirectoryType::AT_GENRE_JAZZ },
{ "genre_classical_folk", EDirectoryType::AT_GENRE_CLASSICAL_FOLK },
Expand Down
4 changes: 2 additions & 2 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -965,8 +965,8 @@ QString NetworkUtil::GetDirectoryAddress ( const EDirectoryType eDirectoryType,
return strDirectoryAddress;
case AT_ANY_GENRE2:
return CENTSERV_ANY_GENRE2;
case AT_ANY_GENRE3:
return CENTSERV_ANY_GENRE3;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We should probably rather not name it CENTSERV anymore...

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yeah, I was going to say - separate PR to move to DIRECTORY_ and .app in one go?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We could do this yes. But .app didn't resolve for me yet. @gilgongo

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ah, looking at the Cloudflare config- I'd forgotten that it works using 301 redirects. For some reason I thought it had some DNS wildcard capability. So no .app for directories right now I'm afraid.

Copy link
Copy Markdown
Member

@gilgongo gilgongo May 19, 2026

Choose a reason for hiding this comment

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

Yeah, I was going to say - separate PR to move to DIRECTORY_ and .app in one go?

I suppose we could replicate the .io zone to .app and maintain both in parallel? We don't make changes that often after all. As far as I can tell, CloudFlare don't allow pointing two domains to the same zone file at least.

Copy link
Copy Markdown
Member Author

@ann0see ann0see May 20, 2026

Choose a reason for hiding this comment

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

I'd like to get rid of mentioning anygenre3 anywhere on jamulus.app but not on jamulus.io.
anygenre3.jamulus.app never existed. One could also argue that asia.jamulus.io never existed (in a released version)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ah, that's true. So leave the SRV on jamulus.io, with the CNAME there both pointing to asia.jamulus.app and no other mention of asia.jamulus.app - and no mention of asia.jamulus.io.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

OK I can delete SRV _jamulus._udp.asia on jamulus.io and the CNAME for asia.jamulus.io? No anygenre3 records on .app.

Copy link
Copy Markdown
Member

@softins softins May 21, 2026

Choose a reason for hiding this comment

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

OK I can delete SRV _jamulus._udp.asia on jamulus.io and the CNAME for asia.jamulus.io? No anygenre3 records on .app.

Oh, that took me by surprise rather:
image

Changes like that shouldn't happen quite so fast - I don't spend all my time at the computer, despite occasionally appearing to do so!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry about that. I've not removed the SRV yet though.

case AT_ANY_GENRE_ASIA:
return CENTSERV_ANY_GENRE_ASIA;
case AT_GENRE_ROCK:
return CENTSERV_GENRE_ROCK;
case AT_GENRE_JAZZ:
Expand Down
6 changes: 3 additions & 3 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ enum EDirectoryType
AT_NONE = -1, // means not registered, "invalid value"
AT_DEFAULT = 0,
AT_ANY_GENRE2 = 1,
AT_ANY_GENRE3 = 2,
AT_ANY_GENRE_ASIA = 2,
AT_GENRE_ROCK = 3,
AT_GENRE_JAZZ = 4,
AT_GENRE_CLASSICAL_FOLK = 5,
Expand All @@ -600,8 +600,8 @@ inline QString DirectoryTypeToString ( EDirectoryType eAddrType )
case AT_ANY_GENRE2:
return QCoreApplication::translate ( "CClientSettingsDlg", "Any Genre 2" );

case AT_ANY_GENRE3:
return QCoreApplication::translate ( "CClientSettingsDlg", "Any Genre 3" );
case AT_ANY_GENRE_ASIA:
return QCoreApplication::translate ( "CClientSettingsDlg", "Any Genre Asia" );

case AT_GENRE_ROCK:
return QCoreApplication::translate ( "CClientSettingsDlg", "Genre Rock" );
Expand Down
Loading