2017-11-01, 13:27
Line 12:16:42:580
(2017-11-01, 13:24)bibi Wrote: Hi,
I just tried your plugin, but it doesnt launch...
Here is the log, see at the end :
http://sprunge.us/jRUH
(2017-11-02, 03:19)dataghost1984 Wrote: Sorry for questions. I have it set up to scrape box front and backs. Is there a recommended site to use for scraping in the Advanced Emulator Launcher settings? One that works better then another etc. I am currently using TheGamesDB but it is not picking up art for the back for some reason. Thank you again.
Quote:The scrapers can be used by the ROM Scanner or via the Launcher/ROM context menu. Note that at the moment only the ROM Scanner can do batch scraping. With the context menu you can only scrape individual Launchers or ROMs.
#!/bin/bash
videomode=$1
sysport=$2
system=$3
rom=$4
filename="/home/pi/.kodi/userdata/kodi.launch"
kodi_rpc()
{
METHOD="$1"
json_str="{\"jsonrpc\":\"2.0\",\"id\":\"1\",\"method\":\"$METHOD\"}\""
curl -H "Content-type: application/json" -d "$json_str" http://localhost:8080/jsonrpc
}
touch $filename
launchID=$(tail --lines=30 /home/pi/.kodi/temp/kodi.log | grep launcherID | grep -v grep | awk '{print $9}')
catID=$(tail --lines=30 /home/pi/.kodi/temp/kodi.log | grep categoryID | grep -v grep | awk '{print $9}')
romID=$(tail --lines=30 /home/pi/.kodi/temp/kodi.log | grep romID | grep -v grep | awk '{print $9}')
#ps -ef | grep kodi_v | grep -v grep | awk '{print $2}' | xargs kill
kodi_rpc "Application.Quit"
echo -e "$catID" > $filename
echo -e "$launchID" >> $filename
echo -e "$romID" >> $filename
/opt/retropie/supplementary/runcommand/runcommand.sh $videomode $sysport $system "${rom}"
wait
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _PORT_ kodi
(2017-11-04, 15:22)crono141 Wrote: Well, I've read the scrapers demystified post, and I'm still mystified. Here's the problem:
Quote:The scrapers can be used by the ROM Scanner or via the Launcher/ROM context menu. Note that at the moment only the ROM Scanner can do batch scraping. With the context menu you can only scrape individual Launchers or ROMs.
I have no option to invoke the scraper from the launcher/rom context menu. The only options I have are pointing the roms at different local artwork. There is no mention of the scraper at all. And even when I have scraper settings set up correction, nothing gets scraped on rom import either.
(2017-11-04, 15:22)crono141 Wrote: Also, I tried the kodi_rpc() function in my script here
Code:#!/bin/bash
videomode=$1
sysport=$2
system=$3
rom=$4
filename="/home/pi/.kodi/userdata/kodi.launch"
kodi_rpc()
{
METHOD="$1"
json_str="{\"jsonrpc\":\"2.0\",\"id\":\"1\",\"method\":\"$METHOD\"}\""
curl -H "Content-type: application/json" -d "$json_str" http://localhost:8080/jsonrpc
}
touch $filename
launchID=$(tail --lines=30 /home/pi/.kodi/temp/kodi.log | grep launcherID | grep -v grep | awk '{print $9}')
catID=$(tail --lines=30 /home/pi/.kodi/temp/kodi.log | grep categoryID | grep -v grep | awk '{print $9}')
romID=$(tail --lines=30 /home/pi/.kodi/temp/kodi.log | grep romID | grep -v grep | awk '{print $9}')
#ps -ef | grep kodi_v | grep -v grep | awk '{print $2}' | xargs kill
kodi_rpc "Application.Quit"
echo -e "$catID" > $filename
echo -e "$launchID" >> $filename
echo -e "$romID" >> $filename
/opt/retropie/supplementary/runcommand/runcommand.sh $videomode $sysport $system "${rom}"
wait
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _PORT_ kodi
And it did not successfully quit Kodi. I do notice a lot of "escaped" quotes, which I'm not sure is required or not. I use non-escaped quotes in my runcommand line and it executes ok.
(2017-11-04, 20:54)h3llrais3r Wrote: @Wintermute0110 Bug found in GameDBInfo of Sega MegaDrive: See https://github.com/Wintermute0110/plugin.../issues/46
This causes the roms to be labeled in kodi with the year instead of the description.
(2017-11-05, 02:11)stanger192 Wrote: Hi,
Thanks for your work on this addon - its a vast improvement over the original AL.
Is there any chance you could implement a LaunchBox importer? LB has the most comprehensive and fastest scraper I have used, which covers a slew of platforms, plus rom management is easy due to having a desktop gui. With an emumovies account it will pull the standard covers, plus additional artwork such as music, game + platform video snaps and pdf manuals. Only issue with LB is that the BigBox interface is a paid product which doesn't hold a candle to the slickness of Kodi.
(2017-11-06, 12:58)Wintermute0110 Wrote: To scrape single ROM artwork: 1) Browse to the ROM you want to scrape artwork and open the ROM context menu. 2) Select "Edit ROM". 3) Select "Edit Assets/Artwork". 4) Select the artwork type you want, for example "Edit Title..." 4) A new select dialog shows up with options "Select local image", "Import local image (copy and rename)", "Unset artwork/asset". After "Unset artwork/asset" you have the scrapers. Note that the scrapers you see depend of the artwork type and the platform. AEL is intelligent enough to display only the scrapers that support the particular asset type. For example, if you are scraping the Title of a ROM whose platform is not MAME, then you will see "Scrape Title from TheGamesDB", "Scrape Title from GameFAQs", "Scrape Title from MobyGames".
Couple of things:
1) When I developed the script I used /bin/sh in Ubuntu and you are using bash. I'm not sure if there could be some incompatibilities from bash and sh for this script.
2) All the quotes are strictly necessary (at least in sh).
3) Have you activated the "Non-blocking launcher" option?
(2017-11-06, 22:51)dataghost1984 Wrote: What is the likelyhood of launching games off http/https I have a server I want to upload some of my collections to, I edited the json to an online link and it said rom not found. I would be interested in that. This runs amazing, absolutely love this addon!!!! Thank you so much!