2021-11-26 15:14:03 +00:00
#!/bin/bash
2021-12-01 15:57:44 +00:00
2021-12-15 11:06:54 +00:00
touch log.txt
2022-01-31 19:11:01 +00:00
touch api_keys.txt
2022-02-21 18:33:19 +00:00
rm -rf user_uploads
2021-12-21 17:24:58 +00:00
mkdir user_uploads
2022-03-05 10:37:22 +00:00
2021-11-24 20:54:03 +00:00
mkdir csv
cd csv
2022-03-05 10:37:22 +00:00
rm *.json
2022-06-12 17:04:23 +00:00
touch crypto_settings.json last_updates.json system_info.json
2022-03-05 10:37:22 +00:00
touch league_tables.json
2021-11-24 20:54:03 +00:00
mkdir sports
2023-03-08 07:14:38 +00:00
touch current_weather.json stocks_settings.json daily_weather.json live_games.json live_mlb.json live_mls.json live_nba.json live_nfl.json live_nhl.json live_pl.json commodities_settings.json indices_settings.json movie_settings.json ipo_settings.json
2023-04-21 08:53:48 +00:00
touch display_settings.json message_settings.json upcoming_games.json forex_settings.json prepost_settings.json scheduler.json
2023-03-17 10:42:13 +00:00
touch GIF_settings.json news_settings.json image_settings.json past_games.json general_settings.json portfolio_settings.json portfolio_crypto_settings.json
2021-11-24 20:54:03 +00:00
2023-04-21 08:53:48 +00:00
filenames = "crypto_settings.json last_updates.json league_tables.json current_weather.json stocks_settings.json daily_weather.json live_games.json live_mlb.json live_mls.json live_nba.json live_nfl.json live_nhl.json live_pl.json commodities_settings.json indices_settings.json movie_settings.json ipo_settings.json display_settings.json message_settings.json upcoming_games.json forex_settings.json GIF_settings.json news_settings.json image_settings.json past_games.json portfolio_settings.json portfolio_crypto_settings.json prepost_settings.json ipo_settings.json scheduler.json"
2021-11-24 20:54:03 +00:00
2022-02-21 18:33:19 +00:00
echo '{"update_available": false, "first_boot": true}' >> system_info.json
2022-02-24 17:23:18 +00:00
echo [ \" Standard\" , [ [ \" Stocks\" , \" Crypto\" , \" Forex\" ] ] ] >> display_settings.json
2023-03-08 07:10:38 +00:00
echo '{"stocks": {"time": "07/03/2022 12:33:06", "force": true}, "crypto": {"time": "07/03/2022 12:28:51", "force": true}, "news": {"time": "07/03/2022 12:28:51", "force": true}, "weather": {"time": "07/03/2022 12:28:51", "force": true}, "forex": {"time": "07/03/2022 12:28:51", "force": true}, "sports_l": {"time": "07/03/2022 12:32:46", "force": true}, "sports_p": {"time": "07/03/2022 12:32:26", "force": true}, "sports_u": {"time": "07/03/2022 12:31:55", "force": true}, "sports_t": {"time": "07/03/2022 12:32:56", "force": true}, "commodities": {"time": "07/03/2022 12:32:56", "force": true}, "indices": {"time": "07/03/2022 12:32:56", "force": true}, "movies": {"time": "07/03/2022 12:32:56", "force": true}, "ipo": {"time": "05/10/2022 02:31:40", "force": false}}' >> last_updates.json
2022-03-05 10:37:22 +00:00
2022-03-07 16:48:11 +00:00
2022-03-07 16:47:07 +00:00
echo '{"feature": "Stocks", "speed": "medium","speed2": "medium", "animation": "down", "percent": false, "point": true, "logos": true, "chart": false, "title": true, "symbols": {"ETH,USD": {"current": "2629.32", "24hr_change": "-27.6432", "percent_change": "-1.04"}, "BTC,USD": {"current": "38161.00", "24hr_change": "-50.8386", "percent_change": "-0.13"}, "BNB,USD": {"current": "372.57", "24hr_change": "0.4140", "percent_change": "0.11"}, "ADA,BTC": {"current": "0.0000", "24hr_change": "-0.0000", "percent_change": "-3.74"}}}' >> crypto_settings.json
2022-06-14 09:48:44 +00:00
echo '{"feature": "Stocks", "speed": "fast", "speed2": "fast", "animation": "down", "percent": true, "point": true, "logos": true, "chart": false, "title": true, "symbols": {"BRENTOIL": {"current": "123.053", "unit": "bbl", "24hr_change": "1.0150", "percent_change": "0.83"}, "WTIOIL": {"current": "121.588", "unit": "bbl", "24hr_change": "0.8902", "percent_change": "0.74"}, "XAU": {"current": "1821.205", "unit": "oz", "24hr_change": "4.0045", "percent_change": "0.22"}, "XAG": {"current": "21.1034", "unit": "oz", "24hr_change": "-0.0550", "percent_change": "-0.26"}, "XCU": {"current": "0.2633", "unit": "oz", "24hr_change": "-0.0006", "percent_change": "-0.22"}, "NG": {"current": "8.6595", "unit": "mmbtu", "24hr_change": "-0.0236", "percent_change": "-0.27"}, "WHEAT": {"current": "393.123", "unit": "ton", "24hr_change": "-1.2642", "percent_change": "-0.32"}, "COTTON": {"current": "1.4494", "unit": "lb", "24hr_change": "0.0004", "percent_change": "0.03"}, "RICE": {"current": "16.3849", "unit": "cwt", "24hr_change": "0.0093", "percent_change": "0.06"}, "SUGAR": {"current": "0.1866", "unit": "lb", "24hr_change": "-0.0007", "percent_change": "-0.40"}, "COCOA": {"current": "2374.074", "unit": "ton", "24hr_change": "2.5206", "percent_change": "0.11"}, "LUMBER": {"current": "527.842", "unit": "oz", "24hr_change": "0.2641", "percent_change": "0.05"}, "SOYBEAN": {"current": "17.1621", "unit": "bu", "24hr_change": "0.0270", "percent_change": "0.16"}}}' >> commodities_settings.json
2022-10-06 04:48:03 +00:00
echo '{"feature": "Stocks", "speed": "fast", "speed2": "slow", "animation": "up", "percent": true, "point": true, "logos": true, "chart": false, "title": true, "symbols": {"^HSI": {"name": "HSI", "current": "18083.06", "point_change": "1003.55", "percent_change": "5.88"}, "^GSPC": {"name": "S&P 500", "current": "3790.93", "point_change": "112.50", "percent_change": "3.06"}, "^RUT": {"name": "RUSSELL 2000", "current": "1775.77", "point_change": "66.90", "percent_change": "3.91"}, "^GDAXI": {"name": "DAX", "current": "12648.95", "point_change": "-21.53", "percent_change": "-0.17"}, "^FTSE": {"name": "FTSE 100", "current": "7058.68", "point_change": "-27.82", "percent_change": "-0.39"}, "^FCHI": {"name": "CAC 40", "current": "6031.45", "point_change": "-8.24", "percent_change": "-0.14"}, "399001.SZ": {"name": "SZSE", "current": "10778.61", "point_change": "-140.83", "percent_change": "-1.29"}, "^STOXX50E": {"name": "STOXX 50", "current": "3476.55", "point_change": "-7.93", "percent_change": "-0.23"}, "^AXJO": {"name": "ASX 200", "current": "6815.70", "point_change": "116.40", "percent_change": "1.74"}, "^DJI": {"name": "DOW JONES", "current": "30316.32", "point_change": "825.43", "percent_change": "2.80"}, "^STOXX": {"name": "STOXX 600", "current": "402.33", "point_change": "-0.70", "percent_change": "-0.17"}}}' >> indices_settings.json
2022-03-07 16:47:07 +00:00
echo '{"feature": "Sports (Team Stats)", "speed": "medium", "speed2": "medium","animation": "down", "title": true, "leagues": {}}' >> league_tables.json
2022-06-24 04:52:15 +00:00
echo { \" feature\" : \" Current Weather\" , \" speed\" : \" medium\" , \" animation\" : \" down\" , \" temp\" : \" celsius\" , \" wind_speed\" : \" miles/sec\" , \" colour\" : \" white\" , \" city_colour\" : \" yellow\" , \" title\" : true, \" locations\" : { } , \" current_weather\" : true} >> current_weather.json
2023-03-27 09:32:45 +00:00
echo '{"feature": "Stocks", "speed": "medium", "speed2": "medium", "animation": "down", "percent": false, "point": true, "logos": true, "chart": false, "title": true, "symbols": {"AAPL": {"current": "164.02", "change": "-1.59", "percent_change": "-0.97"}, "MSFT": {"current": "288.29", "change": "-1.32", "percent_change": "-0.46"}, "GOOG": {"current": "2586.74", "change": "-34.01", "percent_change": "-1.31"}, "NFLX": {"current": "380.52", "change": "-7.59", "percent_change": "-1.99"}}, "prepost": false}' >> stocks_settings.json
2022-06-24 04:52:15 +00:00
echo { \" feature\" : \" Current Weather\" , \" speed\" : \" medium\" , \" animation\" : \" down\" , \" temp\" : \" celsius\" , \" wind_speed\" : \" miles/sec\" , \" colour\" : \" white\" , \" city_colour\" : \" yellow\" , \" title\" : true, \" locations\" : { } , \" current_weather\" : true} >> daily_weather.json
2022-03-07 16:47:07 +00:00
echo '{"feature": "Sports (Live Games)", "speed": "medium", "speed2": "medium", "animation": "down", "title": true, "leagues": {}}' >> live_games.json
2023-02-04 08:43:22 +00:00
echo '{"feature": "Sports (Live Games)", "speed": "medium", "speed2": "medium", "animation": "down", "title": true, "leagues": {"MLB": [[{"home_team": "Columbus Blue Jackets", "home_score": "4", "away_team": "Buffalo Sabres", "away_score": "9", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Philadelphia Flyers", "home_score": "1", "away_team": "Washington Capitals", "away_score": "4", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Calgary Flames", "home_score": "5", "away_team": "Minnesota Wild", "away_score": "3", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Colorado Avalanche", "home_score": "0", "away_team": "Boston Bruins", "away_score": "4", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Edmonton Oilers", "home_score": "8", "away_team": "Arizona Coyotes", "away_score": "2", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Vegas Golden Knights", "home_score": "1", "away_team": "New York Rangers", "away_score": "5", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "San Jose Sharks", "home_score": "5", "away_team": "Vancouver Canucks", "away_score": "6", "time": "Final/OT", "date": "2022-12-08", "isLive": "post"}], false, "no_live", "no_upcoming"]}}' >> live_mlb.json
echo '{"feature": "Sports (Live Games)", "speed": "medium", "speed2": "medium", "animation": "down", "title": true, "leagues": {"MLS": [[{"home_team": "Columbus Blue Jackets", "home_score": "4", "away_team": "Buffalo Sabres", "away_score": "9", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Philadelphia Flyers", "home_score": "1", "away_team": "Washington Capitals", "away_score": "4", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Calgary Flames", "home_score": "5", "away_team": "Minnesota Wild", "away_score": "3", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Colorado Avalanche", "home_score": "0", "away_team": "Boston Bruins", "away_score": "4", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Edmonton Oilers", "home_score": "8", "away_team": "Arizona Coyotes", "away_score": "2", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Vegas Golden Knights", "home_score": "1", "away_team": "New York Rangers", "away_score": "5", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "San Jose Sharks", "home_score": "5", "away_team": "Vancouver Canucks", "away_score": "6", "time": "Final/OT", "date": "2022-12-08", "isLive": "post"}], false, "no_live", "no_upcoming"]}}' >> live_mls.json
echo '{"feature": "Sports (Live Games)", "speed": "medium", "speed2": "medium", "animation": "down", "title": true, "leagues": {"NBA": [[{"home_team": "Orlando Magic", "home_score": "116", "away_team": "LA Clippers", "away_score": "111", "time": "Final/OT", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Brooklyn Nets", "home_score": "122", "away_team": "Charlotte Hornets", "away_score": "116", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "New York Knicks", "home_score": "113", "away_team": "Atlanta Hawks", "away_score": "89", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Toronto Raptors", "home_score": "126", "away_team": "Los Angeles Lakers", "away_score": "113", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Chicago Bulls", "home_score": "115", "away_team": "Washington Wizards", "away_score": "111", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Memphis Grizzlies", "home_score": "123", "away_team": "Oklahoma City Thunder", "away_score": "102", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Milwaukee Bucks", "home_score": "126", "away_team": "Sacramento Kings", "away_score": "113", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Minnesota Timberwolves", "home_score": "121", "away_team": "Indiana Pacers", "away_score": "115", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "New Orleans Pelicans", "home_score": "104", "away_team": "Detroit Pistons", "away_score": "98", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Utah Jazz", "home_score": "124", "away_team": "Golden State Warriors", "away_score": "123", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Phoenix Suns", "home_score": "98", "away_team": "Boston Celtics", "away_score": "125", "time": "Final", "date": "2022-12-08", "isLive": "post"}], false, "no_live", "no_upcoming"]}}' >> live_nba.json
echo '{"feature": "Sports (Live Games)", "speed": "medium", "speed2": "medium", "animation": "down", "title": true, "leagues": {"NFL": [[{"home_team": "Charlotte Hornets", "home_score": "117", "away_team": "LA Clippers", "away_score": "119", "time": "Final", "date": "2022-12-06", "isLive": "post"}, {"home_team": "Orlando Magic", "home_score": "102", "away_team": "Milwaukee Bucks", "away_score": "109", "time": "Final", "date": "2022-12-06", "isLive": "post"}, {"home_team": "Atlanta Hawks", "home_score": "114", "away_team": "Oklahoma City Thunder", "away_score": "121", "time": "Final", "date": "2022-12-06", "isLive": "post"}, {"home_team": "Toronto Raptors", "home_score": "110", "away_team": "Boston Celtics", "away_score": "116", "time": "Final", "date": "2022-12-06", "isLive": "post"}, {"home_team": "Houston Rockets", "home_score": "132", "away_team": "Philadelphia 76ers", "away_score": "123", "time": "Final/2OT", "date": "2022-12-06", "isLive": "post"}, {"home_team": "Memphis Grizzlies", "home_score": "101", "away_team": "Miami Heat", "away_score": "93", "time": "Final", "date": "2022-12-06", "isLive": "post"}, {"home_team": "Dallas Mavericks", "home_score": "130", "away_team": "Phoenix Suns", "away_score": "111", "time": "Final", "date": "2022-12-06", "isLive": "post"}, {"home_team": "Golden State Warriors", "home_score": "104", "away_team": "Indiana Pacers", "away_score": "112", "time": "Final", "date": "2022-12-06", "isLive": "post"}], false, "no_live", "no_upcoming"]}}' >> live_nfl.json
echo '{"feature": "Sports (Live Games)", "speed": "medium", "speed2": "medium", "animation": "down", "title": true, "leagues": {"NHL": [[{"home_team": "Columbus Blue Jackets", "home_score": "4", "away_team": "Buffalo Sabres", "away_score": "9", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Philadelphia Flyers", "home_score": "1", "away_team": "Washington Capitals", "away_score": "4", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Calgary Flames", "home_score": "5", "away_team": "Minnesota Wild", "away_score": "3", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Colorado Avalanche", "home_score": "0", "away_team": "Boston Bruins", "away_score": "4", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Edmonton Oilers", "home_score": "8", "away_team": "Arizona Coyotes", "away_score": "2", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "Vegas Golden Knights", "home_score": "1", "away_team": "New York Rangers", "away_score": "5", "time": "Final", "date": "2022-12-08", "isLive": "post"}, {"home_team": "San Jose Sharks", "home_score": "5", "away_team": "Vancouver Canucks", "away_score": "6", "time": "Final/OT", "date": "2022-12-08", "isLive": "post"}], false, "no_live", "no_upcoming"]}}' >> live_nhl.json
echo '{"feature": "Sports (Live Games)", "speed": "medium", "speed2": "medium", "animation": "down", "title": true, "leagues": {"PREMIERLEAGUE": [[{"home_team": "Chelsea", "home_score": "0", "away_team": "Manchester City", "away_score": "1", "time": "FT", "date": "2023-01-05", "isLive": "post"}], false, "no_live", "no_upcoming"]}}' >> live_pl.json
2022-03-07 16:47:07 +00:00
echo '{"feature": "Custom Messages", "speed": "Medium", "speed2": "medium", "animation": "Down", "title": false, "messages": [{"name": "welcome", "text": "Welcome to Fintic!", "text_colour": "White", "size": "Large", "background_colour": "Black"}, {"name": "get_started", "text": "To get started, connect your device to the \"Fintic Hotspot\" and access \"fintic.local:1024\" on your web browser. You can connect your ticker to Wi-Fi there.", "text_colour": "White", "size": "Small", "background_colour": "Black"}]}' >> message_settings.json
echo ' { "feature" : "Sports (Upcoming Games)" , "speed" : "medium" , "speed2" : "medium" , "animation" : "down" , "title" : true, "leagues" : { "NFL" : [ { "date" : "2021-11-22" , "time" : "01:20:00" , "round" : "11" , "home_team" : "Los Angeles Chargers" , "home_score" : "41" , "away_team" : "Pittsburgh Steelers" , "away_score" : "37" } , { "date" : "2021-11-23" , "time" : "01:15:00" , "round" : "11" , "home_team" : "Tampa Bay Buccaneers" , "home_score" : "0" , "away_team" : "New York Giants" , "away_score" : "0" } , { "date" : "2021-11-25" , "time" : "17:30:00" , "round" : "12" , "home_team" : "Detroit Lions" , "home_score" : null, "away_team" : "Chicago Bears" , "away_score" : null} , { "date" : "2021-11-25" , "time" : "21:30:00" , "round" : "12" , "home_team" : "Dallas Cowboys" , "home_score" : null, "away_team" : "Las Vegas Raiders" , "away_score" : null} , { "date" : "2021-11-26" , "time" : "01:20:00" , "round" : "12" , "home_team" : "New Orleans Saints" , "home_score" : null, "away_team" : "Buffalo Bills" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "Cincinnati Bengals" , "home_score" : null, "away_team" : "Pittsburgh Steelers" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "Houston Texans" , "home_score" : null, "away_team" : "New York Jets" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "Indianapolis Colts" , "home_score" : null, "away_team" : "Tampa Bay Buccaneers" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "Jacksonville Jaguars" , "home_score" : null, "away_team" : "Atlanta Falcons" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "Miami Dolphins" , "home_score" : null, "away_team" : "Carolina Panthers" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "New England Patriots" , "home_score" : null, "away_team" : "Tennessee Titans" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "New York Giants" , "home_score" : null, "away_team" : "Philadelphia Eagles" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "21:05:00" , "round" : "12" , "home_team" : "Denver Broncos" , "home_score" : null, "away_team" : "Los Angeles Chargers" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "21:25:00" , "round" : "12" , "home_team" : "Green Bay Packers" , "home_score" : null, "away_team" : "Los Angeles Rams" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "21:25:00" , "round" : "12" , "home_team" : "San Francisco 49ers" , "home_score" : null, "away_team" : "Minnesota Vikings" , "away_score" : null} ] , "NBA" : [ { "date" : "2021-11-22" , "time" : "01:20:00" , "round" : "11" , "home_team" : "Los Angeles Chargers" , "home_score" : "41" , "away_team" : "Pittsburgh Steelers" , "away_score" : "37" } , { "date" : "2021-11-23" , "time" : "01:15:00" , "round" : "11" , "home_team" : "Tampa Bay Buccaneers" , "home_score" : "0" , "away_team" : "New York Giants" , "away_score" : "0" } , { "date" : "2021-11-25" , "time" : "17:30:00" , "round" : "12" , "home_team" : "Detroit Lions" , "home_score" : null, "away_team" : "Chicago Bears" , "away_score" : null} , { "date" : "2021-11-25" , "time" : "21:30:00" , "round" : "12" , "home_team" : "Dallas Cowboys" , "home_score" : null, "away_team" : "Las Vegas Raiders" , "away_score" : null} , { "date" : "2021-11-26" , "time" : "01:20:00" , "round" : "12" , "home_team" : "New Orleans Saints" , "home_score" : null, "away_team" : "Buffalo Bills" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "Cincinnati Bengals" , "home_score" : null, "away_team" : "Pittsburgh Steelers" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "Houston Texans" , "home_score" : null, "away_team" : "New York Jets" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "Indianapolis Colts" , "home_score" : null, "away_team" : "Tampa Bay Buccaneers" , "away_score" : null} , { "date" : "2021-11-28" , "time" : "18:00:00" , "round" : "12" , "home_team" : "Jacksonville Jaguars" , "home_score" : null, " away_tea
echo '{"feature": "Stocks", "speed": "medium", "speed2": "medium", "animation": "down", "percent": false, "point": true, "logos": true, "chart": false, "title": true, "symbols": {"EUR,USD": {"current": "1.1334", "24hr_change": "-0.0003", "percent_change": "0.00"}, "USD,JPY": {"current": "114.960", "24hr_change": "0.1600", "percent_change": "0.14"}, "GBP,USD": {"current": "1.3577", "24hr_change": "-0.0031", "percent_change": "-0.23"}, "USD,CHF": {"current": "0.9198", "24hr_change": "0.0029", "percent_change": "0.32"}}}' >> forex_settings.json
echo '{"speed": "medium", "speed2": "medium", "animation": "down", "title": true, "pause": "2", "images": []}' >> GIF_settings.json
echo '{"feature": "News", "speed": "medium", "speed2": "medium", "animation": "down", "country": "US", "category": "General", "title": true, "headlines": [], "use_category": true, "use_country": false, "num_headlines": "10"}' >> news_settings.json
echo '{"speed": "slow", "speed2": "medium","animation": "down", "title": true, "pause": "/", "images": []}' >> image_settings.json
echo '{"feature": "Sports (Past Games)", "speed2": "medium", "speed": "medium", "animation": "down", "title": true, "leagues": {}}' >> past_games.json
2023-02-04 08:20:08 +00:00
echo ' { "feature" : "Movies" , "speed" : "fast" , "speed2" : "fast" , "animation" : "continuous" , "category" : "Popular All" , "title" : true, "movies" : [ { "title" : "Avatar: The Way of Water" , "language" : "EN" , "votes" : "8.1" , "date" : "2022-12-14" , "media_type" : "Movie" , "genre" : [ "Sci-Fi" , "Action" , "Adventure" ] , "backdrop" : "198vrF8k7mfQ4FjDJsBmdQcaiyq.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/198vrF8k7mfQ4FjDJsBmdQcaiyq.jpg" } , { "title" : "Violent Night" , "language" : "EN" , "votes" : "7.3" , "date" : "2022-11-30" , "media_type" : "Movie" , "genre" : [ "Action" , "Comedy" , "Crime" , "Thriller" ] , "backdrop" : "g9Kb3RaLjsybI1jpqHQ3QZTCYpB.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/g9Kb3RaLjsybI1jpqHQ3QZTCYpB.jpg" } , { "title" : "Avatar" , "language" : "EN" , "votes" : "7.5" , "date" : "2009-12-15" , "media_type" : "Movie" , "genre" : [ "Action" , "Adventure" , "Fantasy" , "Sci-Fi" ] , "backdrop" : "Yc9q6QuWrMp9nuDm5R8ExNqbEq.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/Yc9q6QuWrMp9nuDm5R8ExNqbEq.jpg" } , { "title" : "The Banshees of Inisherin" , "language" : "EN" , "votes" : "7.7" , "date" : "2022-10-21" , "media_type" : "Movie" , "genre" : [ "Drama" , "Comedy" ] , "backdrop" : "9Md4CqzUGDtK5oEkRRvozLkGc9d.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/9Md4CqzUGDtK5oEkRRvozLkGc9d.jpg" } , { "title" : "Wednesday" , "language" : "EN" , "votes" : "8.8" , "date" : "2022-11-23" , "media_type" : "Tv" , "genre" : [ "Sci-Fi & Fantasy" , "Mystery" , "Comedy" ] , "backdrop" : "iHSwvRVsRyxpX7FE7GbviaDvgGZ.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/iHSwvRVsRyxpX7FE7GbviaDvgGZ.jpg" } , { "title" : "1923" , "language" : "EN" , "votes" : "8.8" , "date" : "2022-12-18" , "media_type" : "Tv" , "genre" : [ "Drama" , "Western" ] , "backdrop" : "9I6LgZ5110ycg4pyobJxGTFWFCF.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/9I6LgZ5110ycg4pyobJxGTFWFCF.jpg" } , { "title" : "The Recruit" , "language" : "EN" , "votes" : "7.2" , "date" : "2022-12-16" , "media_type" : "Tv" , "genre" : [ "Drama" , "Crime" ] , "backdrop" : "rey2eh6752C2UbGYRileKk1PVTo.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/rey2eh6752C2UbGYRileKk1PVTo.jpg" } , { "title" : "Black Adam" , "language" : "EN" , "votes" : "7.2" , "date" : "2022-10-19" , "media_type" : "Movie" , "genre" : [ "Action" , "Fantasy" , "Sci-Fi" ] , "backdrop" : "bQXAqRx2Fgc46uCVWgoPz5L5Dtr.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/bQXAqRx2Fgc46uCVWgoPz5L5Dtr.jpg" } , { "title" : "Nanny" , "language" : "EN" , "votes" : "5.4" , "date" : "2022-11-23" , "media_type" : "Movie" , "genre" : [ "Horror" , "Drama" ] , "backdrop" : "nfuPlOK6ywGzKGb0yf7VJKyTFWb.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/nfuPlOK6ywGzKGb0yf7VJKyTFWb.jpg" } , { "title" : "Tom Clancys Jack Ryan" , "language" : "EN" , "votes" : "7.7" , "date" : "2018-08-30" , "media_type" : "Tv" , "genre" : [ "Action & Adventure" , "Drama" , "War & Politics" ] , "backdrop" : "6ovk8nrrSmN1ieT14zBAxcHbMU7.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/6ovk8nrrSmN1ieT14zBAxcHbMU7.jpg" } , { "title" : "High Heat" , "language" : "EN" , "votes" : "6.5" , "date" : "2022-12-16" , "media_type" : "Movie" , "genre" : [ "Action" , "Comedy" , "Crime" ] , "backdrop" : "gjNM0odqkq5F7V58OjfTxPJ9p9Z.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/gjNM0odqkq5F7V58OjfTxPJ9p9Z.jpg" } , { "title" : "A Not So Merry Christmas" , "language" : "ES" , "votes" : "4.8" , "date" : "2022-12-20" , "media_type" : "Movie" , "genre" : [ "Comedy" ] , "backdrop" : "8uyJzaiGbiezZ9K48Cy5wXeqnYw.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/8uyJzaiGbiezZ9K48Cy5wXeqnYw.jpg" } , { "title" : "Guillermo del Toros Pinocchio" , "language" : "EN" , "votes" : "8.5" , "date" : "2022-11-09" , "media_type" : "Movie" , "genre" : [ "Animation" , "Fantasy" , "Drama" ] , "backdrop" : "e782pDRAlu4BG0ahd777n8zfPzZ.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/e782pDRAlu4BG0ahd777n8zfPzZ.jpg" } , { "title" : "His Dark Materials" , "language" : "EN" , "votes" : "8.0" , "date" : "2019-11-03" , "media_type" : "Tv" , "genre" : [ "Sci-Fi & Fantasy" , "Drama" ] , "backdrop" : "dGOhplPZTL0SKyb0ocTFBHIuKUC.jpg" , "logo" : "https://image.tmdb.org/t/p/w500/dGOhplPZTL0SKyb0ocTFBHIuKUC.jpg" } , { "title" : "The Fabelmans" , "language" : "EN" , "votes" : "7.8" , "date" : "2022-11-11" , "media_type" : "Movie" , "genre" : [ "Drama" , "Comedy" ] , "backdrop" : " 6RCf9jzKxyjblYV4Cs
2023-03-08 07:14:38 +00:00
echo '{"feature": "IPO", "speed": "medium", "speed2": "medium", "animation": "down", "title": true, "symbols": ["No Data"]}' >> ipo_settings.json
2023-03-17 07:05:13 +00:00
echo '{"symbols": {}}' >> portfolio_settings.json
2023-03-17 10:42:13 +00:00
echo '{"symbols": {}}' >> portfolio_crypto_settings.json
2023-03-28 09:48:41 +00:00
echo '{}' >> prepost_settings.json
2023-04-21 08:53:48 +00:00
echo '{"shutdown": {"time": "00:00","enabled": false}, "reboot":{"time":"00:00", "enabled": false}, "timezone":"GMT"}' >> scheduler.json
2022-03-07 16:48:11 +00:00
2021-12-06 20:10:14 +00:00
echo '{"brightness": 10, "country_code": "GB", "hostname": "fintic"}' >> general_settings.json
2022-03-06 09:48:54 +00:00
chmod 777 *
2021-11-24 20:54:03 +00:00
2021-11-29 15:02:59 +00:00
2023-02-04 09:35:26 +00:00
cd ../
2021-11-29 15:02:59 +00:00
sudo chmod -R ugo+rwx csv
2021-12-01 15:57:44 +00:00
rm -rf display_images
mkdir display_images
cd display_images
touch 'Crypto Prof.ppm'
touch 'Crypto.ppm'
touch 'Current Weather Prof.ppm'
touch 'Current Weather.ppm'
touch 'Custom GIFs.gif'
touch 'Custom Images.ppm'
2023-01-09 07:59:06 +00:00
touch 'Custom Images Prof.ppm'
2021-12-01 15:57:44 +00:00
touch 'Custom Messages.ppm'
2023-01-09 07:59:06 +00:00
touch 'Custom Messages Prof.ppm'
2021-12-01 15:57:44 +00:00
touch 'Daily Forecast.ppm'
2022-10-31 07:28:52 +00:00
touch 'Daily Forecast Prof.ppm'
2021-12-01 15:57:44 +00:00
touch 'Forex Prof.ppm'
touch 'Forex.ppm'
touch 'News Prof.ppm'
touch 'News.ppm'
touch 'Sports (Live Games).ppm'
2023-01-09 07:59:06 +00:00
touch 'Sports (Live Games) Prof.ppm'
2021-12-01 15:57:44 +00:00
touch 'Sports (Past Games).ppm'
2022-10-31 07:28:52 +00:00
touch 'Sports (Past Games) Prof.ppm'
2021-12-01 15:57:44 +00:00
touch 'Sports (Team Stats).ppm'
2022-10-31 07:28:52 +00:00
touch 'Sports (Team Stats) Prof.ppm'
2021-12-01 15:57:44 +00:00
touch 'Sports (Upcoming Games).ppm'
2022-10-31 07:28:52 +00:00
touch 'Sports (Upcoming Games) Prof.ppm'
2021-12-01 15:57:44 +00:00
touch 'Stocks Prof.ppm'
touch 'Stocks.ppm'
touch 'daily_weather.ppm'
touch 'display_gif.gif'
touch 'display_gif.ppm'
touch 'display_image.ppm'
2022-06-12 17:04:23 +00:00
touch 'Commodities.ppm'
touch 'Commodities Prof.ppm'
2022-10-06 04:48:03 +00:00
touch 'Indices.ppm'
touch 'Indices Prof.ppm'
2023-01-09 07:59:06 +00:00
touch 'Movies.ppm'
touch 'Movies Prof.ppm'
2023-03-08 07:14:38 +00:00
touch 'IPO Calendar.ppm'
touch 'IPO Calendar Prof.ppm'
2022-03-06 09:48:54 +00:00
chmod 777 *
2021-12-01 15:57:44 +00:00
cd ..
sudo chmod -R ugo+rwx display_images