1. update setup.py

This commit is contained in:
Yaronzz
2022-06-23 11:26:33 +08:00
parent d643de43e9
commit 3099820956
8 changed files with 59 additions and 48 deletions
+15 -15
View File
@@ -49,22 +49,22 @@ jobs:
# cp -rf tidal_gui/resource dist/ # cp -rf tidal_gui/resource dist/
# working-directory: TIDALDL-PY # working-directory: TIDALDL-PY
- name: Build tidal-gui # - name: Build tidal-gui
shell: bash # shell: bash
if: ${{ matrix.os != 'macos-latest' }} # if: ${{ matrix.os != 'macos-latest' }}
run: | # run: |
cp -rf guiStatic.in MANIFEST.in # cp -rf guiStatic.in MANIFEST.in
pyinstaller -D tidal_gui/__init__.py -w -n tidal-gui # pyinstaller -D tidal_gui/__init__.py -w -n tidal-gui
working-directory: TIDALDL-PY # working-directory: TIDALDL-PY
- name: Gzip tidal-gui # - name: Gzip tidal-gui
shell: bash # shell: bash
if: ${{ matrix.os != 'macos-latest' }} # if: ${{ matrix.os != 'macos-latest' }}
run: | # run: |
cp -rf ../tidal_gui/resource ./tidal-gui/ # cp -rf ../tidal_gui/resource ./tidal-gui/
tar -zcvf tidal-gui.tar.gz tidal-gui # tar -zcvf tidal-gui.tar.gz tidal-gui
rm -rf tidal-gui # rm -rf tidal-gui
working-directory: TIDALDL-PY/dist # working-directory: TIDALDL-PY/dist
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
+3
View File
@@ -175,3 +175,6 @@ TIDALDL-PY/exe/tidal_dl_win.tar.gz
TIDALDL-PY/tidal-gui.spec TIDALDL-PY/tidal-gui.spec
.history/ .history/
.gitignore .gitignore
/TIDALDL-PY/tidal_dl_old
/TIDALDL-PY/tidal_gui_old
/TIDALDL-PY/tidal_gui
+1
View File
@@ -16,6 +16,7 @@
"env": { "env": {
"PYTHONPATH": "${workspaceRoot}/TIDALDL-PY/" "PYTHONPATH": "${workspaceRoot}/TIDALDL-PY/"
}, },
"justMyCode": false
}, },
{ {
"name": "Python: common line", "name": "Python: common line",
+25 -23
View File
@@ -32,25 +32,22 @@
</p> </p>
## 📺 Installation ## 📺 Installation
| Name | platform | Install |
| ----------------------------- | --------------------------------- | ------------------------------------------------------------ | | Name | platform | Install |
| tidal-dl (cli) | Windows \ Linux \ Macos \ Android | ```pip3 install tidal-dl --upgrade```<br />[Detailed Description](https://yaronzz.com/post/tidal_dl_installation/#Install) | | ----------------------------------- | --------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| tidal-gui | Windows | [GUI Repository](https://github.com/yaronzz/Tidal-Media-Downloader-PRO) | | tidal-dl (cli) | Windows \ Linux \ Macos \ Android | ``pip3 install tidal-dl --upgrade``<br />[Detailed Description](https://yaronzz.com/post/tidal_dl_installation/#Install) |
| tidal-gui(**Cross-platform**) | Windows \ Linux \ Macos | ```pip3 install tidal-gui --upgrade``` | | tidal-gui | Windows | [GUI Repository](https://github.com/yaronzz/Tidal-Media-Downloader-PRO) |
| tidal-gui(**Cross-platform**) | Windows \ Linux \ Macos | ``pip3 install tidal-gui --upgrade`` |
### Nightly Builds ### Nightly Builds
|Download nightly builds from continuous integration: | [![Build Status][Build]][Actions] | Download nightly builds from continuous integration: | [Build Status][Actions] |
|-------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------| | ---------------------------------------------------- | ----------------------- |
[Actions]: https://github.com/yaronzz/Tidal-Media-Downloader/actions
[Build]: https://github.com/yaronzz/Tidal-Media-Downloader/workflows/Tidal%20Media%20Downloader/badge.svg
## 🤖 Features ## 🤖 Features
- Download album \ track \ video \ playlist \ artist-albums - Download album \ track \ video \ playlist \ artist-albums
- Add metadata to songs - Add metadata to songs
- Selectable video resolution and track quality - Selectable video resolution and track quality
## 💽 User Interface ## 💽 User Interface
@@ -89,7 +86,7 @@
| {ArtistName} | The Beatles | | {ArtistName} | The Beatles |
| {ArtistsName} | The Beatles | | {ArtistsName} | The Beatles |
| {TrackTitle} | I Saw Her Standing There (Remastered 2009) | | {TrackTitle} | I Saw Her Standing There (Remastered 2009) |
| {ExplicitFlag} | (*Explicit*) | | {ExplicitFlag} | (*Explicit*) |
| {AlbumYear} | 1963 | | {AlbumYear} | 1963 |
| {AlbumTitle} | Please Please Me (Remastered) | | {AlbumTitle} | Please Please Me (Remastered) |
| {AudioQuality} | LOSSLESS | | {AudioQuality} | LOSSLESS |
@@ -99,15 +96,15 @@
### Video ### Video
| Tag | Example Value | | Tag | Example Value |
| ----------------- | ------------------------------------------ | | -------------- | ------------------ |
| {VideoNumber} | 00 | | {VideoNumber} | 00 |
| {ArtistName} | DMX | | {ArtistName} | DMX |
| {ArtistsName} | DMX, Westside Gunn | | {ArtistsName} | DMX, Westside Gunn |
| {VideoTitle} | Hood Blues | | {VideoTitle} | Hood Blues |
| {ExplicitFlag} | (*Explicit*) | | {ExplicitFlag} | (*Explicit*) |
| {VideoYear} | 2021 | | {VideoYear} | 2021 |
| {TrackID} | 188932980 | | {TrackID} | 188932980 |
## ☕ Support ## ☕ Support
@@ -116,8 +113,9 @@ If you really like my projects and want to support me, you can buy me a coffee a
<a href="https://www.buymeacoffee.com/yaronzz" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/arial-orange.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a> <a href="https://www.buymeacoffee.com/yaronzz" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/arial-orange.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a>
## 🎂 Contributors ## 🎂 Contributors
This project exists thanks to all the people who contribute. This project exists thanks to all the people who contribute.
<a href="https://github.com/yaronzz/Tidal-Media-Downloader/graphs/contributors"><img src="https://contributors-img.web.app/image?repo=yaronzz/Tidal-Media-Downloader" /></a> `<a href="https://github.com/yaronzz/Tidal-Media-Downloader/graphs/contributors"><img src="https://contributors-img.web.app/image?repo=yaronzz/Tidal-Media-Downloader" />``</a>`
## 🎨 Libraries and reference ## 🎨 Libraries and reference
@@ -127,6 +125,7 @@ This project exists thanks to all the people who contribute.
- [tidal-wiki](https://github.com/Fokka-Engineering/TIDAL/wiki) - [tidal-wiki](https://github.com/Fokka-Engineering/TIDAL/wiki)
## 📜 Disclaimer ## 📜 Disclaimer
- Private use only. - Private use only.
- Need a Tidal-HIFI subscription. - Need a Tidal-HIFI subscription.
- You should not use this method to distribute or pirate music. - You should not use this method to distribute or pirate music.
@@ -141,6 +140,7 @@ python3 setup.py install
``` ```
## Fork changes - Scenario and comments: ## Fork changes - Scenario and comments:
I would be content with TIDAL download feature, to give me off-line music on my device. I find playlists good for that. I would be content with TIDAL download feature, to give me off-line music on my device. I find playlists good for that.
But playlist changes are not done well. If I add 1 song to a 100 song playlist, the only way I can get it on my phone is: - But playlist changes are not done well. If I add 1 song to a 100 song playlist, the only way I can get it on my phone is: -
@@ -156,3 +156,5 @@ So this is to fill that gap in my scenario. But the effect seems useful for oth
Also: some improved handling of the "onlyM4A" flag. If files have been renamed from mp4 to m4a, the SKIP download logic wasn't working. Now it's handled for the simple case at least. Also: some improved handling of the "onlyM4A" flag. If files have been renamed from mp4 to m4a, the SKIP download logic wasn't working. Now it's handled for the simple case at least.
[Actions]: https://github.com/yaronzz/Tidal-Media-Downloader/actions
[Build]: https://github.com/yaronzz/Tidal-Media-Downloader/workflows/Tidal%20Media%20Downloader/badge.svg
+2 -1
View File
@@ -4,6 +4,7 @@ prettytable==3.1.1
mutagen==1.45.1 mutagen==1.45.1
psutil==5.9.0 psutil==5.9.0
pycryptodome==3.14.1 pycryptodome==3.14.1
aigpy==2022.6.15.1 aigpy==2022.6.22.1
lyricsgenius==3.0.1 lyricsgenius==3.0.1
pydub==0.25.1 pydub==0.25.1
PyQt5==5.15.7
+7 -3
View File
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
from tidal_dl.printf import VERSION from tidal_dl.printf import VERSION
setup( setup(
name='tidal-dl-test', name='tidal-dl',
version=VERSION, version=VERSION,
license="Apache2", license="Apache2",
description="Tidal Music Downloader.", description="Tidal Music Downloader.",
@@ -13,7 +13,11 @@ setup(
packages=find_packages(exclude=['tidal_gui*']), packages=find_packages(exclude=['tidal_gui*']),
include_package_data=False, include_package_data=False,
platforms="any", platforms="any",
install_requires=["aigpy>=2022.6.15.1", "requests>=2.22.0", install_requires=["aigpy>=2022.6.22.1",
"pycryptodome", "pydub", "prettytable", "lyricsgenius"], "requests>=2.22.0",
"pycryptodome",
"pydub",
"prettytable",
"PyQt5"],
entry_points={'console_scripts': ['tidal-dl = tidal_dl:main', ]} entry_points={'console_scripts': ['tidal-dl = tidal_dl:main', ]}
) )
+2 -2
View File
@@ -144,5 +144,5 @@ def test():
if __name__ == '__main__': if __name__ == '__main__':
test() # test()
# main() main()