Is There A Way To Read/Edit The Current DL Listing? #2687
Replies: 7 comments 13 replies
-
Not really no. It would be ideal if line-breaks were inserted into the To avoid the hang you can move, rename or delete the json files (while the application is not running). |
Beta Was this translation helpful? Give feedback.
-
Yes, that was one of my thoughts as well. Currently, I see no way to effectively parse it out because of all the special characters that are not only used as "standard", but that can also be used as part of the file/path name. There HAS to be something unique used to separate individual USERS, and also the individual files of each USER. To me, this is only "common sense". If I rename the files, then I LOSE everything I currently have! I do NOT want to do that. It's a pretty simple request, impo. I HAVE to be able to separate things - even if it is just by USER. Not just LOSE them. I can open the JSON in WORD, but again, the formatting of the file is JUST SO BAD, trying to make sense of it would basically take hours (or the use of GenAI). |
Beta Was this translation helpful? Give feedback.
-
Also, having just searched through the download.json file, I find that there are users that I have unfinished files from in my folder, that are NOT in the file ..... strange. it seems that the start of a USER begins with [ but ends with just a comma & space, before the next User's [. VERY strange "formatting", impo. Might I suggest a conversion into a "proper" database? With proper columns, etc? MSMSQL or even SQLite or MySQL. With that, not only would the data be more secure and less prone to corruption, but also easily editable. (Will add this to the Feature Request). Even qBitTorrent has switched to a SQLite DB. --- DS |
Beta Was this translation helpful? Give feedback.
-
Ok, but with respect, that still does not provide a way to effectively re-format the file. If it is a "standard JSON format", opening it in Notepad++ should display it properly - it doesn't - it displays it as one continuous line. |
Beta Was this translation helpful? Give feedback.
-
Well, it would seem as if there is some development to be done there. Again, might I suggest using a proper database with specific columns? That would help tremendously (and probably improve performance. JSONs have an "effective" limit with the amount of data they can carry. I encountered this when I was tasked with working on a DB project that wanted to use only JSONs for input & output (that also included al DQ aspects) - as a DQ expert, I advised that it could not be done. In the end, the devs had to admit that I was right & the program had to be canceled. Now I'm not saying that your current JSON has the DQ issues, but it DOES have the issue of being tasked with trying to convey too much data. I'm not even certain that a separate JSON per DL USERNAME would be effective. |
Beta Was this translation helpful? Give feedback.
-
I just discovered that the LibreWolf web browser (and FireFox or any Gecko based browser I presume) has a JSON renderer in it, which enables the expanded viewing and Pretty Print of downloads.json and uploads.json that can be saved (though sadly, partial copy/export is not possible) then you can open that in Notepad++ for manual editing. |
Beta Was this translation helpful? Give feedback.
-
We used to have line breaks in the json files, but had to disable them since Python's faster, C-based json encoder didn't support them. I'll see if we can work around this somehow. As for moving to SQLite or similar, I'm not opposed to the idea, but it won't happen right now. I'll have to see what the best option is moving forward when I work on the transfer-related modules again. |
Beta Was this translation helpful? Give feedback.
-
For v3.3.0 B5 from 10/09?
I need to be able to see the DLs as they would appear in the normal DL window, so I can edit/delete stuff, as I currently cannot do ANYTHING with the program - it just hangs.
Thanks.
--- DS
Beta Was this translation helpful? Give feedback.
All reactions