/external/libmtp/examples/ |
getplaylist.c | 52 LIBMTP_playlist_t *playlist; local 60 fprintf(stderr, "Just a playlist ID is required\n"); 64 // Sanity check playlist ID 70 fprintf(stderr, "bad playlist id %u\n", id); 81 playlist = LIBMTP_Get_Playlist(device,id); 83 if (playlist != NULL) { 84 dump_playlist(device,playlist); 87 LIBMTP_destroy_playlist_t(playlist);
|
newplaylist.c | 3 * Example program to create a playlist on a device. 72 printf("You need to supply a playlist name.\n"); 89 LIBMTP_playlist_t *playlist = LIBMTP_new_playlist_t(); local 90 playlist->name = playlistname; 91 playlist->no_tracks = idcount; 92 playlist->tracks = ids; 93 playlist->parent_id = 0; 94 playlist->storage_id = 0; 95 int ret = LIBMTP_Create_New_Playlist(device,playlist); 97 printf("Couldn't create playlist object\n") [all...] |
/frameworks/av/media/libstagefright/httplive/ |
LiveSession.cpp | 225 // adaptive streaming, discontinuities in the playlist 688 ALOGE("unable to fetch master playlist %s.", uriDebugString(url).c_str()); 695 // initial bandwidth by listing it first in the variant playlist. 970 // playlist unchanged 981 sp<M3UParser> playlist = local 984 if (playlist->initCheck() != OK) { 985 ALOGE("failed to parse .m3u8 playlist"); 990 return playlist; [all...] |
PlaylistFetcher.cpp | 326 ALOGV("Need to refresh playlist in %" PRId64 , maxDelayUs); 616 ALOGE("Playlist is missing required EXT-X-TARGETDURATION tag"); 640 // when we cannot make out from the manifest what streams are included in a playlist 689 // refresh the playlist will become 0 697 sp<M3UParser> playlist = mSession->fetchPlaylist( local 700 if (playlist == NULL) { 702 // We succeeded in fetching the playlist, but it was 709 ALOGE("failed to load playlist at url '%s'", uriDebugString(mURI).c_str()); 714 mPlaylist = playlist; 811 // playlist's target duration or 3 seconds, whichever is les [all...] |
/packages/apps/Music/src/com/android/music/ |
AlbumBrowserActivity.java | 151 // in the middle of specifying a playlist to add the item to. 323 long playlist = item.getIntent().getLongExtra("playlist", 0); local 324 MusicUtils.addToPlaylist(this, list, playlist);
|
ArtistAlbumBrowserActivity.java | 150 // in the middle of specifying a playlist to add the item to. 418 long playlist = item.getIntent().getLongExtra("playlist", 0); local 419 MusicUtils.addToPlaylist(this, list, playlist); [all...] |
MediaPlaybackActivity.java | 399 .putExtra("playlist", "nowplaying") 601 long playlist = item.getIntent().getLongExtra("playlist", 0); local 602 MusicUtils.addToPlaylist(this, list, playlist); 650 int playlist = Integer.parseInt(uri.getLastPathSegment()); local 651 MusicUtils.addToPlaylist(this, list, playlist); [all...] |
TrackBrowserActivity.java | 126 mPlaylist = icicle.getString("playlist"); 134 mPlaylist = intent.getStringExtra("playlist"); 351 // in the middle of specifying a playlist to add the item to. 355 outcicle.putString("playlist", mPlaylist); 532 // update a saved playlist 549 Log.d(LOGTAG, "No view when removing playlist item " + which); 705 long playlist = item.getIntent().getLongExtra("playlist", 0); local 706 MusicUtils.addToPlaylist(this, list, playlist); 820 // remove track from playlist [all...] |
MusicUtils.java | 404 * Fills out the given submenu with items for "new playlist" and 407 * the selected playlist, NEW_PLAYLIST if a new playlist 408 * should be created, and QUEUE if the "current playlist" was 434 intent.putExtra("playlist", cur.getLong(0)); 474 // step 1: remove selected tracks from the current playlist, as well 479 // remove from current playlist 539 * @param ids The source array containing all the ids to be added to the playlist 572 // need to determine the number of items currently in the playlist, 808 // figure out if we need to restart with a new playlist, 810 long [] playlist = sService.getQueue(); local [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 4429 long playlist = Long.valueOf(segments.get(3)); local [all...] |