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

wrong file name after last update #344

Open
Dex321x opened this issue Apr 27, 2024 · 1 comment
Open

wrong file name after last update #344

Dex321x opened this issue Apr 27, 2024 · 1 comment

Comments

@Dex321x
Copy link

Dex321x commented Apr 27, 2024

With the latest version, I got the problem with files that have the wrong name. It appears that the folder name is added. The config was working fine before.

My config:
"DownloadPath": "X:/xxx/onlyfans/0_onlyfans-dl-database",
"PaidPostFileNameFormat": "{postedAt}{username}{id}",
"PostFileNameFormat": "{postedAt}{username}{id}",
"PaidMessageFileNameFormat": "{createdAt}{username}{id}",
"MessageFileNameFormat": "{createdAt}{username}{id}",
"RenameExistingFilesWhenCustomFormatIsSelected": false,

The file I got before: 2024-04-20_username_123456789.jpg
The file I get now: 2024-04-22_0_onlyfans-dl-databaseusername_123456789.jpg

--> it adds the onlyfans-dl-database to the file name, but I don't know why.
--> another issue is that for another username, it doesn't change anything on the file name. It just downloads it with the source name:
0hozxbu3b111qoqg0qtp1_source.mp4

Any idea why this is happening? Is my config wrong?

@melithine
Copy link
Contributor

I believe id is the id of the post/message and not the video/photo/etc. attached, so it's often not unique enough. mediaId should be part of the filename in case there are multiple videos/photos in the same post/message. I'm not 100% sure that's your problem, but it does jump out at me as being problematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants