This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| fn="$1" | |
| of=${fn%.*}.jpg | |
| lf=`ffprobe -show_streams "$fn" 2> /dev/null | awk -F= '/^nb_frames/ { print $2-1 }'` | |
| rm -f "$of" | |
| ffmpeg -i "$fn" -vf "select='eq(n,$lf)'" -vframes 1 "$of" 2> /dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:math'; | |
| import 'dart:ui'; | |
| import 'package:flutter/material.dart'; | |
| void main() async { | |
| runApp(MyApp()); | |
| } | |
| /// Represents some additional [Color]s to be used | |
| /// across the application |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
| <addon id="service.autoexec" name="Autoexec Service" version="1.0.0" provider-name="your username"> | |
| <requires> | |
| <import addon="xbmc.python" version="3.0.0"/> | |
| </requires> | |
| <extension point="xbmc.service" library="autoexec.py"> | |
| </extension> | |
| <extension point="xbmc.addon.metadata"> | |
| <summary lang="en_GB">Automatically run python code when Kodi starts.</summary> | |
| <description lang="en_GB">The Autoexec Service will automatically be run on Kodi startup.</description> |
OlderNewer