-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp index c22822c..81693e1 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp | |||
@@ -178,49 +178,49 @@ long XineControl::position() { | |||
178 | long emitPos = (long)m_position; | 178 | long emitPos = (long)m_position; |
179 | emit positionChanged( emitPos ); | 179 | emit positionChanged( emitPos ); |
180 | if( mediaPlayerState->isPlaying ) { | 180 | if( mediaPlayerState->isPlaying ) { |
181 | // needs to be stopped the media is stopped | 181 | // needs to be stopped the media is stopped |
182 | QTimer::singleShot( 1000, this, SLOT( position() ) ); | 182 | QTimer::singleShot( 1000, this, SLOT( position() ) ); |
183 | } | 183 | } |
184 | // qDebug("POSITION : %d", m_position); | 184 | // qDebug("POSITION : %d", m_position); |
185 | return m_position; | 185 | return m_position; |
186 | } | 186 | } |
187 | 187 | ||
188 | /** | 188 | /** |
189 | * Set videoplayback to fullscreen | 189 | * Set videoplayback to fullscreen |
190 | * @param isSet | 190 | * @param isSet |
191 | */ | 191 | */ |
192 | void XineControl::setFullscreen( bool isSet ) { | 192 | void XineControl::setFullscreen( bool isSet ) { |
193 | libXine->showVideoFullScreen( isSet ); | 193 | libXine->showVideoFullScreen( isSet ); |
194 | } | 194 | } |
195 | 195 | ||
196 | 196 | ||
197 | QString XineControl::getMetaInfo() { | 197 | QString XineControl::getMetaInfo() { |
198 | 198 | ||
199 | QString returnString; | 199 | QString returnString; |
200 | 200 | ||
201 | if ( !libXine->metaInfo( 0 ).isEmpty() ) { | 201 | if ( !libXine->metaInfo( 0 ).isEmpty() ) { |
202 | returnString += tr( " Titel: " + libXine->metaInfo( 0 ) ); | 202 | returnString += tr( " Title: " + libXine->metaInfo( 0 ) ); |
203 | } | 203 | } |
204 | 204 | ||
205 | if ( !libXine->metaInfo( 1 ).isEmpty() ) { | 205 | if ( !libXine->metaInfo( 1 ).isEmpty() ) { |
206 | returnString += tr( " Comment: " + libXine->metaInfo( 1 ) ); | 206 | returnString += tr( " Comment: " + libXine->metaInfo( 1 ) ); |
207 | } | 207 | } |
208 | 208 | ||
209 | if ( !libXine->metaInfo( 2 ).isEmpty() ) { | 209 | if ( !libXine->metaInfo( 2 ).isEmpty() ) { |
210 | returnString += tr( " Artist: " + libXine->metaInfo( 2 ) ); | 210 | returnString += tr( " Artist: " + libXine->metaInfo( 2 ) ); |
211 | } | 211 | } |
212 | 212 | ||
213 | if ( !libXine->metaInfo( 3 ).isEmpty() ) { | 213 | if ( !libXine->metaInfo( 3 ).isEmpty() ) { |
214 | returnString += tr( " Genre: " + libXine->metaInfo( 3 ) ); | 214 | returnString += tr( " Genre: " + libXine->metaInfo( 3 ) ); |
215 | } | 215 | } |
216 | 216 | ||
217 | if ( !libXine->metaInfo( 4 ).isEmpty() ) { | 217 | if ( !libXine->metaInfo( 4 ).isEmpty() ) { |
218 | returnString += tr( " Album: " + libXine->metaInfo( 4 ) ); | 218 | returnString += tr( " Album: " + libXine->metaInfo( 4 ) ); |
219 | } | 219 | } |
220 | 220 | ||
221 | if ( !libXine->metaInfo( 5 ).isEmpty() ) { | 221 | if ( !libXine->metaInfo( 5 ).isEmpty() ) { |
222 | returnString += tr( " Year: " + libXine->metaInfo( 5 ) ); | 222 | returnString += tr( " Year: " + libXine->metaInfo( 5 ) ); |
223 | } | 223 | } |
224 | return returnString; | 224 | return returnString; |
225 | } | 225 | } |
226 | 226 | ||