Write LUA script to retrieve array of data from text file
$40-60 USD
Completed
Posted over 7 years ago
$40-60 USD
Paid on delivery
We have an constantly updated media server containing movies with posters
And it's generating list of newest item everyday using ubuntu script.
And we need LUA script to generate several data in array from the text file, this will be used in rainmeter skin project here
[login to view URL]
The script must work in rainmeter and follows this guide
[login to view URL]
Here's an example of the new item text file :
[login to view URL] (movie database) :
//CEMARA14/FILM_BARAT/Barat 0-H/A/ARQ (2016) 1080p WEBRip/ARQ.2016.1080p.WEBRip.x264.AAC-m2g[PRiME].mkv
//CEMARA14/FILM_BARAT/Barat I-S/J/Jawbreaker (1999) BRRip 720p/Jawbreaker 1999 BRRip XvidHD [login to view URL]
//CEMARA14/FILM_BARAT/Barat I-S/L/Last Year At Marienbad (1961) BluRay 720p/[login to view URL]
//CEMARA14/FILM_BARAT/Barat I-S/L/Les Nouvelles Aventures D Aladin (2015) 1080p BluRay/[login to view URL]
[login to view URL] (tvshow database) :
//CEMARA14/Serial_Barat/Serial_Barat_A-E/Dark Matter/Season 2/Dark Matter - S02E13 - But First, We Save the Galaxy - [login to view URL]
//CEMARA14/Serial_Barat/Serial_Barat_F-J/Fear The Walking Dead/Season 2/Fear the Walking Dead - S02E12 - Pillar of Salt - [login to view URL]
//CEMARA14/Serial_Barat/Serial_Barat_K-O/Lucifer - Season 1 [2015]/Season 2 (2016)/Lucifer.S02E01.720p.HDTV.X264-DIMENSION[ettv].mkv
//CEMARA14/Serial_Barat/Serial_Barat_P-T/The Strain [2014]/Season 3 (2016)/The Strain - S03E04 - Gone But Not Forgotten - [login to view URL]
From these database there are several values that must be extracted to be used in the skin
For Movie database :
1. Address to the media file,
e.g :
//CEMARA14/FILM_BARAT/Barat 0-H/A/ARQ (2016) 1080p WEBRip/ARQ.2016.1080p.WEBRip.x264.AAC-m2g[PRiME].mkv
2. Movie name, from the folder name containing the movie
e.g :
ARQ (2016) 1080p WEBRip
3. [login to view URL] address, can be read by replacing the file name in movie address with [login to view URL]
e.g :
//CEMARA14/FILM_BARAT/Barat 0-H/A/ARQ (2016) 1080p WEBRip/[login to view URL]
//CEMARA14/FILM_BARAT/Barat I-S/J/Jawbreaker (1999) BRRip 720p/[login to view URL]
For Tv Show skin :
1. Address to the media file, same principle as movie skin
e.g :
//CEMARA14/Serial_Barat/Serial_Barat_A-E/Dark Matter/Season 2/Dark Matter - S02E13 - But First, We Save the Galaxy - [login to view URL]
2. Tv Show name, from 2 folders above episode file.
eg:
Dark Matter
Fear The Walking Dead
3. Episode Name, Episode filename without extension
e.g:
Dark Matter - S02E13 - But First, We Save the Galaxy - AVS
Fear the Walking Dead - S02E12 - Pillar of Salt - AVS
4. [login to view URL] address, from Tvshow name address followed by [login to view URL]
e.g:
//CEMARA14/Serial_Barat/Serial_Barat_A-E/Dark Matter/[login to view URL]
//CEMARA14/Serial_Barat/Serial_Barat_F-J/Fear The Walking Dead/[login to view URL]
If you have any question please PM me.