From: APTX Date: Mon, 2 Mar 2026 11:43:50 +0000 (+0900) Subject: Add logs saying why UDP client was not started X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=6666e9957353f4f7e85727749d84f8253f036b8f;p=localmylist.git Add logs saying why UDP client was not started --- diff --git a/localmylist/mylist.cpp b/localmylist/mylist.cpp index 27e5b6c..591aece 100644 --- a/localmylist/mylist.cpp +++ b/localmylist/mylist.cpp @@ -198,13 +198,17 @@ bool MyList::playFile(const OpenFileData &ofd, const QStringList &additionalArgu void MyList::setupUdpClient() { #ifdef LOCALMYLIST_NO_ANIDBUDPCLIENT + qDebug() << "Not built with AniDbUdpClient"; return; #else if (!db->isConnected()) return; if (!isUdpHost()) + { + qDebug() << "Not a UDP host"; return; + } m_udpClientId = database()->getNextUdpClientId();