Code Monkey home page Code Monkey logo

f1appletv's Introduction

F1A-TV

This app is unofficial and is not associated in any way with the Formula 1 companies. F1, FORMULA ONE, FORMULA 1, FIA FORMULA ONE WORLD CHAMPIONSHIP, GRAND PRIX and related marks are trade marks of Formula One Licensing B.V.

Requirements

  • Your AppleTV must be running tvOS 14.0 or higher

Installation - TestFlight (Recommended)

  • Go to the AppStore on your AppleTV & iPhone and search for "TestFlight" and install it
  • Open this link with your iPhone and Accept the invite (https://testflight.apple.com/join/NRswe1IZ)
  • Open TestFlight on your AppleTV and download the App from there

Installation - Build it yourself

Acknowledgements

If you like my work and feel the need to give something back, my programmer brain can always use some caffeine :)

BuyMeACoffee

Multi-Feed Player Tutorial

Screenshots

f1appletv's People

Contributors

amyreese avatar grork avatar kylemilloy avatar michellopez avatar noahfetz avatar priyantha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

f1appletv's Issues

Screensaver starts while watching replays

While watching a replay video (in this case 2021 Belgian Grand Prix F1 FP1), the Apple TV image slideshow screensaver activates after 10 minutes (the time I have set) as if the device was idle and not playing a video.

Audio is still playing in the background behind the screensaver so the video playback does not pause.

I can simply press the menu button to make the screensaver go away and the video comes back (no pause or interruption).

I'm about to watch FP2 and will report back to share if this also happens with live broadcasts.

Livestream suddenly buffering very often

During this weekend's live sessions, I noticed that the stream buffers for a few milliseconds once or twice per minute. During that time, audio cuts out and the video feed sometimes slightly jumps in time. Also the player-controls appear on screen. This does not happen when using the official app or the website, even when running multiple streams at the same time, so I'm quite sure that this has nothing to do with my internet connection.
I never had this issue before, so I think it might have something to do with the DRM fix? #55

IMG_1285.mov

Bandwidth usage as reported by my router:
image

Can’t start content / streams

Version 1.0 (21.325.6)

I can’t start any content, documentaries or streams anymore.

Clicking on a tile/button does not start the stream.

Can't start Replay of the full race (Quali, Practice)

I have an account at F1 tv and logged in the app. But when I try to open the replay of recent Race it does nothing.
I checked if I try to open it in the native iOS app - it works - the content is already available for me.

p.s. thank you for such a great app.

Seasons only shows the past 4 years

Probably a result of the way the new layout on the web page works, but the "Seasons" selection only shows 2021, 2020, 2019 and 2018. (Past season archives in the https://f1tv.formula1.com/page/493/archive page are grouped in later rows).

It is possible to find past season races via the on-demand listing of "Full Races", but when going back and trying to watch things like "All races from 2010 to present", having the season groupings would be nice.

By no means a showstopper, just an enhancement request if you feel like it. Thanks again for the fantastic app!

Default audio seems to be German

I'm a Dutch user and when I start a stream the audio defaults to German instead of Dutch.
It would be nice if it defaults to your language if available and even better if a use can set a default language.

Not possible to log in.

I’m getting an error that it is not possible to log in. I have a payed account on F1.

Thank you!

Stuck on menu bar control when trying to select opened channels.

Sorry for the bad title.

Sometimes, when coming back to my opened channel view, I'm unable to move the red outline from channel to channel, and instead it will only open the select channel list. If I press menu on the remote, it will leave the app.

Maybe I'm missing something but I believe that's a bug.

Thank you for this amazing app!

Live F2 Practice does not load

Cannot load the F2 Practice when trying to view the live broadcast. It does show up in the list, but clicking it does nothing.

Samsung Tizen Smart Hub support?

Hi there,

Any chance you could / intend to create an app to support Samsung Smart TV's? (Tizen app store)

Based on the released info this isn't being considered for an app in the near future, so would be bound to chromecast..

Thanks in advance for your return.

Best regards

Login Errors

Getting a few reports on Reddit that there are login errors, even after yesterday's update.

I'll see if I can gather any info.

Network timeouts cause stream to reset to the latest (live) moment in real time, when you're watching it delayed a few minutes.

This morning I was late to sit down to watch the race, and when I started the Race, it was 5 or 6 laps in...

No problem... I hit "rewind", and started from the beginning.

Over the course of the 66 laps, at multiple times the feed stalled ... either my network, or the internet as a whole... who knows...

BUT, instead of pausing, and waiting to buffer, the stream jumped to the latest available time stamp (the live feed), and was stalled there as well.

This forced me to pause, and rewind again, back to where ever I was in the race...

Feature Request / Bug Fix:
When the network stalls out, make sure the feed doesn't reset to the LIVE time stamp (jump to realtime), if a person is watching the race delayed, WHILE its going on.

This has never happened in the past, because usually I'm watching the race later in the day, well after its over.

Thank you for a fantastic app!

Live streams are not working

The streams of the current day (Friday practice) are not working. The red "x" is displayed directly at start of the stream. Older streams like the pre-season tests 2022 or shows work without any problems. In the officiell app the streams of the current day work perfectly.

Edit: Only the live streams and streams shortly after a live broadcast seem to be affected.

No longer able to pause stream

Updated to the latest version on TestFlight today. When streaming, I'm unable to pause the stream. This is the case using AppleTV remote, iOS remote and third party remote. Used those same remotes with F1 official and stream pauses correctly.

Edit: Sorry, a reboot was all that was needed to fix. No issues.

Avoid Race Day Spoilers

SUGGESTION: A way for app to not show information once a race has started. Basically the user has two choices after a race has begun: 1) Bypass race advisement and view app as usual, or 2) choose to watch the completed race.

A possible third option would be to watch a race already in progress. This could be part of the first option though.

I know the official app did something similar and was hoping your awesome app could do the same thing for those of us that can't watch the race until after it is done. Thank you!

Commentary track unavailable on some early 2018 races

App Version: 21.503.19
tvOS: 14.6

When playing Australia (F1 fixed this one) & China 2018 it’s not possible to play the commentary track (“English”), and instead only the sound effects track is available. Of note, there are two “English” items, and nothing seems to change when switching between duplicated English audio tracks. (Compared to normally where there is a brief moment of silence as the track switches). Driver feeds seem to have three english items, which seems to only be the driver audio.

Of note, the same races in the F1TV Web & iOS app do correctly list the English & FX tracks correctly, although the mix is wrong, and the “english” is only commentary — no race sound (That obviously is not an app issue).

[Edited to add 'not' at the every end there]

Saving watch state for videos

While I'm aware this might be a slightly niche feature.

I'd love if the app could save the current watch-state for videos – there are times I rewatch races, but can't watch from start to finish, so a Continue watching segment on the home screen of the app would be absolutely amazing.

Unable to build due to missing SkeletonView package

Upon cloning the repo, opening in Xcode, and building there is a build error that SkeletonView can’t be found. Upon adding a reference to the package, there are a number of errors about being unable to find the framework package despite it being listed in frameworks for the project.

(Forgive the lack of fine detail, I’m a n00b to managing packages/frameworks in Xcode)

Error

Hi,

When trying to play anything, live or replay or show, I get the following error:

Response validation failed: Response status code was unacceptable: 401.Failure Reason: UnacceptableStatusCode(code401)Response status code was unacceptable: 401
A07CC4F5-E428-4AFE-963F-3DC30B290B86

Audio issues in multi screen mode

Opening up four windows (international, tracker, data and an onboard) does not respect audio volume options - if you mute every window apart from international, can still hear the onboard sound

Can switch language to something other than English to get international sound back, but needs a lot of playing around to get English audio back

Cannot install through TestFlight.

Apple TV 4K tvOS 14.7
Installed TestFlight following the instructions, when I click the download button nothing happens.

The app shows up on the home screen but when I try to open it the error message says “Unable to install F1ATV please try again later”

Manually set stream quality

It would be good to add the functionality of manually setting stream quality.

Background

I have an issue where the set bitrates in F1TVs .m3u8 files are too aggressive:

  • BANDWIDTH=10991332,AVERAGE-BANDWIDTH=6811332,RESOLUTION=1920x1080

A 1080p stream requires a bandwidth of 0.8MB/sec. This shouldn't be an issue but I think due to where the CDNs are located (I'm in New Zealand) the iOS players seem to have issues from switching me to 1080p. Other streaming platfoems I've tested in NZ use a low 0.4MB threshold.

Solution?

I know that HLS streams are designed to play & be managed by the client with bitrate adjustments being made on the fly, but it'd be great to allow custom overrides like F1TV offers in browsers. Unfortunately it seems not easy to achieve on iOS. however I think I have a rough hacky plan after doing some research:

  1. Add a stream override setting in the Settings menu (auto, 280, 360, 540, 720, 1080)
  2. If the setting exists, Intercept the .m3u8 file and remove stream options that do not match to the setting.
  3. Serve the file again via local webserver (This seems mandatory due to the inability to play local .m3u8 files. Maybe Telegraph will work?
  4. Play the modified .m3u8 file.

The other option might be to

  1. Parse the matching stream from the .m3u8.
  2. Play the stream directly (unsure on the modifications that would be needed for the playback here).

What do you think? Adaptive streaming issues seem to be the most prevalent problem I see on the F1TV Reddit. Ideally F1 would just reduce the required bitrate, but that seems unlikely since it's been an issue for some many years. It'd be great to be able to have this in a native app, rather than having to fetch a laptop and an HDMI cable.

Livestream testing days not loading

Hi,

Just wanted to let you know that live playback of the testing days in Bahrain doesn't seem to be working. I've built the app manually (did that ever since TF expired) to an Apple TV (4th generation) with a developer account. Playback of material from the archive, including session 1 from the testing days, works fine and some recaps such as the "the story of the 2022 season" stuff works splendid!

But the livestream of testing days just gives a black screen with a playback bar that never starts running. I tried to open the stream on my iPad: loads instantly there in the official F1 TV app. Just won't load in VroomTV.

I'm not sure if it's relevant, but I did see this scrolling by multiple times when starting the livestream:
2023-02-23 13:45:52.022879+0100 F1A-TV[18747:3027191] [NowPlaying] [MRPlaybackQueueServiceClient] playbackQueueRequest [REDACTED] PineBoard-34 [REDACTED] responded to asset request with error Error Domain=kMRMediaRemoteFrameworkErrorDomain Code=15 "Operation requires a client data source to have been registered." UserInfo={NSLocalizedDescription=Operation requires a client data source to have been registered.}
However, Google'ing that I'm not sure if it is relevant - could be, could not be.

I am logged in with a valid account with active subscription.
I tried logging out and back in (note: turns out this doesn't register as logged out in F1TV, so got weird errors until I realised I must've hit my device limit; had to manually log out the VroomTV instance in my account :P), didn't solve the problem.

Is this a problem with self-built app or a generic issue with the current API?

Remember selected navigation item when swiping left

Right now if I select FEATURED and start browsing the featured section, then swipe right to go back to the navigation the, it'll highlight ARCHIVE or SHOWS - really random here.

Same if I navigate to DOCUMENTARIES, swiping left to menu will highlight SHOWS.

Ideally the swipe left would always highlight the section you've just been browsing instead of defaulting to SHOWS or ARCHIVE.

New Apple TV remote does not work well with the swipe gesture to open the channel menu

Due to the smaller swipe-sensitive area and a bigger focus on actual buttons on the new remote most attempts to move left in a multi camera view using swiping opens the channel menu.

Also, the swiping is a configurable option for this new remote allowing you to turn it off for accessibility reasons (or if you just get a bit too annoyed at buttons that can change what you've selected while clicking them). With it off I find no way of activating the channel menu.

My most accessible suggestion would be to add a button on the player controls that opens the same list.

Can’t Open the app

I just downloaded the app with TestFlight but I can’t open it on my Apple TV.
When I click on it, it’s closing immediately. There is an orange dot close to the name of the app as well.

I did something wrong ?
My Apple TV has the last update.

Missing audio tracks

First of all, thank you Noah! The app is a great improvement for my F1 watching habits!

But since today I’m missing the different audio tracks. Instead of the different languages it says “unknown” and is just giving me English as default.

4 streams: Only one video is playing

Which version of OS are you running this on? I'm having issues where the other streams would freeze.

I've tried pausing for a bit and fast forwarding/rewind and it seems to start to control the next stream over.

Running OS 14.6 Beta 2 =X

Fullscreen AVPlayer as default

The multiple views stuff is extremely cool, but most people will want to just view the main broadcast feed I think.

Certainly the case for me, I was quite confused at first why there was rounded corners on the video. Also its inconvenient to navigate to the far right to enter fullscreen, each time. Make that button pre-selected?

Error 401 repeatedly

Have previously had the app work fine but for a while (a month+?) haven't been able to stream anything (with the app - I can watch fine with my computer and/or official app on my phone). Opening the app would show all the current content (including current live feeds), but clicking on them would throw an "Error 401". Finally tried to log out and log back in, but now getting the same Error 401 when trying to log in. Not sure if this is related to a 401 error with HTTP/web browsers, but any notes on how I might fix it? As far as I can tell I'm fully up to date on the app and I've also fully closed and reopened it a few times, but still the same error.

No sound main channel feed

I don't have any sound when I'm watching the main channel live feed. I also can't change the subtitles or audio in the drop down menu when streaming.

Login Issue

Had this working the last week for testing. Looks like its been updated and now wont login

Simple PiP Mode

I love your in-depth multi-view update! It got me thinking about how I had been watching before, which was airplaying a second feed to my Apple TV for Picture in Picture. I’d like to propose a new enhancement, I think adding a simple PiP mode would be an awesome addition to your app, similar to the native Apple TV experience with two apps (but obviously only with yours). That way you could still focus your attention to one fullscreen feed and then in the bottom right you can keep up with the second feed.

Can't login to latest version

I get a wordy error message "decoding failed(error:DecodingError.keyNotFound(CodingKeys(stringValue PhysicalDevice, intValue, nil), DecodingError.Context(codingPa[], debugDescription: "No value associated with key CodingStrings(stringValue: PhysicalDevice", intValue: nil), underlyingError:nil)))

This is from the TestFlight version. I have tried to rebuild it from github, but I lost the pairing to my ATV and can't get it back. Old githib build did work earlier today (used it to watch qually) but nuked that as a part of trying to take the latest changes, so had to go back to TestFlight version which gives me this error.

Response serialization failed

Thanks for the great and awesome work, since it can resolve my airplay issue.
After trying, it works well when playing the free video, such as RADIO REWIND.
However, it will pop the following message when playing the paid video, such as Sunday Race.
Do you have any idea about this?
BTW: I am also using the HOTSPOT from iPhone with NordVPN already.

unnamed

ATV update now app not working

Apple TV updated to 15.4.1 and cannot logi in to my account on F1TV now. I get an error 403

unacceptablestatuscode Response code was unacceptable.

did the apple TV update break this awesome app?

Request - Different Layout of camera options

I really enjoy the app with the opportunity to add different camera options on one screen. However, I think it would be a nice thing to have one big camera option (e.g. main feed) and an amount of smaller cameras options (e.g. onboard cameras).

My request is to add a different layout to the app as additional option. The layout should have a bigger camera option with 75% of the screen and smaller camera options with a size of 25% of each. So it should be possible to add till four small camera options. In the settings of the app it could be possible to add a switch which allows to switch between the current layout with the equal sized screens and the the requested layout.

Example of my thoughts:
F1TV

I really would love this layout.

Many thanks for your effort and time.

Login error

Hi, I have again the login error. I change my password many times, but it wont help. see old ticket -> #46 (comment)

Keep the app alive while buffering

Today the screen saver will start while buffering (which seems to be a huge problem for F1TV right now), it would be great if the app could stay "active" while buffering.

Go from multi view to fullscreen black screen for second

Wow the multiview is awesome what a great job! When I checked your YouTube video how it’s works the only issue I have is going from a multiview to a full screen video the switch take 2 seconds with a black screen. That is not in your video. Any idea how to fix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.