Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • VLC-Android VLC-Android
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 518
    • Issues 518
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • VLC-AndroidVLC-Android
  • Merge requests
  • !1628

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed popy popy requested to merge popy/vlc-android:fix_opened_position into master Nov 21, 2022
  • Overview 2
  • Commits 1
  • Pipelines 3
  • Changes 4

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix_opened_position

VideoLAN code repository instance