Hello,
I wanted to Share a Deck, but some media have not been uploaded …
1. Problem :
In my field, I added audio like this using HTML, for example :
<source src="我_sentence4.mp3" type="audio/mp3">
On my deck, the media are correctly played.
I have several Audio per card and it works well, for example :
However, when I share the shared deck, the audio bar are greyed.
The medias are missing and have not been exported.
When I go to Tools > Check Media :
Unused files: 4196
The following files were found in the media folder, but do not appear to be used on any cards:
Unused: 一_sentence0.mp3
Unused: 一_sentence1.mp3
Unused: 一_sentence2.mp3
Unused: 一下_sentence0.mp3
2. A try for a solution :
I followed the documentation here : Static Sounds/Images
Now i do have :
Tools > Check Media :
Unused files: 0
And modified the field of my cards by adding a “_”, :
<source src="_我_sentence4.mp3" type="audio/mp3">
So again, it works well on my side, but when I export the deck, medias are still missing… (this solution seems to be specific only for Card Template ) …
I do not know what to do :
- Any solution to manually upload these media ?
- To tag these media and force export?
- Other ideas ?
Other observation :
Exporting to a collection package works, the media are exported, and when I import the collection to a new user, everything works. (.colpkg)
This is not the case when exporting to a deck package (.apkg)
.
PS Side Topic : search/replace does not work properly, (Work on partial number of cards, but not the full deck)
I had to export the deck to a text file manually, do the change, then reload it.
Version 24.04 (429bc9e1)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1