|
a/libupnpp/control/avtransport.cxx |
|
b/libupnpp/control/avtransport.cxx |
|
... |
|
... |
60 |
return AVTransport::PausedPlayback;
|
60 |
return AVTransport::PausedPlayback;
|
61 |
} else if (!stringuppercmp("PAUSED_RECORDING", s)) {
|
61 |
} else if (!stringuppercmp("PAUSED_RECORDING", s)) {
|
62 |
return AVTransport::PausedRecording;
|
62 |
return AVTransport::PausedRecording;
|
63 |
} else if (!stringuppercmp("RECORDING", s)) {
|
63 |
} else if (!stringuppercmp("RECORDING", s)) {
|
64 |
return AVTransport::Recording;
|
64 |
return AVTransport::Recording;
|
65 |
} else if (!stringuppercmp("NO MEDIA PRESENT", s)) {
|
65 |
} else if (!stringuppercmp("NO_MEDIA_PRESENT", s)) {
|
66 |
return AVTransport::NoMediaPresent;
|
66 |
return AVTransport::NoMediaPresent;
|
67 |
} else {
|
67 |
} else {
|
68 |
LOGERR("AVTransport event: bad value for TransportState: "
|
68 |
LOGINF("AVTransport event: bad value for TransportState: "
|
69 |
<< s << endl);
|
69 |
<< s << endl);
|
70 |
return AVTransport::Unknown;
|
70 |
return AVTransport::Unknown;
|
71 |
}
|
71 |
}
|
72 |
}
|
72 |
}
|
73 |
|
73 |
|
|
... |
|
... |
184 |
m_reporter->changed(it1->first.c_str(),
|
184 |
m_reporter->changed(it1->first.c_str(),
|
185 |
meta.m_items[0]);
|
185 |
meta.m_items[0]);
|
186 |
}
|
186 |
}
|
187 |
}
|
187 |
}
|
188 |
} else if (!it1->first.compare("PlaybackStorageMedium") ||
|
188 |
} else if (!it1->first.compare("PlaybackStorageMedium") ||
|
189 |
!it1->first.compare("PossiblePlaybackStorageMedium") ||
|
189 |
!it1->first.compare("PossiblePlaybackStorageMedia") ||
|
190 |
!it1->first.compare("RecordStorageMedium") ||
|
190 |
!it1->first.compare("RecordStorageMedium") ||
|
191 |
!it1->first.compare("PossibleRecordStorageMedium") ||
|
191 |
!it1->first.compare("PossibleRecordStorageMedia") ||
|
192 |
!it1->first.compare("RecordMediumWriteStatus") ||
|
192 |
!it1->first.compare("RecordMediumWriteStatus") ||
|
193 |
!it1->first.compare("CurrentRecordQualityMode") ||
|
193 |
!it1->first.compare("CurrentRecordQualityMode") ||
|
194 |
!it1->first.compare("PossibleRecordQualityModes")){
|
194 |
!it1->first.compare("PossibleRecordQualityModes")){
|
195 |
m_reporter->changed(it1->first.c_str(),it1->second.c_str());
|
195 |
m_reporter->changed(it1->first.c_str(),it1->second.c_str());
|
196 |
|
196 |
|
197 |
} else {
|
197 |
} else {
|
198 |
LOGDEB("AVTransport event: unknown variable: name [" <<
|
198 |
LOGDEB1("AVTransport event: unknown variable: name [" <<
|
199 |
it1->first << "] value [" << it1->second << endl);
|
199 |
it1->first << "] value [" << it1->second << endl);
|
200 |
m_reporter->changed(it1->first.c_str(),it1->second.c_str());
|
200 |
m_reporter->changed(it1->first.c_str(),it1->second.c_str());
|
201 |
}
|
201 |
}
|
202 |
}
|
202 |
}
|
203 |
}
|
203 |
}
|
204 |
}
|
204 |
}
|