This file contains 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
-- Playlist2Comment | |
-- autor: @mikan_megane | |
-- 停止を押してもかなりオーバーランするので注意 | |
tell application "iTunes" | |
set FirstRun to true | |
set vPlaylistCount to 0 | |
set vErrorCount to 0 | |
repeat with vPlaylist in user playlists | |
set vPlaylistCount to (vPlaylistCount + 1) |
This file contains 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
// 言語をjavascriptへ切り替えてご使用下さい | |
var app = Application.currentApplication() | |
app.includeStandardAdditions = true | |
// プレイリストのフォルダ情報を返す | |
function getParentPlaylist(playlist){ | |
try{ | |
return getParentPlaylist(playlist.parent()) + playlist.parent().name() + "/" | |
}catch(e){ |
This file contains 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
Write-Progress -Id 1 -Activity "iTunes起動中・・・" | |
$iTunes = New-Object -comObject iTunes.Application | |
$Comments = @{} | |
$Tracks = $iTunes.LibraryPlaylist.Tracks | |
Write-Progress -Id 1 -Activity "コメント取得中" -Status "3/1" -PercentComplete (1 / 3 * 100) | |
$max = $Tracks.Count | |
$i = 0 | |
foreach ($track in $Tracks) { | |
Write-Progress -Id 2 -Activity $track.Name -Status "$max/$i" -PercentComplete (++$i / $max * 100) |
This file contains 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
FROM debian:bullseye-slim as build | |
ENV DEBIAN_FRONTEND="noninteractive" | |
# Install libraries needed to compile box | |
RUN dpkg --add-architecture armhf \ | |
&& apt-get update \ | |
&& apt-get install -y --no-install-recommends --no-install-suggests git wget curl cmake python3 build-essential gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6:armhf libstdc++6:armhf ca-certificates | |
WORKDIR /root |