GithubHelp home page GithubHelp logo

futcal-for-scriptable's People

Contributors

thejosejorge 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

futcal-for-scriptable's Issues

h

j

Show information if match is cancelled

Currently if a match is cancelled it will be shown in the Previous match section, with the time and date information.
If a match is cancelled we want that information to be shown in the widget, instead of the match time and date.

Previous / Next matches wrong information

FotMob seems to be changing their API structure / data so the widget needs to be adapted to these changes.
One of the impacted areas is the Next / Previous matches.

is there any way to customize base text color

I am using light mode in my ios, but i wanna use black mode for futcal widget. But when i changed background color of light mode in custom settings, i couldn't see texts because there was no custom option for base text color.

Support URLs with special characters

The widget is not prepared for URLs with special characters (e.g. "ø" on "fc-københavn").
The URLs will need to be encoded to avoid errors in this scenario.

No longer working, internet connection required

Hi, I just wanted to set up the latest version of the script. The script also appears in the app but when I click on it it appears Internet connection required. Help please. Greetings Miche
IMG_1436
l

Add different size: Small

Possibility to configure Futcal as a Small widget, with different variants to chose from:

  • League table only
  • Matches results / fixtures only

Background image

Hi, I followed the instruction give for custom background image. I created a background for the widget, named the file background.png and added it to the folder. But the script is still showing a black background. Is there anything am doing wrong?

Exception Occurred Error on line 166:50

Exception Occurred Error on line 166:50: TypeError: undefined is not an object (evaluating 'nextMatch.id‘)

Hello, got this error since today. Season is over so „nextMatch.id“ is kind of empty?

Or futmob has changed something again?

Improve customisation process

Currently the only way to customise the script is by changing the code.
The goal is to have the option to do it in a more user friendly way, for some of the parameters.

No Games Data

Hey guys anyone else seeing this bug, "no data" on the left where the games should appear?

Standings are okay, seemed that FotMob has changed something again image

undefined is not an object

Now Futcal is not working since Fotmob API has slightly changed.
To fix it, you need to follow below steps.

  1. Find the code to modify at around Line 299.
               const detailsDateValue = formatDate(new Date((matchDetails.content.matchFacts.infoBox["Match Date"].dateFormatted).replaceAll(".", "")));
                addFormattedText(matchInfoDetailsStack, detailsDateValue, Font.regularSystemFont(12), Color.gray(), null, false);
                matchInfoDetailsStack.addSpacer(3);
                const detailsTimeValue = formatTime(new Date((`${matchDetails.content.matchFacts.infoBox["Match Date"].dateFormatted} ${matchDetails.content.matchFacts.infoBox["Match Date"].timeFormatted}`).replaceAll(".", "")));
  1. Replace it to below
                const detailsDateValue = formatDate(new Date((matchDetails.content.matchFacts.infoBox["Match Date"].utcTime)));
                addFormattedText(matchInfoDetailsStack, detailsDateValue, Font.regularSystemFont(12), Color.gray(), null, false);
                matchInfoDetailsStack.addSpacer(3);
                const detailsTimeValue = formatTime(new Date((`${matchDetails.content.matchFacts.infoBox["Match Date"].utcTime}`)));

There's nothing difficult.
It's just analyzing returned JSON data.

@beratgashi

Change TeamID with a parameter

I'd like to see changing TeamID with parameter if possible.
Would be helpful for many I think.
So I can have the script for more than one team on homescreen widgets.
And the other parameters like "showMatchesRound" for example divided by ; maybe in the homescreen widget settings.
IMG_6646

Support leagues with multiple tables

The widget is not prepared for leagues with multiple tables (e.g. "MLS).
For these leagues, since the json structure is different than the expected, there is currently an error.

Futcal is not working

No more information updated and stuck on last match. The latest version of futcal is installed, and all patches have already been completed.

Wrong images being displayed

Some users reported the wrong images are being shown.
In other cases the script is returning the following error:
"Error on line 402:60: Expected value of type Image but got value of type undefined."

Error: Cannot download the file from ICloud because the file does not exist

Hey Guys,
Widget looks absolutely stunning! But i am currently not able to get it working.
Im still on the default setting and copied the futcal.js in the scriptable folder as recommended. When excectuing i get an
"Error: Data could not be read because of wrong format. Trying to read cached data: teamData.json" followed by a "Error: Cannot download the file from ICloud because the file does not exist."
Am i missing something?
Thanks for the help! :)

Are other sports possible?

Can you program such a widget for the German ice hockey league?

Unfortunately, there is currently nothing of this kind for the German ice hockey league. Do you have a way to create such a thing?

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.