Skip to content
Snippets Groups Projects

Fix opened_position intent and add "?startupindex=XX" to URI's

Closed popy popy requested to merge popy/vlc-android:fix_opened_position into master
1 unresolved thread

Examples of usage to start index 5:

intent:

 int vlcRequestCode = 42;
 Uri uri = Uri.parse("https://www.domain.com/playlist.m3u8");
 Intent vlcIntent = new Intent(Intent.ACTION_VIEW);
 vlcIntent.setPackage("org.videolan.vlc");
 vlcIntent.setDataAndTypeAndNormalize(uri, "audio/*");
 vlcIntent.putExtra("title", "Test");
 vlcIntent.putExtra("from_start", false);
 vlcIntent.putExtra("opened_position", 5);
 startActivityForResult(vlcIntent, vlcRequestCode);

URL: vlc://https://www.domain.com/playlist.m3u8?startupindex=5

Merge request reports

Merge request pipeline #288064 passed

Merge request pipeline passed for 325ae901

Closed by Nicolas PomepuyNicolas Pomepuy 2 years ago (Jan 9, 2023 8:31am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading