Author Topic: Echo or print name of romlist  (Read 1360 times)

spud1

  • Full Member
  • ***
  • Posts: 40
    • View Profile
Echo or print name of romlist
« on: April 25, 2019, 06:01:29 AM »
In a Plugin I've created, I'm able to send the name of the Display to a file by using the command:

fe.plugin_command( "/usr/bin/printf9.sh", "\"" + fe.list.name + "\"" );

The above plugin command then invokes the printf9.sh bash script as follows;

#!/bin/bash
sudo /usr/bin/printf "$1" > "/home/pi/.attract/romlists/FAVOURITES/$1.temp"


However, instead of the name of the Display (ie fe.list.name), is there a way of sending the name of the Romlist to a file please?