Skip to content

Commit 1021524

Browse files
committed
v2025.10.956
* Allowing Free Listener account with expired audio rights to access free audio sources again (issue #82). It is expected to have yet unseen side effects. * Allowing the new native "Your favorites" playlist to work with expired Free Listener account. * Preventing Free Listener Account from loosing audio rights after the first free two hours (allows for higher audio quality). Only works if it has not already expired and audio is not playing more than two hours without the script enabled. * Added Import and Export of favorites, for tracks, channels, shows, and playlists (issue #83). Button is located in the script's menu, "Your favorites" dedicated page. If you have favorites on many platforms (ex: di, jazz) with the same account, you have to go Export/Import on each site. * Added a self diagnostic system for the injection/loading sequence of the script. Will prompt the user if a page reload is deemed necessary (much less likely now). Displayed as a "health" percentage in the script menu settings. * Improved and vastly extended unlock mechanism. It can now unlock when the user is loosing script injection race-condition. * Improved script network footprint for unregistered user and Free Listener accounts with expired audio rights. Prevents accidental request flood. Saves and reuses non-expired internal data instead of making new queries. (may help issue #84) * Removed visual ad navbar button "Start 30-Day Free Trial" when unregistered on non-di websites. * Fixed a minor error with Global Media Control track position timeline misbehaving after audio ended. * Fixed a blocking error when skipping track from a show episode. * Recommending to manually logout of your account and or/clearing localstorage+cookies at least once for each platform after upgrading to this version of the script for a smooth transition.
1 parent 15f8958 commit 1021524

File tree

5 files changed

+21
-67
lines changed

5 files changed

+21
-67
lines changed

DIUserscript.meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// @grant GM_xmlhttpRequest
3333
// @inject-into page
3434
// @run-at document-start
35-
// @version 2025.10.475
35+
// @version 2025.10.956
3636
// ==/UserScript==

DIUserscript.user.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ while improving user experience and comfort of use of many features.
3838
![track ui](https://i.imgur.com/nIFodnW.png "Track UI")
3939

4040

41-
* Play your "Likes" as a playlist (di-only).
41+
* Play your "Likes" as a playlist.
42+
* Import / Export your favorites between accounts.
4243

4344
![likes ui](https://i.imgur.com/3zfCaqM.png "Likes UI")
4445

@@ -96,7 +97,7 @@ Each public version of the script is released as a tag with the following format
9697

9798
## Join Discord !
9899

99-
Our new community discord can be accessed here: https://discord.gg/sjGQ7YU
100+
Our discord can be accessed here: https://discord.gg/sjGQ7YU
100101

101102
You can use it to say hi or discuss whatever you want with us, and follow releases thanks to github-to-discord hooks.
102103

doc/disclaimer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ This Userscript works by adding custom-tailored client-side javascript upon brow
1616

1717
This code only executes on the browser and is mostly applying new elements to the page (for added features), and filtering others (for ads & premium banners).
1818

19-
The code also uses the platform's plublic Event API to hook into the system to better learn how and when to apply filters or add new elements on the page.
19+
The code also uses the platform's plublic Event API to hook into the system to better learn how and when to apply filters or add new elements on the page.
2020

2121
### The use of this Userscript created some errors, what can I do ?
2222

23-
First, by using this userscript (or close enough forks) you agree than this is experimental, and not a commercial service provided to you.
23+
First, by using this userscript (or close enough forks) you agree this is experimental, and not a commercial service provided to you.
2424

25-
But still, volunteers can look into it and try to help ! You always can open a new GitHib Issue on this repository to kindly ask for help.
25+
But still, volunteers can look into it and try to help ! You always can open a new GitHib Issue on this repository to kindly ask for help.
2626

2727
### What is the intended audience of this Userscript ?
2828

doc/troubleshooting.md

Lines changed: 12 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
11
# Troubleshooting
22

3-
* Sometimes, chrome and firefox will disable tampermonkey or my userscript manager for some reasons.
3+
## Sometimes, chrome and firefox will disable tampermonkey or my userscript manager for some reasons.
44
* Please make sure they are installed and enabled before opening any issue here.
5-
6-
## Mobile/Tablet
7-
* I have not managed to make the script work on mobile or tablet. If you have any clue on how to do it, please create a new issue detailing a solution or giving ideas.
8-
* An issue #44 exists to follow the current state of this topic.
9-
5+
* Before reporting a problem with chromium, enable developer mode in extensions and Tampermonkey : [issue #81](https://github.com/lethak/LTKDIFMU-userscript/issues/81)
106

117
## The script is active but some features are not working
12-
* Some features are only working with an account. This script must run with an account for all features to work best.
13-
* This script is not intended to remove the need to register for a free/premium account.
14-
* Make sure reloading the page after login since it was never intended for the script to be used while NOT logged in and if the login is done in xhr (ajax) or fetch,
15-
a reload might be necessary for things to run smoothly without any bad side effect.
16-
17-
## I get the Enjoy "30 minutes of music" message
18-
* Read above "The script is active but some features are not working"
19-
* From issue #23
8+
* Some features are only working with an account, like some show/episodes.
9+
* Make sure to reload the page after login or logout since it is done in xhr (ajax), and might be necessary for things to run smoothly without any bad side effect.
10+
* Script page-injection timing can be tricky. The script will try to self diagnose and prompt the user when detecting a necessary page reload. It will often happen when loading the page too fast on chromium browsers. Reloading the page with devtool open (F12) will help slowing it down. In extreme cases, you can also enable network throttling inside the same devtool to help pass the diagnostic check at 100% and then revert it back to "no throttling".
2011

2112
## Using a free account, it appears I have access to some premium features like "download playlists" under the section "EXTERNAL PLAYER SETTINGS"
22-
* Since you have not a legitimate premium account, then this is a side effect of the script, without any consequences but if you try to download .pls files, they will contain your listen key attached to your non-premium account and this won't work ultimately.
23-
* It is not possible to make it work this way without a proper, legitimate premium account. (or if it is, I won't bother dealing with this)
13+
* Since you have not a real premium account, this is a side effect of the script, without any consequences but if you try to download .pls files, they will contain your listen key attached to your non-premium account and this won't work ultimately.
14+
* It is not possible to make it work this way without a proper, legitimate premium account.
2415
* From issue #22
2516

17+
## Using a free account, something is broken
18+
* Free accounts are not supposed to receive audio source (url) anymore from the backend server. The script is trying to help by re-wiring client-side logic to bypass this inconvenience, but there can be side effect. Please open a new issue if you encounter one.
19+
2620
## Troubles using exotic browsers and script manager
27-
* Other browsers such as Vivaldi (#34) and script manager such as ViolentMonkey (#36) might have issues but might also work in some capacity.
21+
* Other browsers such as Vivaldi (#34) and script manager such as ViolentMonkey (#36) might have issues but might also work in some capacity.
2822
* Even if thoughts are put into making it widely generic and cross platform, this script is intended to work and be tested with Tampermonkey for Chrome or Firefox.
2923

3024
## I cannot click on the Seek Bar to play the track at a different position
@@ -34,51 +28,10 @@ a reload might be necessary for things to run smoothly without any bad side effe
3428
## The use of this Userscript created some errors, what can I do ?
3529

3630
* Read our [Disclaimer page](./disclaimer.md).
37-
* Check this current page for informations already existing regarding your issue.
31+
* Check this current page for information already existing regarding your issue.
3832
* Browse the Issue section of the repository to look for some issues already related to your problem.
3933
* You always can open a new GitHib Issue on this repository to kindly ask for help.
4034
* Not every error is actually impacting the features. (issue #23)
4135

42-
## (old) A warning message keeps telling me to update the script
43-
44-
- - -
45-
46-
|:warning:|**With release v2018.1.4, this repository AND USERSCRIPT changed its name and URL following a [Trademark claim](./DigitallyImportedTrademarkClaim.md) by "Digitally Imported, Inc"**|
47-
|---|---|
48-
|Problem|If you upgraded from version v2018.1.3 or v2018.1.3b, a big red announcement is showing on the music platform asking you to update despite already being updated |
49-
|How to solve ?| Make sure you dont have any older version of this userscript still installed in Tampermonkey. Remove all version prior to 2018.1.4 that are still named "Digitally Imported Userscript" |
50-
51-
- - -
52-
53-
## (old) Weird behavior and doublons
54-
55-
- - -
56-
57-
|:warning:|**With release v2018.1.4, this repository AND USERSCRIPT changed its name and URL following a [Trademark claim](./DigitallyImportedTrademarkClaim.md) by "Digitally Imported, Inc"**|
58-
|---|---|
59-
|Problem|If you upgraded from version older than v2018.1.3b, the script is going to run twice, and can have unwanted effects and doublons|
60-
|How to solve ?| Make sure you dont have any older version of this userscript still installed in Tampermonkey. Remove all version prior to 2018.1.4 that are still named "Digitally Imported Userscript" |
61-
62-
- - -
63-
64-
## (old) Greasemonkey and Firefox Quantum
65-
For [greasemonkey](https://addons.mozilla.org/en-gb/firefox/addon/greasemonkey/) users, the script is having troubles with Firefox since the "Quantum" update (version >= 57), this is why the latest version of [tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo) is now recommended for all browsers.
66-
67-
Compatibility:
68-
69-
| - | Firefox < 57 | Firefox Quantum >= 57 | Chrome |
70-
|---|---|---|---|
71-
| Tampermonkey >= 4.x* | - | OK | OK* |
72-
| Tampermonkey <= 3.x | OK | Broken | OK |
73-
| Greasemonkey <= 3.x | OK | Broken | OK |
74-
| Greasemonkey >= 4.x | - | Broken | ? |
75-
76-
(*) *recommended*
77-
78-
79-
80-
81-
82-
8336
- - -
8437
* Back to [index](../README.md)

0 commit comments

Comments
 (0)