Aedif / TokenVariants

GNU General Public License v3.0
17 stars 12 forks source link

Forge Search Paths not working #38

Closed GrumpyVader closed 2 years ago

GrumpyVader commented 2 years ago

I've running FondryVTT v9.242 hosted on Forge. I added my asset library path to the Search path https://assets.forge-vtt.com//worlds/eom/PCs/tokens. It tries to generate the cache but returns with 0 files found even though I have 7 files sitting in the folder. When I go to the token properties, the Select Token Art dialog return "No art found containing: " even though I have files for the selected character in the folder. Let me know if you need any additional details.

I tested this in a local sandbox, and the only way I could get the Search to work was to place the "tokens/" folder in the Data folder. It seems like if the tokens folder is outside of the User Data root, then the Search cannot scan for the files or folders.

Aedif commented 2 years ago

Hello,

As stated in the module description the format at the moment should be as follows:

https://assets.forge-vtt.com/{userId}/path/to/token/art/

e.g. https://assets.forge-vtt.com/60c3bce11c8d58cc6456808b/worlds/eom/PCs/tokens/

The random string of characters is your user id. To get this url you can go to you asset folder and hover over one of the images and select the linked chain icon to copy the link.

image

I will be making some changes in the future to avoid having to do this but as of right now you need to go through this process ^

GrumpyVader commented 2 years ago

Thank you. I removed my {user id} from my posting. The actual string has it.

Thank you, Eric Ritzie

Sent from my iPhone

On Jan 18, 2022, at 12:29 AM, M. Vaitkus @.***> wrote:



Hello,

As stated in the module description the format at the moment should be as follows:

https://assets.forge-vtt.com/{userId}/path/to/token/art/https://assets.forge-vtt.com/%7BuserId%7D/path/to/token/art/

e.g. https://assets.forge-vtt.com/60c3bce11c8d58cc6456808b/worlds/eom/PCs/tokens/

The random string of characters is your user id. To get this url you can go to you asset folder and hover over one of the images and select the linked chain icon to copy the link.

[image]https://user-images.githubusercontent.com/7693704/149898717-52fb41c4-36b0-4b4e-980c-a0e3301ddce4.png

I will be making some changes in the future to avoid having to do this but as of right now you need to go through this process ^

— Reply to this email directly, view it on GitHubhttps://github.com/Aedif/TokenVariants/issues/38#issuecomment-1015176808, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJK2C37COBOLQEHSP2EZSPDUWUQGFANCNFSM5MGFM77A. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

Aedif commented 2 years ago

Hello,

I just pushed out an update that made some changes to the way Asset Libraries are linked. (1.22.0)

You can now configure the path using this format: forgevtt:worlds/eom/PCs/tokens in the Search Paths menu.

Or the new preferred and faster way is now using the Forge Asset Library Paths settings menu.

https://github.com/Aedif/TokenVariants/releases/tag/1.22.0

Aedif commented 2 years ago

With no additional response I'll asume this was resolved. Feel free to comment under the issue if it persists and I'll re-open it again.