rsiebert / TVHClient

An Android client for TVHeadend using the HTSP protocol
GNU General Public License v3.0
162 stars 67 forks source link

Program-Icons are not displayed #433

Closed Niklas04 closed 5 years ago

Niklas04 commented 5 years ago

Having the problem that the program-icons aren't displayed. The issue occured since one of the last updates

Using: LibreELEC 9.0.1 Tvheadend 4.2.7-44

TVHClient-App 2.2.2 Android 9 (tested also with 8.1.0)

rsiebert commented 5 years ago

Please try the new version 2.2.4-159 and send me the debug log. Then I can investige whats going on.

Niklas04 commented 5 years ago

Thanks, I installed version 2.2.4-159. I cleared the database and pressed 'Reconnect', to force the symbols to download.

tvhclient_2.2.4_159_22.03.2019.log

brimur commented 5 years ago

It may be unrelated but I see this issue also for all non admin users. If I login as a non admin I get no icons in the app but if I login as an admin I get the icons

rsiebert commented 5 years ago

Can you try the testversion 2.2.4-160

brimur commented 5 years ago

With 2.2.4-160 installed this is what I see... The only difference from previous versions is that text now appears instead of the picon. Also, I had debug enabled on the TVH server and there were no error messages.

image

Niklas04 commented 5 years ago

With new version 2.2.4-160, I see this:

@brimur How can I login as Admin? In the Tvheadend settings, I have the default-"user" ("*") with access to the Web-Interface and admin-permissions. Do I have to set some other settings? Even a new user with admin permissions and password don't lead to the same result as you posted

brimur commented 5 years ago

@Niklas04 My default user (*) is disabled and does not have admin privileges. I created an account called Admin and ticked the Admin checkbox and created a password for that account. I also created a non-admin account, also with a password. I am using server version 4.3-1774

rsiebert commented 5 years ago

Is this admin / regular user a permission issue by the server,? Admin is allowed to read the files in the icon path and the regular user not?

If only the channel name is displayed it means that the icon could not be loaded.

brimur commented 5 years ago

I think it is a bug and I might have figured it out. You need to grant HTSP rights under Users > access Entries -> Video Recorder tab to access the picons.

image

image

Niklas04 commented 5 years ago

I now figured out the problem. Somehow my Icons got messed up. Don't know how this happened, but I deleted all Icons and replaced them with new ones. Now the Program-Icons are displayed in TVHClient-App with Admin- and Non-Admin-User (with HTSP rights).

Thank you for your help!