Commit Graph
5534 Commits
Author SHA1 Message Date
Andy Walsh 786e8d7a33 fix, don't send invalid sub/audio index
fix DlnaProfileType

(cherry picked from commit 1fa68ab51e)
v0.13.7
2022-07-09 17:01:27 +02:00
Andy Walsh 36fd201113 add AVC "high 10" profile test
enable AllowVideoStreamCopy, setAllowAudioStream

(cherry picked from commit 90d0e7ed13)
2022-07-09 17:01:03 +02:00
Cameron 21c7b6de09 fix subtitle background alignment, center subtitle text (#1786)
* fix subtitle background alignment, center subtitle text

* add suppress RtlHardcoded annotation

(cherry picked from commit affdb6dd75)
2022-07-09 17:00:35 +02:00
Niels van Velzen e2a8c7a285 Hide channel number from ChannelCardView when null
(cherry picked from commit a6c9fd0ac6)
2022-07-09 16:59:46 +02:00
Niels van Velzen 683c326c0c Disable ACRA crash reporting 2022-07-08 22:26:38 +02:00
Cameron 9bbbfa4e26 fix player track selection - offset MediaStream indexes to account for external tracks (#1732)
* offset mediastream indexes used for player track selection to account for external tracks

* use imports for libVLC classes

(cherry picked from commit 5e767ad7d1)
v0.13.6
2022-05-28 13:59:49 +02:00
Niels van Velzen 050110922c Fix favorite button in 0.13.z v0.13.5 2022-05-09 16:37:52 +02:00
Niels van Velzen f97db4643e Use JF_BOT_TOKEN in app-publish workflow
(cherry picked from commit 876e6bc5e9)
2022-05-09 16:35:15 +02:00
dependabot[bot] 1715dc02b7 Bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 57e814844c)
v0.13.4
2022-05-05 22:34:04 +02:00
dependabot[bot] 23c8b42e79 Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 7b1b678fcd)
2022-05-05 22:33:56 +02:00
naveensrinivasan 3ddcf4d284 Set permissions for GitHub actions
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
(cherry picked from commit f76ad3765e)
2022-05-05 22:33:41 +02:00
cameron 6a97e9b05b revert subtitle alignment back to left align, fix srt newline parsing
(cherry picked from commit 408f6073d0)
2022-05-05 19:37:45 +02:00
Cameron 6af1df5122 Use enum for refresh rate switching setting - allow choosing between scaling on device or on tv (#1647)
* use enum for refresh rate switching preference

* fixed enum value comments

* renamed preference key

* log every considered mode, restored accidentally deleted string

* added missing brackets

* updated comment for migration, use original depends for preference screen

* renamed string

* offset default resolutionDifference by 1 to fix SCALE_ON_DEVICE ranking

(cherry picked from commit 6dafe0a9d0)
2022-05-05 19:37:37 +02:00
cameron 68f0edca71 initialize video manager when falling back to vlc
(cherry picked from commit 04967b5811)
2022-05-05 19:36:26 +02:00
Niels van Velzen f5fda8c7de Fix button remapping not saving the new button
(cherry picked from commit 9feaf107b2)
2022-05-05 19:36:03 +02:00
gradle-update-robot 9ea2b81b28 Update Gradle Wrapper from 7.4.1 to 7.4.2.
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
(cherry picked from commit 65ebd3dac8)
v0.13.3
2022-04-09 11:26:17 +02:00
Cameron c568862ee1 fix getSubtitleStreamIndex returning the wrong index (#1594)
* dont use mDefaultSubIndex in getSubtitleStreamIndex

* only set mCurrentOptions SubtitleStreamIndex if subtitles load without error

* clear mDefaultSubIndex in switchSubtitleStream

(cherry picked from commit 5fd89ed8c9)
2022-04-09 11:15:58 +02:00
Niels van Velzen 42b767f619 Fix ASPECT_RATIO_BANNER again
(cherry picked from commit 7d1a653c10)
2022-04-09 11:15:48 +02:00
Niels van Velzen ebf7fc4244 Add appCategory attribute to manifest
(cherry picked from commit e2cdab31ea)
2022-04-09 11:15:35 +02:00
Niels van Velzen 102642d58f Fix ExpandableTextView focusable when text is not ellipsized
(cherry picked from commit db3af65226)
2022-04-09 11:15:27 +02:00
Cameron 5115e1181e fixed subtitles not clearing properly when switching (again) (#1571)
* fixed subtitles not clearing properly when switching (again)

* edited a couple comments so they're clearer

(cherry picked from commit df015146e2)
2022-04-09 11:15:17 +02:00
David Fairbrother f70ac357b6 Switch to using audio time stretching by default
This matches libVLC's normal default. Looking back in the project
history this was set to no stretching from the very start @commit
9528b9a3ee

Since libVLC use it by default and this wasn't a bug fix I propose we
can opt in the audio stretching by default. This should only trigger when
a user selects a playback speed that isn't 1x anyway.

(cherry picked from commit cfbadba4e3)
2022-04-09 11:15:03 +02:00
cameron 7136341c3c center align subtitles
(cherry picked from commit 079d004f2a)
2022-04-09 11:14:51 +02:00
Niels van Velzen 9b49af4c42 Fix player crashing when video ends v0.13.2 2022-03-23 20:57:07 +01:00
Cameron fa59595dd5 only parse exoplayer TracksInfo when needed - instead of once every 0.5-2 seconds (#1556)
* only parse TracksInfo when needed

* only set exoplayerAudioIndex if streamType == MediaStreamType.Audio

(cherry picked from commit 92d37dc5b3)
v0.13.1
2022-03-23 17:19:20 +01:00
David Fairbrother 7c3f495036 Add handling for updating end time based on playback speed
Adds handling to update the end time based on the user's current
playback speed.

This is a bit hacky since exoplayer is built on the assumption that we
have bi-directional communication to our UI layer. Instead the
CustomPlaybackTransportControlGlue is uni-directional polling the video
manager.

We unfortunately have to use hacky poll tricks to work-around the fact
we can't wire up on the "onPlaybackParametersChanged" call to notify the
glue class. However, in the short-term a 5s "delay" between setting and
updating is more favourable than setting up reverse listening
support.

Re #1509

(cherry picked from commit fa7956721e)
2022-03-23 17:19:14 +01:00
Niels van Velzen d05ef3d810 Add Android 12 backup configuration
(cherry picked from commit 26ac67e302)
2022-03-23 17:19:07 +01:00
Niels van Velzen f5c875959a Fix ASPECT_RATIO_BANNER
(cherry picked from commit 5f1b43c432)
2022-03-23 17:18:57 +01:00
Niels van Velzen b45700739a Add fastlane structure to repository
(cherry picked from commit 39c21e607a)
2022-03-23 17:18:49 +01:00
Niels van Velzen a0430a13d1 Add app name and flavor to version in about section
(cherry picked from commit d8695cb1a2)
2022-03-23 17:18:39 +01:00
Niels van Velzen 9dfe855940 Fix imageBlurHashes must not be null crash
(cherry picked from commit 77f31b9893)
2022-03-23 17:18:25 +01:00
cameron d09c45f74f prefer refresh rates closest to the source refresh rate
(cherry picked from commit be89cf276b)
2022-03-23 17:18:13 +01:00
cameron 16d6b6b2ed prefer changing refresh rate without changing resolution
(cherry picked from commit 85a49fe757)
2022-03-23 17:18:12 +01:00
cameron 75e8938db3 fix crash from tracepot issue a46fe8ca0001267b
ActionsAdapter.clear() crashes when adapter is already empty

(cherry picked from commit f39ba05b38)
2022-03-23 17:17:49 +01:00
cameron dff36669bf fix crash from tracepot issue 1d115b860001267b
crash from StreamInfo being null

(cherry picked from commit b1250de574)
2022-03-23 17:17:48 +01:00
cameron 1953508209 fix tracepot issue 1a07276a0001267b
fix crash from null leanbackOverlayFragment

(cherry picked from commit a8dea85a1b)
2022-03-23 17:17:47 +01:00
Oskari Lavinto 767871ff60 Translated using Weblate (Finnish)
Currently translated at 98.3% (478 of 486 strings)

Translation: Jellyfin Android/Jellyfin Android TV
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-android/jellyfin-androidtv/fi/
v0.13.0 v0.13.0-beta.6
2022-03-16 06:13:37 -04:00
Oskari Lavinto 8b46d3e126 Translated using Weblate (Finnish)
Currently translated at 55.7% (271 of 486 strings)

Translation: Jellyfin Android/Jellyfin Android TV
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-android/jellyfin-androidtv/fi/
2022-03-16 01:13:35 -04:00
cameron b723ddc250 wip fixes 2022-03-14 19:09:38 +01:00
cameron c721e37988 fixed next item being marked watched, fixed subtitles not clearing from prev episode 2022-03-14 19:09:12 +01:00
wolong gl e317ce3093 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (486 of 486 strings)

Translation: Jellyfin Android/Jellyfin Android TV
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-android/jellyfin-androidtv/zh_Hans/
2022-03-14 06:13:33 -04:00
Bill Thornton 0c435e4112 Merge pull request #1519 from nielsvanvelzen/change-user-while-listening-to-music-crash 2022-03-13 00:11:26 -05:00
Vardas 1ff9604151 Translated using Weblate (Lithuanian)
Currently translated at 15.8% (77 of 486 strings)

Translation: Jellyfin Android/Jellyfin Android TV
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-android/jellyfin-androidtv/lt/
2022-03-12 18:13:33 -05:00
Niels van Velzen 970d165b74 Fix app crash when switching users while music is playing 2022-03-12 21:49:18 +01:00
David Fairbrother 2af623ed13 Fix a potential crash in VideoManager with invalid speed
We should never hit this, unless someone is manually tweaking values in
the debugger.... but it still results in a hard crash as %d is for an
int, not a double.
2022-03-12 20:32:00 +01:00
Niels van Velzen 7e038334f8 Add ripple effect to DefaultCardView 2022-03-11 08:51:00 +01:00
Niels van Velzen dcd8486d6c Fix ripple effect on LegacyImageCardView overflowing 2022-03-11 08:51:00 +01:00
Niels van Velzen c26ffdfbfa Close ServerFragment when the server is removed from preferences 2022-03-11 08:50:38 +01:00
Niels van Velzen fac5a7d35e Hide "manage servers" in preferences when there are no servers 2022-03-11 08:50:38 +01:00
WWWesten 7bf1f9b38b Translated using Weblate (Russian)
Currently translated at 100.0% (486 of 486 strings)

Translation: Jellyfin Android/Jellyfin Android TV
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-android/jellyfin-androidtv/ru/
2022-03-10 06:13:31 -05:00