|
|
@ -1853,7 +1853,9 @@ void CMiniDexed::UpdateNetwork() |
|
|
|
{ |
|
|
|
{ |
|
|
|
LOGNOTE ("RTP MIDI interface enabled"); |
|
|
|
LOGNOTE ("RTP MIDI interface enabled"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
m_pFTPDaemon = new CFTPDaemon(FTPUSERNAME, FTPPASSWORD); |
|
|
|
m_pFTPDaemon = new CFTPDaemon(FTPUSERNAME, FTPPASSWORD); |
|
|
|
|
|
|
|
|
|
|
|
if (!m_pFTPDaemon->Initialize()) |
|
|
|
if (!m_pFTPDaemon->Initialize()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
LOGERR("Failed to init FTP daemon"); |
|
|
|
LOGERR("Failed to init FTP daemon"); |
|
|
@ -1861,8 +1863,16 @@ void CMiniDexed::UpdateNetwork() |
|
|
|
m_pFTPDaemon = nullptr; |
|
|
|
m_pFTPDaemon = nullptr; |
|
|
|
} |
|
|
|
} |
|
|
|
else
|
|
|
|
else
|
|
|
|
|
|
|
|
{ |
|
|
|
LOGNOTE("FTP daemon initialized"); |
|
|
|
LOGNOTE("FTP daemon initialized"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
m_UI.DisplayWrite ("IP", |
|
|
|
|
|
|
|
"Network", |
|
|
|
|
|
|
|
IPString, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
1); |
|
|
|
|
|
|
|
} |
|
|
|
else if (m_bNetworkReady && !bNetIsRunning) |
|
|
|
else if (m_bNetworkReady && !bNetIsRunning) |
|
|
|
{ |
|
|
|
{ |
|
|
|
m_bNetworkReady = false; |
|
|
|
m_bNetworkReady = false; |
|
|
|