Commit graph

6015 commits

Author SHA1 Message Date
tibbi
2476b97452 properly launch the main activity on first app use 2020-01-28 18:51:28 +01:00
tibbi
61ded74c06 update commons to 5.21.28 2020-01-28 18:45:22 +01:00
Tibor Kaputa
f933296a65
Merge pull request #1728 from ForgottenUmbrella/seamless
Loop videos without gaps between playback
2020-01-28 17:06:24 +01:00
ForgottenUmbrella
9877cbaf2c Remove unreachable branches in video completion handling
It is never the case that `loopVideos == true` in the `videoCompleted` handler,
since enabling that preference sets `repeatMode`, which in turn prevents the
player from reaching `STATE_ENDED`. Thus, the branches are unreachable.
2020-01-29 01:52:44 +11:00
ForgottenUmbrella
e83db406a9 Reset progress views on video loop
The previous loop method of seeking to the beginning at video completion ensured
that the seekbar and current time text were immediately reset. Using ExoPlayer's
own implementation of video looping means that `Player.STATE_ENDED` is no longer
reached, thus the UI no longer accurately tracks progress. Restore the old
behaviour by resetting the views on position discontinuity.
2020-01-29 01:52:44 +11:00
ForgottenUmbrella
f8315438d8 Let ExoPlayer handle video looping seamlessly
Now that videos are replacing the inefficient GIF format, gapless loops are
important. ExoPlayer's built-in mechanism prebuffers the video to enable this,
whereas the current implementation of seeking to the start presents a short but
noticeable delay between each loop.

Note that this change introduces an incompatibility with current behaviour: due
to google/ExoPlayer#6459, certain videos with broken audio tracks that played
fine before will no longer start. Disabling the audio track is a workaround to
re-enable looping playback, but ExoPlayer does not appear to expose a way to
check if the audio track is short enough to produce the bug.
2020-01-29 01:52:44 +11:00
tibbi
035d0363e3 fix #1723, recognize panoramic photos by a new xml tag too 2020-01-27 23:15:47 +01:00
tibbi
3e7f99fc01 fix #1725, properly remember last video playback position, if paused 2020-01-27 23:04:18 +01:00
tibbi
f4c02d1168 fix #1545, properly sort Favorites by date taken 2020-01-27 21:22:10 +01:00
tibbi
650a985a9c make the Date Taken from Fix Date Taken value be higher priority than mediastore 2020-01-27 21:05:05 +01:00
tibbi
2517170aeb store the fixed Date Taken values in the new table 2020-01-27 20:48:37 +01:00
tibbi
665690c819 removing an unused debug function 2020-01-27 20:34:59 +01:00
tibbi
817229a697 lets set wereFavoritesMigrated earlier to avoid some crashlooping 2020-01-27 17:22:16 +01:00
tibbi
409be79489 migrate favorites in the new table on app upgrade 2020-01-27 15:17:46 +01:00
tibbi
9d2239d1c1 really clear all Favorites at deleting the given folder 2020-01-27 15:05:17 +01:00
tibbi
7b1dfb7318 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery 2020-01-27 14:47:38 +01:00
tibbi
86db0b8f19 fix unselecting invalid favorite items 2020-01-27 14:47:17 +01:00
Tibor Kaputa
58ccebf260
Merge pull request #1727 from AioiLight/master
Japanese translation
2020-01-26 22:14:31 +01:00
tibbi
4d7e95d72a shortening the czech app title 2020-01-26 19:18:43 +01:00
tibbi
9e702ce593 adding czech fastlane app data 2020-01-26 19:18:33 +01:00
Tibor Kaputa
1e625ec420
Merge pull request #1726 from herkul-s/patch-1
updating czech strings
2020-01-26 19:14:47 +01:00
AioiLight
1c2d23c57d fix escape missing 2020-01-26 19:05:20 +09:00
AioiLight
76571aab9a updating Japanese translation(some strings) 2020-01-26 18:31:49 +09:00
AioiLight
fef507e16d updating Japanese translation(New editor strings) 2020-01-26 17:56:16 +09:00
AioiLight
ea187e117e updating the app description from original language 2020-01-26 17:22:52 +09:00
herkul-s
9607348b50
updating czech strings 2020-01-25 18:43:41 +01:00
tibbi
29a521d107 update Favorite too at updating a medium 2020-01-25 11:50:09 +01:00
tibbi
e578036a22 delete favorites at deleting media 2020-01-25 11:11:23 +01:00
tibbi
3ca8e685b8 shortening some code related to getting DAOs 2020-01-25 10:56:08 +01:00
tibbi
b9369139f1 renaming some DAO to Dao 2020-01-25 09:51:28 +01:00
tibbi
61c4db155d removing the favorite paths getting function from MediumDao 2020-01-25 09:39:56 +01:00
tibbi
a7b7881d73 moving the favorite toggling function into FavoritesDao 2020-01-25 09:34:33 +01:00
tibbi
fb0badeca5 adding a few more favorites related queries 2020-01-24 23:29:03 +01:00
tibbi
b867d2a2eb at deleting a file path from db, delete it from favorites too 2020-01-24 23:10:40 +01:00
tibbi
56d721b68a moving the isFavorite function at FavoritesDAO 2020-01-24 22:47:42 +01:00
tibbi
4e2380f13a updating changelog 2020-01-19 10:51:44 +01:00
tibbi
e93eade241 update version to 6.11.8 2020-01-19 10:51:36 +01:00
tibbi
6b95c58559 try flipping some migration lines to avoid working on nonexistent tables 2020-01-18 23:29:03 +01:00
tibbi
89790ebdfe reverting Glide back to 4.10.0 2020-01-18 23:27:40 +01:00
tibbi
db02c732cc Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery 2020-01-18 19:06:19 +01:00
tibbi
90b4ab470d limit the file loading settings item label length to avoid some glitches 2020-01-18 19:06:08 +01:00
solokot
09363d428e
Merge pull request #64 from SimpleMobileTools/master
upd
2020-01-17 14:34:05 +03:00
Tibor Kaputa
eab0af408d
Update README.md 2020-01-16 23:38:38 +01:00
tibbi
38c01fd6c0 updating changelog 2020-01-16 23:29:24 +01:00
tibbi
4c080a5119 update version to 6.11.7 2020-01-16 23:29:18 +01:00
tibbi
55f55624c7 moving Nepali strings from np to ne 2020-01-16 23:29:11 +01:00
tibbi
659b808a42 update commons to 5.21.24 2020-01-16 23:16:12 +01:00
tibbi
69c56e6983 updating the russian app short desc 2020-01-16 22:06:59 +01:00
Tibor Kaputa
4edc40de22
Merge pull request #1721 from solokot/master
Updated Russian language
2020-01-16 22:06:33 +01:00
solokot
6131c7fb5d
Updated Russian language 2020-01-16 23:38:45 +03:00