Version 2.0, January 2004
http://www.apache.org/licenses/
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
Version 2.0, January 2004
http://www.apache.org/licenses/
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
| import xml.etree.ElementTree as ET | |
| import re | |
| import argparse | |
| import os | |
| class LegacyFileParser: | |
| def __init__(self, filepath, output_directory): | |
| self.filepath = filepath | |
| self.output_directory = output_directory | |
| if not os.path.exists(self.output_directory): |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <playlist xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/" version="1"> | |
| <title>Playlist</title> | |
| <trackList> | |
| <track> | |
| <location>https://radionova.ice.infomaniak.ch/radionova-256.aac</location> | |
| <extension application="http://www.videolan.org/vlc/playlist/0"> | |
| <vlc:id>0</vlc:id> | |
| <vlc:option>http-user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36'</vlc:option> | |
| </extension> |
| <?xml version="1.0" encoding="utf-8"?> | |
| <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <ItemGroup Label="ProjectConfigurations"> | |
| <ProjectConfiguration Include="Debug_Fast|x64"> | |
| <Configuration>Debug_Fast</Configuration> | |
| <Platform>x64</Platform> | |
| </ProjectConfiguration> | |
| <ProjectConfiguration Include="Debug|x64"> | |
| <Configuration>Debug</Configuration> | |
| <Platform>x64</Platform> |
| #!/bin/bash | |
| export WINHOME=$(wslpath "$(wslvar USERPROFILE)") | |
| # github username is needed to pull down the dot files | |
| export GITHUBUSERNAME="mattetti" | |
| # wininstall does an install using winget and checks that it went well | |
| function wininstall { | |
| echo "Installing $1"; | |
| cmd.exe /C winget.exe install -e $1; |
| // wiring: See https://github.com/tinygo-org/tinygo/blob/master/src/machine/board_arduino_nano33.go#L120 | |
| // MOSI / Data on port A3 | |
| // Clock on port A2 | |
| // power VUSB | |
| // ground | |
| package main | |
| import ( | |
| "machine" |