Changeset 22bafc1a64b214063b1074d9b322d6dbe3d6caf6
- Timestamp:
- 18/08/07 10:56:41
(1 year ago)
- Author:
- Jean-Baptiste Kempf <jb@videolan.org>
- git-committer:
- Jean-Baptiste Kempf <jb@videolan.org> 1187427401 +0000
- git-parent:
[2feb5a9db033f511a45f710058409da7ccecbe5c]
- git-author:
- Jean-Baptiste Kempf <jb@videolan.org> 1187427401 +0000
- Message:
Qt4: Fix the [21193] for Qt4.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r38dbd37 |
r22bafc1 |
|
| 133 | 133 | /* Update text */ |
|---|
| 134 | 134 | QString text; |
|---|
| 135 | | char *psz_name = input_GetName( input_GetItem( p_input ) ); |
|---|
| 136 | | char *psz_nowplaying = input_item_GetNowPlaying( input_GetItem( p_input ); |
|---|
| | 135 | char *psz_name = input_item_GetName( input_GetItem( p_input ) ); |
|---|
| | 136 | char *psz_nowplaying = |
|---|
| | 137 | input_item_GetNowPlaying( input_GetItem( p_input ) ); |
|---|
| 137 | 138 | char *psz_artist = input_item_GetArtist( input_GetItem( p_input ) ); |
|---|
| 138 | 139 | if( !EMPTY_STR( psz_nowplaying ) ) |
|---|
| 139 | 140 | { |
|---|
| 140 | | text.sprintf( "%s - %s", psz_now_playing, psz_name ); |
|---|
| | 141 | text.sprintf( "%s - %s", psz_nowplaying, psz_name ); |
|---|
| 141 | 142 | } |
|---|
| 142 | 143 | else if( !EMPTY_STR( psz_artist ) ) |
|---|
| r38dbd37 |
r22bafc1 |
|
| 185 | 185 | |
|---|
| 186 | 186 | char *psz_arturl = input_item_GetArtURL( p_item->p_input ); |
|---|
| 187 | | if( current && psz_arturl ) && |
|---|
| | 187 | if( ( current && psz_arturl ) && |
|---|
| 188 | 188 | !strncmp( psz_arturl, "file://", 7 ) ) |
|---|
| 189 | | model->sendArt( qfu( psz_arturl ) ) ); |
|---|
| | 189 | model->sendArt( qfu( psz_arturl ) ) ; |
|---|
| 190 | 190 | else if( current ) |
|---|
| 191 | 191 | model->removeArt(); |
|---|
| … | … | |
| 216 | 216 | break; |
|---|
| 217 | 217 | case VLC_META_ENGINE_TITLE: |
|---|
| 218 | | char *psz_title; |
|---|
| 219 | | psz_title = input_item_GetTile( p_item->p_input ); |
|---|
| | 218 | char *psz_title, *psz_name; |
|---|
| | 219 | psz_title = input_item_GetTitle( p_item->p_input ); |
|---|
| 220 | 220 | psz_name = input_item_GetName( p_item->p_input ); |
|---|
| 221 | 221 | if( psz_title ) |
|---|