Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ddddxxx committed May 31, 2021
2 parents b719b82 + de55195 commit 3117c1d
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 41 deletions.
21 changes: 1 addition & 20 deletions LyricsX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,6 @@
BB4141A81E458BA800A51775 /* Resources */,
BB4141CA1E46CDD700A51775 /* Embed Frameworks */,
BB60F3111E889FC000BA1FD2 /* Copy Helper */,
BB0A3AE2228058B3006C2E52 /* Sign Sparkle */,
BB9163341F36371700E4E01C /* Upload dSYM */,
BB0BE9531F444BE20068FF67 /* Update Localization */,
BBC1D5811E4AFE64008869EC /* Bump Build */,
Expand Down Expand Up @@ -802,24 +801,6 @@
shellPath = /bin/sh;
shellScript = "/usr/libexec/PlistBuddy -c \"Set :LX_BUILD_TIME $(date +\"%s\")\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\"\n";
};
BB0A3AE2228058B3006C2E52 /* Sign Sparkle */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Sign Sparkle";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "LOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${FRAMEWORKS_FOLDER_PATH}\"\n\n# By default, use the configured code signing identity for the project/target\nIDENTITY=\"${EXPANDED_CODE_SIGN_IDENTITY_NAME}\"\nif [ \"$IDENTITY\" == \"\" ]\nthen\n# If a code signing identity is not specified, use ad hoc signing\nIDENTITY=\"-\"\nfi\ncodesign --verbose --force --deep -o runtime --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A/Resources/AutoUpdate.app\"\ncodesign --verbose --force -o runtime --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A\"\n";
};
BB0BE9531F444BE20068FF67 /* Update Localization */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -1483,7 +1464,7 @@
repositoryURL = "https://github.com/ddddxxx/MusicPlayer";
requirement = {
kind = upToNextMinorVersion;
minimumVersion = 0.7.2;
minimumVersion = 0.7.3;
};
};
BBA82EF9256AB1490076831F /* XCRemoteSwiftPackageReference "appcenter-sdk-apple" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"repositoryURL": "https://github.com/ddddxxx/MusicPlayer",
"state": {
"branch": null,
"revision": "06e040a3403c0fb84da1da17be5b3279d9d5156f",
"version": "0.7.2"
"revision": "34d5e23c5e1b4932124c83dd58d2be590fcf2b9f",
"version": "0.7.3"
}
},
{
Expand Down
5 changes: 2 additions & 3 deletions LyricsX/Component/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,12 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuItemValidation, NSMenu

@IBAction func aboutLyricsXAction(_ sender: Any) {
if #available(OSX 10.13, *) {
let version = Bundle.main.infoDictionary!["CFBundleShortVersionString"] as! String
#if IS_FOR_MAS
let channel = "App Store"
#else
let channel = "GitHub"
#endif
let versionString = "\(channel) Version \(version)"
let versionString = "\(channel) Version \(Bundle.main.semanticVersion!)"
NSApp.orderFrontStandardAboutPanel(options: [.applicationVersion: versionString])
} else {
NSApp.orderFrontStandardAboutPanel(sender)
Expand Down Expand Up @@ -256,7 +255,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuItemValidation, NSMenu
.chineseConversionIndex: isHant ? 2 : 0,
.desktopLyricsXPositionFactor: 0.5,
.desktopLyricsYPositionFactor: 0.9,
])
])
}
}

Expand Down
4 changes: 2 additions & 2 deletions LyricsX/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<key>CFBundleShortVersionString</key>
<string>1.6.1</string>
<key>CFBundleVersion</key>
<string>2341</string>
<string>2344</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
Expand All @@ -58,7 +58,7 @@
<key>LSUIElement</key>
<true/>
<key>LX_BUILD_TIME</key>
<integer>1622446048</integer>
<integer>1622460550</integer>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
Expand Down
2 changes: 1 addition & 1 deletion LyricsXHelper/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ let playerBundleIdentifiers = [
["com.apple.Music", "com.apple.iTunes"],
["com.spotify.client"],
["com.coppertino.Vox"],
["com.audirvana.Audirvana", "com.audirvana.Audirvana-Plus"],
["com.audirvana.Audirvana-Studio", "com.audirvana.Audirvana", "com.audirvana.Audirvana-Plus"],
["com.swinsian.Swinsian"],
]

Expand Down
27 changes: 14 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,41 @@

<img src="docs/img/icon.png" width="128px">

LyricsX is a plugin for iTunes, Spotify and Vox, which auto search and download lyrics for the current playing from Internet, and displays them in the desktop and menubar.
Ultimate lyrics app for macOS.

[LyricsX for iOS](https://github.com/ddddxxx/LyricsX-iOS) and [lyricsx-cli for Linux](https://github.com/ddddxxx/lyricsx-cli) is in early development.

## Installation

LyricsX is available on the Mac App Store.
### Homebrew

```
$ brew install lyricsx
```

### Mac App Store

[![download on the Mac App Store](docs/img/MAS_badge.svg)](https://itunes.apple.com/us/app/lyricsx/id1254743014?mt=12)

### Manual

Download from [releases](https://github.com/ddddxxx/LyricsX/releases).

### Requirements

- macOS 10.11+

## Features

- Work perfectly with iTunes, Spotify and Vox.
- Automatically search & download live lyrics.
- Work perfectly with your favorite music players. [List of supported players](https://github.com/ddddxxx/MusicPlayer#supported-players)
- Automatically search & download live lyrics from various lyrics sources. [List of supported sources](https://github.com/ddddxxx/LyricsKit#supported-sources)
- Display lyrics on desktop and menubar. you can customize font, color and position.
- Adjust lyrics offset on status menu.
- Navigate the song with lyrics - Double click a line to jump to specific position.
- Drag & Drop to import/export lyrics file.
- Auto launch & quit with music player.
- Automatic conversion between Traditional Chinese and Simplified Chinese.

### Lyrics Sources

- 163 Music
- QQ Music
- Kugou Music
- Xiami Music
- TTPod
- Gecimi

## Screenshot

<img src="docs/img/desktop_lyrics.gif" width="480px">
Expand Down

0 comments on commit 3117c1d

Please sign in to comment.