Comments (9)
The new release will contain the bugfix. Unfortunately my app was not released because google blocked it due to some false policy violation issue. It was resolved few days ago I hope that the app update will be available soon.
from tvhclient.
Hi, can you test this version? 2.4.7-235. (I had to remove the link here. google has rejected the release of the app in the playstore due to policy violations)
from tvhclient.
Hi @rsiebert, I was just typing a response that 2.4.7-234 has the same problem when I saw that you added a new version, 235. I tried it immediately and it works flawlessly! Thank you very much for fixing it! 👌
from tvhclient.
Ok, then I'll prepare a release.
from tvhclient.
Attaching a log. **EDIT: ** Removed old log file and uploaded a shorter one after starting fresh on the Android phone. Cast URL:s still malformed:
EDIT: Replaced log again. Previous log had confusing "myserver" -entries. I'm not sure where that came from, I'm certain I've canged the hostname correctly. The URLs were still malformed (save for the weird hostname). Changed the log snippet, too.
[C:ConvertHostnameToAddressTask] [M:invoke] [L:14] onPreExecute
[C:ExternalPlayerViewModel] [M:getServerUrl] [L:150] Original url was http://arkkiville:9981, converted url is http://org.tvheadend.tvhclient.ui.features.playback.external.ConvertHostnameToAddressTask@f4b826a:9981
[C:CastChannelActivity] [M:onTicketReceived] [L:51] Cast channel from server with url http://org.tvheadend.tvhclient.ui.features.playback.external.ConvertHostnameToAddressTask@f4b826a:9981/stream/channelid/1797598004?ticket=13f9200348fcf9af4ae071116d799ded4a11fe9e&profile=cast
[C:ConvertHostnameToAddressTask] [M:invoke] [L:16] doInBackground
(FWIW I can play locally on the phone running TVHClient ...)
tvhclient_2.4.6_234_25.05.2021 (8).log
from tvhclient.
I got the same behavior: it is really http://org.tvheadend.tvhclient.ui.features.playback.external.ConvertHostnameToAddressTask@f4b826a:9981/stream/cha...
the sent url?! It looks a bug in the conversion.
from tvhclient.
I'm also having trouble casting from inside the TVHClient app. Casting through VLC is working (see below). Full steps to reproduce:
- Open TVHClient
- Enable cast by selecting a cast destination (in my situation a Chromecast with AndroidTV called Woonkamer)
- The television is now showing the TVHClient cast screen
- Open a channel and hit Cast
- Now two things happens:
- TVHClient switches to the internal player which says "Casting to Woonkamer", this screen closes in about a second and TVHClient is back to the channel overview. There is no message displayed.
- The televion switches to a screen with play progress bar. This screen also closes in about a second without a message. It returns back to the TVHClient text.
- Message in the logs is like the ones shown above.
[C:ExternalPlayerViewModel$requestTicketFromServer] [M:handleResponse] [L:117] Received response for ticket request, path is /stream/channelid/1438758799, ticket is 4aed1846f6add468a01b8c563877aa1cc383bf9a
[C:BasePlaybackActivity$onCreate] [M:onChanged] [L:49] Received ticket true
[C:ExternalPlayerViewModel] [M:getServerUrl] [L:130] Convert hostname 192.168.1.50 to IP address
[C:ConvertHostnameToAddressTask] [M:invoke] [L:14] onPreExecute
[C:ConvertHostnameToAddressTask] [M:invoke] [L:16] [C:ExternalPlayerViewModel] [M:getServerUrl] [L:150] doInBackground
Original url was http://192.168.1.50:9981, converted url is http://org.tvheadend.tvhclient.ui.features.playback.external.ConvertHostnameToAddressTask@28decff:9981
[C:CastChannelActivity] [M:onTicketReceived] [L:51] Cast channel from server with url http://org.tvheadend.tvhclient.ui.features.playback.external.ConvertHostnameToAddressTask@28decff:9981/stream/channelid/1438758799?ticket=4aed1846f6add468a01b8c563877aa1cc383bf9a&profile=pass
[C:CastRemoteMediaClientCallback] [M:onSendingRemoteMediaRequest] [L:27] onSendingRemoteMediaRequest
[C:CastChannelActivity$onTicketReceived] [M:onSendingRemoteMediaRequest] [L:77] Sending remote media request
[C:ConvertHostnameToAddressTask] [M:invoke] [L:25] onPostExecute
I can confirm that casting is working and correctly setup by casting through VLC:
- Open TVHClient
- Open a channel and hit play, choose VLC as application
- The program now plays in VLC. Now hit cast to cast to the televion
- VLC is now sucesfully casting the channel to the televion.
Environment:
- Phone: Galaxy S10e
- Android version: 11
- TVHClient version: 2.4.6 (234)
- TVHeadend version: latest build from Git (
4.3.0~pre+202106121356-0~built202106130418~giteb59284b8~ubuntu20.04.1
as provided by the tvheadend-git PPA) - Playback URL: the problems happens when using an IP address and with a (globally) resolvable DNS name as plackback URL.
- Cast profile: pass, I can confirm this is working because it works when using cast through VLC. The Chromecast with AndroidTV does support H265 :).
@rsiebert Can we do anything to help you resolving this issue? I have a externally accesible TVHeadend installation if you need one :)
from tvhclient.
I took a little dive in the code and it looks like commit 21fe205 and 8349d31 don't play well together. In the ExternalPlayerViewModel the object hash of the ConvertHostnameToAddressTask instance is returned instead of the result of the executeAsyncTask. Unfortunately I don't have enough Kotlin experience to help you out with this problem, but maybe I can help you with testing when you found some time to fix this?
from tvhclient.
Version 2.4.7 was released a while ago.
from tvhclient.
Related Issues (20)
- Enabling Timer would reset time HOT 1
- Record notifications not working if app isn't active for a while HOT 3
- Negative time shown in the end time of the internal player
- Show date not day name in epg HOT 1
- External Player not recognized HOT 6
- Series recording not working. HOT 1
- Hamburger menu not shown, if start view changed
- TVHClient runs asynchronously to Tvheadend HOT 1
- Google Chromecast HOT 1
- Slow / lagging search UI HOT 3
- Chromecast TV support? HOT 1
- "Connected to server" is shown when server is offline
- Show date of recordings HOT 2
- HTTP authentication for every playback via VLC on Android 13
- Suggestion for improvement HOT 1
- Subpath not supported HOT 1
- Incorrect EPG HOT 3
- Can't install on Galaxy S21 FE
- TVHClient Signal SNR and AGC HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tvhclient.