theothernt / AerialViews

A screensaver for Android TV devices including Nvidia Shield, Fire TV, and Chromecast with Google TV. Inspired by Apple TV's video screensaver.
GNU General Public License v3.0
415 stars 32 forks source link

Option to not add spaces before and after dashes? #107

Closed wrybread closed 9 months ago

wrybread commented 1 year ago

I use Aerial Views to display my drone footage, and the files have names like "2023-05-17-0931 - Up in the Clouds.MP4". When playing in Aerial Views the spaces make the date in the title confusing to read, like "2023 - 05 - 17 - 0931 - Up in the Clouds". Would it be possible to add an option to not modify the filenames? Or maybe the ability already exists and I haven't found it?

And thanks again for the great work.

theothernt commented 1 year ago

Try disabling the Settings > Appearance > Use filename as location ?

wrybread commented 1 year ago

The problem is then the filename isn't displayed. I like having the filename displayed since it tells the date of the flight and where the flight happened. In other words I do want the location, I just don't want Aerial Views to change its format, if possible.

In other words, would be nice to have a preferences value to make the string replace in line 90 of FileHelper.kt optional:

location = location.replace("-", ".-.")

theothernt commented 1 year ago

Oh ok, understood. Let me have a think about how I can change the options menu...

  1. Disabled (don't show location based on filename)
  2. Use formatting (country-some.place.mp4)
  3. Show filename as-is.
wrybread commented 1 year ago
  1. Show filename as-is.

That would be great. Ideally it would omit the file extension as it does now.

theothernt commented 1 year ago

v1.5 has just been released but it's likely the improvement mentioned above will be in the next release, assuming no major issues!

theothernt commented 10 months ago

If you have time, here is (link removed) which features the options discussed above.

I'm hoping to have this released in the next week or so.

theothernt commented 9 months ago

This update is now live in the Play Store and Amazon Appstore.