Custom tag

Type: 
Plugin
Compatibility: 
Mnemosyne 1.1.1 +
Status: 
Complete
Author: 
Peter Bienstman
Description: 

Plugin to intercept a custom tag of the form in the question and answer text, and open its content in a separate program.

Edit the file and change the following variables to what you want:

tag_name = "my_tag"
tag_program = "/bin/cat"

Note: under Windows, you might need to specify the full path of the program location.

AttachmentSize
custom_tag.py_.txt1.85 KB

Playing mp3s in XP

When trying to play mp3s in external programs under Windows XP:

Haven't been able to get vlc to open this way (might need to add some arguments for it to open properly)
Windows media player runs, but seems to have problems recognising the arguments for the file to be played.

However windows media player classic does seem to work:

tag_program = """\"C:\Program Files\Windows Media Player\mplayer2.exe\""""

You can add parameters too!

I like to launch videos with Media Player Classic in "fullscreen" mode! Simply add the text >> /fullscreen << as in the following example:

tag_program = """\"C:\mplayerc.exe /fullscreen\""""