Skip to content

Commit

Permalink
Merge pull request #6373 from TeamNewPipe/bandcamp-links
Browse files Browse the repository at this point in the history
Improve Bandcamp intent filters
  • Loading branch information
TobiGr authored May 28, 2021
2 parents 6956d16 + 38fb510 commit ecc998a
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
<data android:pathPrefix="/video-channels/" />
</intent-filter>

<!-- Bandcamp filter -->
<!-- Bandcamp filter for tracks, albums and playlists -->
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH"/>
Expand All @@ -330,10 +330,23 @@

<data android:scheme="http"/>
<data android:scheme="https"/>
<data android:host="bandcamp.com"/>
<data android:host="*.bandcamp.com"/>
<data android:pathPrefix="/"/>
</intent-filter>

<!-- Bandcamp filter for radio -->
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH"/>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>

<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>

<data android:scheme="http"/>
<data android:scheme="https"/>
<data android:sspPattern="bandcamp.com/?show=*"/>
</intent-filter>

</activity>
<service
android:name=".RouterActivity$FetcherService"
Expand Down

0 comments on commit ecc998a

Please sign in to comment.