Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new subitem to UPnP Folder menu #2622

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

tesshucom
Copy link
Owner

@tesshucom tesshucom commented Apr 17, 2024

Prerequisites: #2615

Overview

'By Folder' will be added to the UPnP submenu. As a result, FOLDER will have three submenus. This configuration is similar to ARTIST.

  • Simple List : Enumeration of folders and files that exist directly under all music folders
  • By Folder : Enumeration of folders and files that exist directly under each music folder
  • With Index : Music index of folders and enumeration of files, that exist directly under all music folders

In other words, FOLDER corresponds to Subsonic's File Structure. ARTIST is Artist ID3. Each supporting the same submenu will make the classification more intuitive.

Web page changes

In fact, the one that has existed until now is actually By Folder 😅 (In #2615, the menu assignment is actually incorrect) This pull request will correct that. A new UPnP File Structure view that does not separate by folder has been created, and the submenu on the Web page has been corrected to select it correctly.

image

Simple List Means

If the user is English-speaking, it is almost equivalent to Alphabetical. To be more precise, it is a unique English-Japanese lexicographical order.

Example of sorting untagged data

Although there is an industrial standard for character sorting in Japanese, most people are not aware of it in their daily lives. The list of school student rosters is also left to discretion. To avoid ambiguity, the (local) rules may also be listed in the dictionary. (Even if it is a Japanese dictionary, it may differ depending on the dictionary.)

Jpsonic uses a sorting method similar to the general Japanese sense, and if nothing is specified in the sort tag, it will follow that rule. Regardless of whether it is perfect or not, Jpsonic's sorting is closer to the Japanese natural sort than existing ones.

What you may need to be careful about are the Greek letters(It would be better to add a sort tag). Greek letters are relatively familiar to Japanese people and are pronounced the same way as in Japanese. In fields such as music, it is common for words to be included in Japanese indexes without being treated as foreign words.

Pattern A(Windows) Pattern B(Subsonic) Pattern C(Jpsonic)
♂くんつ abcde abcde
abcde DEABC BCDEA
BCDEA eabcd ĆĎÉÁḄ
ĆĎÉÁḄ ĆĎÉÁḄ DEABC
DEABC αβγ eabcd
eabcd ♂くんつ 亜伊鵜絵尾
αβγ いうえおあ αβγ
いうえおあ ぉぁぃぅぇ いうえおあ
ゥェォァィ はるなつあきふゆ ゥェォァィ
ェォァィゥ ゥェォァィ エオアイウ
エオアイウ オアイウエ ェォァィゥ
ぉぁぃぅぇ パラレル ぉぁぃぅぇ
オアイウエ 亜伊鵜絵尾 オアイウエ
パラレル 張り切る 春夏秋冬
はるなつあきふゆ 春夏秋冬 貼られる
亜伊鵜絵尾 貼られる パラレル
春夏秋冬 馬力 馬力
張り切る BCDEA 張り切る
貼られる ェォァィゥ はるなつあきふゆ
馬力 エオアイウ ♂くんつ
Example of sequential number sorting

It is rare that such advanced sorting is actually required, but it is applicable to reading-books with 10 or more volumes. This also applies when managing self-portrait audio files and videos that are mechanically named.

Pattern A(Subsonic/Airsonic) Pattern B(Winsows/Jpsonic)
09X Radonius 09X Radonius
1000X Radonius Maximus 10X Radonius
10X Radonius 20X Radonius
200X Radonius 20X Radonius Prime
20X Radonius 30X Radonius
20X Radonius Prime 40X Radonius
30X Radonius 200X Radonius
40X Radonius 1000X Radonius Maximus
Allegia 50 Clasteron Allegia 6R Clasteron
Allegia 500 Clasteron Allegia 50B Clasteron
Allegia 50B Clasteron Allegia 50 Clasteron
Allegia 51 Clasteron Allegia 51 Clasteron
Allegia 6R Clasteron Allegia 500 Clasteron
Alpha 100 Alpha 2
Alpha 2 Alpha 2A
Alpha 200 Alpha 2A-900
Alpha 2A Alpha 2A-8000
Alpha 2A-8000 Alpha 100
Alpha 2A-900 Alpha 200
Callisto Morphamax Callisto Morphamax
Callisto Morphamax 500 Callisto Morphamax 500
Callisto Morphamax 5000 Callisto Morphamax 600
Callisto Morphamax 600 Callisto Morphamax 700
Callisto Morphamax 6000 SE Callisto Morphamax 5000
Callisto Morphamax 6000 SE2 Callisto Morphamax 6000 SE
Callisto Morphamax 700 Callisto Morphamax 6000 SE2
Callisto Morphamax 7000 Callisto Morphamax 7000
Xiph Xlater 10000 Xiph Xlater 5
Xiph Xlater 2000 Xiph Xlater 40
Xiph Xlater 300 Xiph Xlater 50
Xiph Xlater 40 Xiph Xlater 58
Xiph Xlater 5 Xiph Xlater 300
Xiph Xlater 50 Xiph Xlater 500
Xiph Xlater 500 Xiph Xlater 2000
Xiph Xlater 5000 Xiph Xlater 5000
Xiph Xlater 58 Xiph Xlater 10000

@tesshucom tesshucom added in: web Issues in web modules (web, webmvc, webflux, websocket) in: UPnP Issues in UPnP labels Apr 17, 2024
@tesshucom tesshucom added this to the jpsonic 114.1 milestone Apr 17, 2024
@tesshucom tesshucom self-assigned this Apr 17, 2024
 - Mv MediaFileProc to MediaFileByFolderProc
 - Add MediaFileProc

The existing MediaFileProc had been implemented as a ByFolder function.
Therefore, a rename will be performed. Additionally, a new integrated
File Structure View has been added that does not categorize folders.
@tesshucom tesshucom merged commit 27c84f7 into develop Apr 18, 2024
1 of 2 checks passed
@tesshucom tesshucom deleted the feature/add-upnp-mediafile branch April 19, 2024 08:49
@tesshucom tesshucom mentioned this pull request Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: UPnP Issues in UPnP in: web Issues in web modules (web, webmvc, webflux, websocket)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant