yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ltGuillaume:
Could you exit the app via Options -> Exit and then create a logcat dump while 1) starting the app, 2) rotating the screen and 3) opening a few other views?
[Android Apps and Games] Listy2021:
Done, filtered the results to just Droidshows :good:
[Android Apps and Games] ltGuillaume:
So basically zero info on it. No idea what could help here. Please try the attached version (I ONLY applied something to the shows overview / main activity).
[Android Apps and Games] Listy2021:
Still the same sadly :(
[Android Apps and Games] ltGuillaume:
Been searching my ass off, no idea what could cause this :confused:
[Android Apps and Games] Listy2021:
I tried another TV app, Seriesguide, and this doesn't have the issue despite being similar

Obviously I'm not going to continue using that cos Droidshows is still amazing! But the source code for that could be helpful in figuring things out?

https://github.com/UweTrottmann/SeriesGuide

Many thanks as always my friend :highfive:
[Android Apps and Games] Ibuprophen:
I'm curious as to what the DPI (LCD Density) setting is on your device.

I'm not stating that this is the issue but, I have seen similar issues for other apps tied to this.

Just throwing out some ideas... :thumbup:

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle" AND Nickname for "My Ex-Wife"}.
[Android Apps and Games] ltGuillaume:
And have the devs of those apps been able to fix it? If so, I'd like to have a look at their source.

Similarly, if you or [MENTION=4463695]Listy2021[/MENTION] are able to find relevant topics on Stackoverflow, XDA etc. I'd like to hear. Currently, I don't know how I should find the answer, so any help is appreciated.

The things I could come up with I already compiled in those two test versions, apart from using a newer SDK to compile it with. I'll do that later on, but I have no evidence of this resolving anything.
[Android Apps and Games] Listy2021:
DPI is 403

I'll have a look around the net on Tuesday afternoon and Wednesday regarding the issue, but I'm at work all day tomorrow unfortunately :rolleyes:
[Android Apps and Games] Listy2021:
Just a thought, while I'm scrolling through some googling, could the issue be related to the fact that the Mix 3 has no hardware buttons?

I've seen a couple of references to people mentioning menu bars and then came across this article that shows a menu bar above a software nav bar

https://stackoverflow.com/questions/22462401/android-custom-menu-bar-icon-stretched

EDIT: Also there was this snippet of info from another forum post "That bar appears because the app is looking for a menu button on the phone that isn't there"
[Android Apps and Games] ltGuillaume:
This guy https://stackoverflow.com/questions/22462401/android-custom-menu-bar-icon-stretched is just using his own LinearLayout with some buttons put on and calls it a menu bar. He's complaining about the width of one of his buttons, so it doesn't have anything to do with our problem.

As for the quote: the only menu bar that I'm using is showing up perfectly fine in your screenshot. And I'm not looking for a hardware menu button anywhere... I can't find the quote by searching, so I don't know what he's on about without more context :P
[Android Apps and Games] Listy2021:
Ah well, was worth a shot I guess :silly:

Was there not any useful stuff in the Seriesguide Github repo I linked to?

EDIT: One thing I have noticed about the black bar is that shows, etc scroll perfectly behind it and the last item does not cut off etc (as if the app thinks the top of the black bar is the bottom of the screen rather than use the whole length of the display)
[Android Apps and Games] Listy2021:
EDIT: Found and fixed what was causing the problem!

Arrow OS has an odd little compatibility menu item tucked away in the settings that controls how much of the screen apps not designed for larger aspect ratios (such as 18:9, or 19.5:9 like my Mix 3) can use

The default is 1.86 for god knows what reason, setting it to infinite makes use of the whole display and the black bar is gone!

I'm sorry for wasting your time with this issue my friend :(

Related article: https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html
[Android Apps and Games] ltGuillaume:
Aah yes, I found something somilar yesterday, but concerning a Samsung device. Wanted to ask if there was something like that for your device, too, but you beat me to it :) Good to know it's working now!

Cheers!
[Android Apps and Games] ltGuillaume:
Bugfix release v7.9.5

Add context menu item for Seasons in Log mode

Add plural for 'to be aired' (thx m1ga)

Fixed a problem with duplicated thumbnails on updating all shows while the listView was reordering its shows asynchronously (e.g. when restoring)

Download here
[Android Apps and Games] ltGuillaume:
7.9.6

Fixed issue with progress indicator on restore (thx casperklein)

Fixed issue with reloading shows after restore (thx casperklein)

Download here
[Android Apps and Games] ltGuillaume:
v7.9.7

Updating via pull-to-refresh sometimes wouldn't work after the 1st time (thx for reporting, [MENTION=4828250]Ibuprophen[/MENTION]1)

Overscroll wouldn't always snap back when aborting pull-to-refresh

Download here
[Android Apps and Games] ltGuillaume:
v7.9.9

Added (+) "Add new show" button to Search field (search for show, if isn't added yet, click + button to add it right away)

Allow short (non-URL) entries in external resources (e.g. the name of the guy/gal who forced you into watching that show)

Added simple check to prevent "Update all shows" from being triggered multiple times.

Restored behavior: update current AND archived shows after clicking "Search"

Added tip for adding calendar items

Improved external resources examples

Updated German (thx [MENTION=4301676]casperk[/MENTION])

Download here

TRANSLATIONS OF STRINGS NEEDED (French, Italian, Spanish, Russian):

- "Tap date to add to calendar"

TRANSLATIONS OF STRINGS NEEDED (French, Russian):

- "Filter shows"

- "Pull down list to update shows"

- "Mark next episode starting from the most recently watched"
[Android Apps and Games] Ibuprophen:
[MENTION=2664981]ltGuillaume[/MENTION], the app crashes upon updating the shows by pulling down and by using the menu option.

I then uninstalled the app, reinstalled and, when I selected to restore the backup, it crashed again.

It's a little late tonight but, I'll provide a logcat and, if needed, a screen recording of it.

Thanks a Bunch! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Apps and Games] ltGuillaume:
Thanks for reporting, I should've checked that last minute adjustment first.

Updated version: https://xdaforums.com/attachment.php?attachmentid=4813049
[Android Apps and Games] Ibuprophen:
That one works excellently!

I do appreciate your time, patience, understanding and especially your prompt and continued support for this development! :D

If I run into anything else, I'll definitely let you know (likely within Github for any big issues).

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Apps and Games] ltGuillaume:
WARNING: TheTVDB.com has f*cked up their API

The current migration to V3 is screwing up a lot of data DroidShows tries to get. Expect empty show info, no IMDb ratings per episode and more ****e when you update.

At least enable the option Update show's latest season only until this is resolved. This will at least keep the show info and all but the last season's info intact.
[Android Apps and Games] ltGuillaume:
Adding new shows is also impossible, since the show info does not include the show's id and name anymore. You'll get an empty show name, with only the actors as info and the episodes are added without IMDB ratings.
[Android Apps and Games] ltGuillaume:
Most issues seem to have been resolved.
[Android Apps and Games] Howlin1:
I'm having some issues with the season order, it isn't always showing specials at the top. For example for Rick and Morty it shows Season 1, Specials, Season 2, Season 3, Season 4.

I have deleted that show and re-added it but it is still showing like that. Nothing too major but a slight annoyance.
[Android Apps and Games] ltGuillaume:
You're right. This is also a new issue created by the API changes at TheTVDb.com. This will help, though: https://xdaforums.com/attachment.php?attachmentid=4889061
[Android Apps and Games] Howlin1:
Sorry something else I just noticed. If a tv show has more than 9 seasons it will appear out of order. It will show

Season 1

Season 10

Season 11

Season 2

Etc
[Android Apps and Games] ltGuillaume:
You're right. As a remnant of DroidSeries, apparently the season number is saved as a string into the database. This causes a simple ascending sort to give these results (e.g. 1, 10 11, 2).

Please try this version.
[Android Apps and Games] ltGuillaume:
v7.9.10

Removed maxSdkVersion to support Android 10

android:resizeableActivity="true" should remove letterbox on 21:9 screens

Changed versionCode format

Properly sort seasons instead of 1,10,2,20 (TheTVDB API bug)

Use AsyncTask for adding shows

https://xdaforums.com/attachment.php?attachmentid=4927539
[Android Apps and Games] Listy2021:
Getting "Error connecting to TheTVDB. Try again" notifications when trying to update shows (also happens on the mirror) :confused:
[Android Apps and Games] ltGuillaume:
https://github.com/ltGuillaume/DroidShows/issues/84
[Android Apps and Games] ltGuillaume:
7.9.11

Prevented loading shows twice on start-up due to spinner.setOnItemSelectedListener. This caused flickering of the list.

Improved use of notifyDataChanged to speed up list changes

Used similar procedure to fetch posters when adding shows and when updating shows. This may solve the issue that the poster didn't show up when adding a new show.
[Android Apps and Games] ltGuillaume:
Latest changes v7.10.0

Add time picker dialog for seen timestamp

Fixed listView not resetting to top when switching between current/archive/log

Download
[Android Apps and Games] ltGuillaume:
v7.10.1

Add long-press on checkbox to change seen timestamp (as in episode details) to episodes overview

Improve gesture detection for Mark episode as seen

Fixed a crash when adding a new show without a poster (no idea how that return; statement got lost)

Refactor (messsages_edit_)seen_date (messsages_edit_)seen_timestamp and seendate to seenTimestamp

Download
[Android Apps and Games] ltGuillaume:
Latest changes v7.10.2

Fixed: touching the right edge of the screen triggered onBackPressed() when the user didn't scroll yet

Fixed: onBackPressed() could be triggered twice

Improved mark next episode gesture detection (don't scroll vertically during gesture)

Download
[Android Apps and Games] ltGuillaume:
Latest changes v7.11.0

Preliminary statistics: per-show total seen time (calculated with the average episode runtime)

Bring back "Include/Exclude seen" option in main menu (faster than "Filter shows")

Make versioning of backups optional

Fix daily backups trigger by disabling write-ahead logging for database (which is enabled by default since Android 9)

Trigger automatic backup in onStop() instead of onDestroy(), since the activity could apparently stay opened for days and backups would not be created

Changed HttpURLConnection to HttpsURLConnection (#89)

External resources: add https:// to URLs without :// instead of http://

Refactoring: renamed some methods, same name for per-show and per-season methods

Download
[Android Apps and Games] ltGuillaume:
Latest changes v7.11.1

Decrease pull-to-refresh delay from 1000 to 500ms

Instead of crashing, show an error toast if no Calendar app was found

Don't restart activity when rotating

Download
[Android Apps and Games] ltGuillaume:
Latest changes v7.11.2

Don't reload search results after adding a show

Possibly prevent delays in main and seasons activities by making AsyncTasks static

Download
[Android Apps and Games] jmichael2497:
after a quick search in this xda thread and your github, i don't see any mention of using alternate season order provided at tvdb like "dvd order" or "absolute order".

at a glance it looks like "dvd order" would be the most useful to correct for episodes aired out of intended order due to production delays, or management ratings interference attempts, leading to a continuity issues or lesser viewing experience.

examples include

air ooo https://www.thetvdb.com/series/star-trek/seasons/official/1

dvd intended https://www.thetvdb.com/series/star-trek/seasons/dvd/1

air ooo https://www.thetvdb.com/series/firefly/seasons/official/1

dvd intended https://www.thetvdb.com/series/firefly/seasons/dvd/1

air ooo https://www.thetvdb.com/series/steven-universe/seasons/official/1

dvd intended https://www.thetvdb.com/series/steven-universe/seasons/dvd/1

hopefully you have better luck than i did looking for open source app code examples on how this works, and it seems like plex and kodi went with a toggle to choose preference of air vs dvd order.

thanks for keeping a useful open source offline app going, so we don't have to rely on signing up for yet another data mining profile service to do the show tracking for us.
[Android Apps and Games] ltGuillaume:
Ok, the DVD ep/season numbers are already in the database, so I guess I can do that.

The way I see it now, I'll either create another context menu item for a show in order to switch between DVD order and Airdates order, so you can set it per show. Would that be OK? The seen state should not be affected by reordering, so I'll have to make some changes to the update process, too.
[Android Apps and Games] jmichael2497:
that would be great 😀 whatever you think is easiest, because it might a bit challenging to have a title level toggle between air vs dvd order, if you want to preserve data (the fun of databases and keys 🤓).

at worst could just have the disclaimer of switching between air vs dvd for a title would reset that title... or maybe a second title entry for dvd order and users can manually copy status themselves? 🤷🏽‍♂️

i don't want to add too much complication for you or other users 😅
[Android Apps and Games] ltGuillaume:
It's mostly done, but I basically needed to rewrite every method involving database operations. So evidently, there are still some bugs to squash. Hang in there.
[Android Apps and Games] Listy2021:
Wishing you a happy new year tomorrow my friend, hope you're well (y)

DroidShows still working great btw, still use it every day!
[Android Apps and Games] ltGuillaume:
Hey @Listy2021 thanks, Happy New Year to you, too!
[Android Apps and Games] ltGuillaume:
7.11.4​

Fix URLs when searching on external sources websites (e.g. IMDb) for episode/show with an ampersand in it (#109)

7.11.3​

Fix keyboard not popping up in Android 12+ (#38)
[Android Apps and Games] Listy2021:
Haven't checked in to XDA for a while, belated Merry Christmas wishes to you ltGuillaume. Hope you had a good one matey 👍🏻
[Android Apps and Games] ltGuillaume:
Same here tbh! Same to you, and Happy New Year in advance :P
[Android Apps and Games] jmichael2497:
noticed the other F-Droid listed app Episodes has recently switched from TVDB to TMDB and not sure if this is license or api change related, but some shows recently updated in the last few days with TVDB have gotten corrupted.

during 5/12 manual refresh of a season starting up that day ended up with quadrupled episodes in app.

testing some mini series in open source android apps DroidShows and Episodes (prior to TMDB switch) found (and still same results 24hrs later as i post this):

* 281643 Over The Garden Wall last modified 4/27

added okay, showing all 10eps, still okay after manual refresh.

* 362392 WandaVision last modified 5/10

add or update now only lists final eps 7,8,9 (but looks okay in TVDB web).
[Android Apps and Games] ltGuillaume:
I'm not going to migrate to another API. If the APIv1 from TheTVDB stops working, this app is dead. But there is a fork already (with a lot of rewritten code, too) that does the migration to TMDB: https://github.com/warren-bank/Android-Tiny-Television-Time-Tracker/

Quadrupled episodes are only possible if the API delivers those episode 4 times: upon updating a season, DroidShows first saves your seen dates, then clears the season and recreates it with the new data from TheTVDB, then reapplies the seen dates. This is no more than a workaround, necessary because the unique ID's of the episodes on TheTVDB sometimes changed and you would get doubled episodes.

Unfortunately I can't mitigate bugs in the API itself that result in incomplete seasons, or missing artwork (another recent issue we've come across).
[Android Apps and Games] ltGuillaume:
@jmichael2497 I just checked the output of the API and it is indeed completely broken for some shows: tripled episodes, complete seasons missing, only the last x episodes of the last season, all that stuff.

I can't find anything about it online, though. Then again, they closed down their forums years ago, so it's hard to find any useful info these days.

As said, you may want to switch to https://github.com/warren-bank/Android-Tiny-Television-Time-Tracker/ (which uses TMDB) and import the DroidShows database. Please note that the migration process is the most sluggish thing I've ever seen and I'm rather scared for my NAND during this process.
[Android Apps and Games] jmichael2497:
thanks for the fast reply and checking. i also failed to find anyone else discussing this, even with manual reddit search, and issue pages for apps.

i did test out multiple versions of that fork you linked, but it won't restore watch status, did it work for you?

even after removing one foreign miniseries from archive it complained about, leaving 90 series, and just under 5MB db, takes about 15min (leaving screen on so it doesn't quit) and only imports shows.

i sampled from v4 where it switched to its own unique name not trying to install over DroidShows and few around there, then v18 (and latest is v22 from a few months ago).

i filed a restore missing watch status issue on their github, and hope it is working in the next month, since i don't want to corrupt more than the 1 ongoing series (today's test now removed prior seasons and current season openers)...

otherwise i'll manually set view status in fork app to use it (tedious, but this app still has most efficient design compared to several others tested from F-Droid and Izzy repo)

ah, the challenges of choosing self management over data mining 3rd party cloud simplicity.
[Android Apps and Games] ltGuillaume:
Ouch I really thought that worked, but it's been a while since I tested it.

Yeah, I'm very afraid to update now, too. Big bummer. We might get an answer from TheTVDB via support.thetvdb.com, but pretty sure we're not gonna like it.
[Android Apps and Games] jmichael2497:
edit:nvm, TVDB v1 API still broken, after full refresh many other shows broken and missing earlier or random seasons!

(though my most messed up show even restored earlier watched dates after the earlier seasons came back with latest season and extras quadrupled again!

however F-Droid Episodes v15.1 still using TVDB v1 API appears to do some cleanup since it doesn't show quadrupled entries, just same missing entries)

and now i've learned DroidShows restore behavior forces refresh, so damages all data all over again... unless workaround with restore done while offline (but then missing uncached cover art)... and also doesn't like files that have been renamed for better description while preserving extension.
[Android Apps and Games] ltGuillaume:
@jmichael2497 @Ibuprophen

I just got word from TheTVDB devs that these issues should now be resolved.

Some of the corrupt data may still be cached on their servers, so if you update in 1-2 days, not right now, it should all be working again.
[Android Apps and Games] jmichael2497:
made sure to backup first, among specific mainstream found:

* one of the shows got the skipped seasons to show up again

* one of the shows with quadrupled episodes is fixed

* another show with quadrupled episodes is now just tripled

so will test again later in the week.

note that the option of only refresh latest season limits duplication damage to latest couple of seasons and specials for the affected shows, rather than all seasons.

trying to delete any one of the duplicate entries and backing out will delete all instances of that episode (meanwhile Episodes v15.1 app filters out duplicate creation from TVDB)
[Android Apps and Games] jmichael2497:
btw meant to post yesterday but all my shows look correct again, so seems safe to refresh all.
[Android Apps and Games] ltGuillaume:
Yep, same here.
[Android Apps and Games] jmichael2497:
fyi backup now before attempting to refresh, had to restore my 12/30 backup because noticed one of my series was broken the same as last time. i guess time to check status of fork again.

edit: nevermind, after refreshing and spot checks of the others that had trouble last time... it looks like season number labeling conflict of opinions only 70% done by recent editor of single series at TVDB

(TMDB is similarly partly done but in different way, and only TVmaze is fully labeled to finish the thought)
[Android Apps and Games] ltGuillaume:
Beta version, rewrote lotsa stuff to learn more about Android ****e and to improve performance and "increase code elegance" :D

Edit: removed
[Android Apps and Games] ltGuillaume:
3.90:

View full-size poster and fan art in show overview

Added total number of episodes per season

Seasons lists not static anymore

Added DatabaseUtils.sqlEscapeString()'s where necessary

If status is unknown, don't show stupid "null"

Using parallel AsyncTask for updates of show & season updates

Put SQL statements for Show & Episode Overview into own activity (no more putExtra hell)

SerieEpisodes RelativeLayout to LinearLayout; SerieEpisodes setOnClickListener => android:onClick in XML

Removed and reordered some SQL clauses for (theoretical) performance

Some more decent names for variables

http://xdaforums.com/attachment.php?attachmentid=3204100&d=1426019164
[Android Apps and Games] Penacal:
Great update [MENTION=2664981]ltGuillaume[/MENTION], total number of episodes per season is very useful ?
[Android Apps and Games] ltGuillaume:
Thx :)

...and with new methods to do stuff come new bugs of course :P So, silent update of 3.90: http://xdaforums.com/attachment.php?attachmentid=3204100&d=1426019164

This little update starts a bit faster on slower devices, too.
[Android Apps and Games] ltGuillaume:
Ok, unless you find a serious bug, I'm not gonna put out so many updates anymore and let you breathe for a while ;)

3.91: Update routine for new poster thumbnail size (so ALL posters will have the new size after a slow first start of this version :p). If you're short on MB's in your data plan, it's not that much to download the 680x1000px posters, but maybe you wanna be on Wi-Fi before updating. Just sayin'.

http://xdaforums.com/attachment.php?attachmentid=3205303&d=1426083873

Edit: a bug in Android's BitmapFactory.decodeStream() method popped up on Android versions > GB when you were on a slow connection. Should be ok now (re-download).
[Android Apps and Games] Penacal:
deleted:o, just saw the edit.
[Android Apps and Games] ltGuillaume:
Could you plz have a look at the dates of the poster thumbnails in /data/data/org.droidseries/files/thumbs/banners/posters (stupid folder, I know, but it's legacy :p) for me? :D They should all be of the first time you started the latest version now :)
[Android Apps and Games] Penacal:
[MENTION=2664981]ltGuillaume[/MENTION], does this help? I see different dates.