#author("2024-03-30T18:51:09+09:00","","")
#contents

*これ何? [#j533c034]
[[Media Library>Media Library 解説]] に登録された音楽トラックを分類・ソートしてプレイリストを表示する標準コンポーネント[foo_albumlist (Album List)]

*表示方法 [#bab50051]
[[UI Element >User interface#m3a01d25]]として表示出来ます。
Add New UI Element - UI Elementの新規追加でMedia Library Viewers から Album List を選択します。

*本体解説 [#qwerty00]
-''アイテム一覧'' : Album List 上のアイテムを右クリックするとコンテキストメニューを表示します。
-コンテキストメニュー一覧
--''Send to the Current Playlist'' : 現在表示しているプレイリストにある曲を、選択しているアイテムに置き換え
--''Add to the Current Playlist'' : 現在表示しているプレイリストに、選択しているアイテムを追加
--''Send to a New Playlist'' : 自動的に新しいプレイリストを作る
//--''Remove dead entries (slow)'' : 存在しないトラックを[[Media Library>Media Library 解説]]から削除
--''Create Autoplaylist'' : 選択したPlaylistをAutoplaylistとして作成します。
--''Copy'' : コピー Playlist ViewerにPaste(貼り付け)が出来る。
#hr
(これより下はプレイリストのコンテキストメニューが表示されます)

Send to… や Add to… で、ツリーから選択したアイテムがプレイリストに送られます。
選択したアイテムの下にサブアイテムがある場合、サブアイテムもプレイリストに送られます。

-''View'' : 分類方法の選択
--''by folder structure'' : ディレクトリ構成のまま
--''by album'' : アルバム順
--''by artist'' : アーティスト順
--''by genre'' : ジャンル順
--''by year'' : 年代順
--''by artist/album'' : アルバムアーティスト - 年代 - アルバムタイトル順

デフォルトでは上のようになっています。

-''Filter'' : 条件付き、絞り込み検索(抽出)。 [解説 : [[Query syntax]]]
--例: DATE GREATER 2013 AND GENRE HAS Pop(年が2013より大きく、そしてジャンルにPopを含む)
//-''Send to Playlist'' : 現在表示しているプレイリストにある曲を、全てのアイテムに置き換え
//-''Add to Playlist'' : 現在表示しているプレイリストに、全てのアイテムを追加
//-''Settings'' : [[設定画面>#t2d8d087]]を開く
//-''Refresh'' : 更新
//-''Hide'' : 隠す

-''Title bar右クリック''
--Import Settings...
--Copy Settings
--Paste Settings

*設定画面 [#t2d8d087]
Preferences > Media Library > Album List から設定できます。
-''Views - 分類方法の設定'' [[Title Formatting Reference:http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Titleformat_Reference]]を使用し柔軟なPlaylist作成が可能。[[Titleformat Album List:http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Titleformat_Album_List]]
--''Up'' : 選択した分類方法を一つ上へ
--''Down'' : 選択した分類方法を一つ下へ
--''Delete'' : 選択した分類方法を削除
--''Add new'' : 新たに分類方法を登録
--''Reset'' : 初期設定に戻す

-''Actions''
--''Double-click Action'' : ダブルクリックでの挙動
//---''None'' : 何もしない
//---''Send to the current playlist'' : 現在表示しているプレイリストにある曲を、選択しているアイテムに置き換え
//---''Add to the current playlist'' : 現在表示しているプレイリストに、選択しているアイテムを追加
//---''Send to a new playlist'' : 自動的に新しいプレイリストを作る
--''Middle button action'' : ホイールクリックでの挙動
//---''Expand/collapse'' : 展開/折り畳み
//---''Send to the current playlist'' : 現在表示しているプレイリストにある曲を、選択しているアイテムに置き換え
//---''Add to the current playlist'' : 現在表示しているプレイリストに、選択しているアイテムを追加
//---''Send to a new playlist'' : 自動的に新しいプレイリストを作る

-''Playlist Interaction - プレイリストとの相互作用''
//--''Select Added Items'' : 追加したアイテムを選択する
--''Start Playback when sending selection to playlist'' : 選択したアイテムをプレイリストに送るときに再生を開始する
--''Create always-sorted autoplaylists''
//-''Display - 表示''
//--''Show item indexes'' : アイテムインデックスを表示する (オートナンバリング)
//--''Show sub-item Counts'' : サブアイテムの数を表示する
//--''Font'' : フォント

//-''Active Album List Window / Media Library View'' : [[Album List 本体を起動>#qwerty00]]

#imgr(./snaps/album_list.png);
-$swapprefix(%album artist%)|'['%date%']' - %album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%
-Filterは、サブジャンル TAG に Female を含むもの

*Autoplaylistの作成 [#ncd9de5c]
-Album List > Actions > click actionプルダウンで"Create Autoplaylist"を選択
-Albumlist>コンテキストメニュー>Create Autoplaylist

*Album List/Views 例 [#z96ca1f6]
下 [[関連 - Album List Panel 解説 - UI extension (Columns UI)>Album List Panel 解説#m38ac78b]] と [[Titleformat Album List - Hydrogenaudio wiki:http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Titleformat_Album_List]] を参考に。

-<name> Media Library(2つのフォルダを登録してある。’E:\MyMusic MyMusic mp3’ と ’E:\MyMusic High-Resolution Audio’。 '|' が区切り)
 $puts(tree,$replace(%path%,\,|))$replace($get(tree),E:\MyMusic MyMusic mp3,)|$puts(tree,$replace(%path%,\,|))$replace($get(tree),E:\MyMusic High-Resolution Audio,)
-<name> Artist, The(アーティスト名先頭'A と The'を後尾に置く。The Birthday Massacre -> Birthday Massacre, The)
 $swapprefix(%artist%)|'['%date%']' - %album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%
-<name> Genre Artist, The(ジャンル分け タグに複数入れてある場合、%<genre>%を使用する。Propertiesでの区切りは、'; ' セミコロン半角スペースです。 'Rock; Pop; Remaster')
 %<genre>%|$swapprefix(%artist%)|'['%date%']' - %album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%
-<name> +A(Artist先頭1文字で表示 The抜き)
 $left($if($strcmp($substr(%album artist%,1,4),'The '),$substr(%album artist%,5,$len(%<album artist>%))', The',%album artist%),1)|$if($strcmp($substr(%album artist%,1,4),'The '),$substr(%album artist%,5,$len(%<album artist>%))' , The',%album artist%)|'['%date%']' - %album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%

*関連 [#j7bc58ce]
-[[Album List Panel 解説 - UI extension (Columns UI) >Album List Panel 解説#m38ac78b]]
-[[Titleformat Album List - Hydrogenaudio wiki:http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Titleformat_Album_List]]
-[[Media Library Search / Playlist Search>Media Library Search / Playlist Search]]