Changeset 9f048445a6c2c0fc5bb929ae268226bd4cdd38f9
- Timestamp:
- 15/09/07 21:26:07
(1 year ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1189884367 +0000
- git-parent:
[bc650c59ca6d2edbf555dc0cec11091f274b42f5]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1189884367 +0000
- Message:
VLC-specific playlist group support
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rbc650c5 |
r9f04844 |
|
| 272 | 272 | strcpy (subvar, "phone"); |
|---|
| 273 | 273 | char *phone = var_GetNonEmptyString (obj, varname); |
|---|
| 274 | | #if 0 |
|---|
| 275 | | strcpy (subvar, "group"); |
|---|
| 276 | | char *group = var_GetNonEmptyString (obj, varname); |
|---|
| 277 | | #endif |
|---|
| 278 | 274 | |
|---|
| 279 | 275 | char *sdp = sdp_Start (name, description, url, email, phone, |
|---|
| … | … | |
| 285 | 281 | free (phone); |
|---|
| 286 | 282 | |
|---|
| | 283 | if (sdp == NULL) |
|---|
| | 284 | return NULL; |
|---|
| | 285 | |
|---|
| | 286 | /* Totally non-standard */ |
|---|
| | 287 | strcpy (subvar, "group"); |
|---|
| | 288 | char *group = var_GetNonEmptyString (obj, varname); |
|---|
| | 289 | if (group != NULL) |
|---|
| | 290 | { |
|---|
| | 291 | sdp_AddAttribute (&sdp, "x-plgroup", "%s", group) |
|---|
| | 292 | free (group); |
|---|
| | 293 | } |
|---|
| | 294 | |
|---|
| 287 | 295 | return sdp; |
|---|
| 288 | 296 | } |
|---|