| 110 * If 'Music': |
110 * If 'Music': |
| 111 * 5: Artist |
111 * 5: Artist |
| 112 * 6: Album |
112 * 6: Album |
| 113 * 7: ? |
113 * 7: ? |
| 114 */ |
114 */ |
| 115 #if GLIB_CHECK_VERSION(2,6,0) |
|
| 116 strings = g_strv_length(cmedia_array); |
115 strings = g_strv_length(cmedia_array); |
| 117 #else |
|
| 118 while (cmedia_array[++strings] != NULL); |
|
| 119 #endif |
|
| 120 |
116 |
| 121 if (strings >= 4 && !strcmp(cmedia_array[2], "1")) { |
117 if (strings >= 4 && !strcmp(cmedia_array[2], "1")) { |
| 122 media = g_new(CurrentMedia, 1); |
118 media = g_new(CurrentMedia, 1); |
| 123 |
119 |
| 124 if (!strcmp(cmedia_array[1], "Music")) |
120 if (!strcmp(cmedia_array[1], "Music")) |