Posts: 5,299
Joined: Jul 2012
Reputation:
346
If you just want to get musicvideos into the video library, if they are mp4 you can use tagging software to add title, artist, album, track no, genre, and cover art (poster). It might also work for mkv but I haven't tested. You need to enable video file tag reading in the settings (default is off/no). Mp3tag is a freeware one (despite the name it tags various file formats).
scott s.
.
Posts: 1,472
Joined: Jan 2018
2019-09-25, 11:52
(This post was last modified: 2019-09-25, 11:59 by User 405025.)
(2019-09-22, 07:59)zaidrockso Wrote: So i have given up on https://archive.codeplex.com/?p=popatopdad
Works for exactly what i need, but sadly doesn't seem to work for anything that's not English, I'm trying to create nfos for music videos in russian
Or anyway to scrape/ create nfos for music videos, audiodb/imvdb are very poor when it comes to unpopular / non-english songs.
Is there any NFO creator that will do what i want?
I just need it to make nfos for my library, all it needs to do is
>Musicvideo<
>title<
If you are on windows you can use this batch file.
(
video for proof)
It'll create nfo recursively. BUT IT'll OVERWRITE EXISTING ONES
i recommend using
folder/file.ext
artistname - title/artistname - title.ext
even if it'll work if all files are in one folder.
I am just unable to split artist and title from path, so artist and title will be the same.
Best Practice will be
1. Do lib Scan
2. Run Batch File
3. Export Library (will force overwrite existing file nfo)
4. rescan library
bat:
@echo off
REM Windows Title
TITLE NFO creator Musicvideos
COLOR B
ECHO -------------------------------------------------------------------------
ECHO Create NFO for Musicvideos, all existing will be overwritten
ECHO Push key to Start
ECHO -------------------------------------------------------------------------
ECHO.
PAUSE > NUL
for /r %%a in (*.mkv *.avi *.mp4) do (
(
echo ^<?xml version="1.0" encoding="UTF-8" standalone="yes"?^>
echo ^<musicvideo^>
for %%b in ("%%~na") do echo ^ ^<title^>%%~b^</title^>
echo ^ ^<^!-- start test set attributes --^>
for %%b in ("%%~na") do echo ^ ^<path^>%~dp0^</path^>
for %%b in ("%%~na") do echo ^ ^<name^>%%~na^</name^>
for %%b in ("%%~na") do echo ^ ^<filenameandpath^>%%~a^</filenameandpath^>
echo ^ ^<^!-- end test https://kodi.wiki/view/NFO_files/Music_videos --^>
REM test end
echo ^ ^<rating^>^0.000000^</rating^>
echo ^ ^<userrating^>^8^</userrating^>
echo ^ ^<epbookmark^>^0.000000^</epbookmark^>
echo ^ ^<year^>^</year^>
echo ^ ^<track^>^-1^</track^>
echo ^ ^<album^>^</album^>
echo ^ ^<artist^>^</artist^>
echo ^ ^<genre^>^</genre^>
echo ^ ^<outline^>^</outline^>
echo ^ ^<plot^>^</plot^>
echo ^ ^<tagline^>^</tagline^>
echo ^ ^<thumb^>^</thumb^>
echo ^ ^<status^>^</status^>
echo ^ ^<studio^>^</studio^>
echo ^ ^<art^>
echo ^ ^<fanart^>%~dp0^%%~na^-fanart.jpg^</fanart^>
echo ^ ^<poster^>%~dp0^%%~na^-poster.jpg^</poster^>
echo ^ ^<artistthumb^>%~dp0^%%~na^-artistthumb.jpg^</artistthumb^>
echo ^ ^<banner^>%~dp0^%%~na^-banner.jpg^</banner^>
echo ^ ^<clearlogo^>%~dp0^%%~na^-clearlogo.png^</clearlogo^>
echo ^ ^<discart^>%~dp0^%%~na^-discart.png^</discart^>
echo ^ ^<landscape^>%~dp0^%%~na^-landscape.jpg^</landscape^>
echo ^ ^</art^>
echo ^</musicvideo^>
)>"%%~dpna.nfo"
)
ECHO.
ECHO Creatin is done
ECHO Push key to exit
ECHO.
PAUSE > NUL
Posts: 1,472
Joined: Jan 2018
2019-09-26, 11:08
(This post was last modified: 2019-09-26, 11:16 by User 405025.)
(2019-09-25, 23:27)zaidrockso Wrote: (2019-09-25, 11:52)mardukL Wrote: (2019-09-22, 07:59)zaidrockso Wrote: So i have given up on https://archive.codeplex.com/?p=popatopdad
Works for exactly what i need, but sadly doesn't seem to work for anything that's not English, I'm trying to create nfos for music videos in russian
Or anyway to scrape/ create nfos for music videos, audiodb/imvdb are very poor when it comes to unpopular / non-english songs.
Is there any NFO creator that will do what i want?
I just need it to make nfos for my library, all it needs to do is
>Musicvideo<
>title<
If you are on windows you can use this batch file.
(video for proof)
It'll create nfo recursively. BUT IT'll OVERWRITE EXISTING ONES
i recommend using
folder/file.ext
artistname - title/artistname - title.ext
even if it'll work if all files are in one folder.
I am just unable to split artist and title from path, so artist and title will be the same.
Best Practice will be
1. Do lib Scan
2. Run Batch File
3. Export Library (will force overwrite existing file nfo)
4. rescan library
bat:
@echo off
REM Windows Title
TITLE NFO creator Musicvideos
COLOR B
ECHO -------------------------------------------------------------------------
ECHO Create NFO for Musicvideos, all existing will be overwritten
ECHO Push key to Start
ECHO -------------------------------------------------------------------------
ECHO.
PAUSE > NUL
for /r %%a in (*.mkv *.avi *.mp4) do (
(
echo ^<?xml version="1.0" encoding="UTF-8" standalone="yes"?^>
echo ^<musicvideo^>
for %%b in ("%%~na") do echo ^ ^<title^>%%~b^</title^>
echo ^ ^<^!-- start test set attributes --^>
for %%b in ("%%~na") do echo ^ ^<path^>%~dp0^</path^>
for %%b in ("%%~na") do echo ^ ^<name^>%%~na^</name^>
for %%b in ("%%~na") do echo ^ ^<filenameandpath^>%%~a^</filenameandpath^>
echo ^ ^<^!-- end test https://kodi.wiki/view/NFO_files/Music_videos --^>
REM test end
echo ^ ^<rating^>^0.000000^</rating^>
echo ^ ^<userrating^>^8^</userrating^>
echo ^ ^<epbookmark^>^0.000000^</epbookmark^>
echo ^ ^<year^>^</year^>
echo ^ ^<track^>^-1^</track^>
echo ^ ^<album^>^</album^>
echo ^ ^<artist^>^</artist^>
echo ^ ^<genre^>^</genre^>
echo ^ ^<outline^>^</outline^>
echo ^ ^<plot^>^</plot^>
echo ^ ^<tagline^>^</tagline^>
echo ^ ^<thumb^>^</thumb^>
echo ^ ^<status^>^</status^>
echo ^ ^<studio^>^</studio^>
echo ^ ^<art^>
echo ^ ^<fanart^>%~dp0^%%~na^-fanart.jpg^</fanart^>
echo ^ ^<poster^>%~dp0^%%~na^-poster.jpg^</poster^>
echo ^ ^<artistthumb^>%~dp0^%%~na^-artistthumb.jpg^</artistthumb^>
echo ^ ^<banner^>%~dp0^%%~na^-banner.jpg^</banner^>
echo ^ ^<clearlogo^>%~dp0^%%~na^-clearlogo.png^</clearlogo^>
echo ^ ^<discart^>%~dp0^%%~na^-discart.png^</discart^>
echo ^ ^<landscape^>%~dp0^%%~na^-landscape.jpg^</landscape^>
echo ^ ^</art^>
echo ^</musicvideo^>
)>"%%~dpna.nfo"
)
ECHO.
ECHO Creatin is done
ECHO Push key to exit
ECHO.
PAUSE > NUL
Not working for me, mind having a look?
https://streamable.com/jbsxv
i could't see if you press a key.
1. double click .bat
2. press 'enter' key , when 'Push key to Start' is shown
this force run operation
3. wait till finished and message
'Creatin is done' occurs and hit 'enter' again.
Does that work?
Posts: 1,472
Joined: Jan 2018
(2019-09-26, 11:32)zaidrockso Wrote: (2019-09-26, 11:08)mardukL Wrote: (2019-09-25, 23:27)zaidrockso Wrote: Not working for me, mind having a look?
https://streamable.com/jbsxv
i could't see if you press a key.
1. double click .bat
2. press 'enter' key , when 'Push key to Start' is shown
this force run operation
3. wait till finished and message
'Creatin is done' occurs and hit 'enter' again.
Does that work?
That's what i did, just doesn't do anything, did another streamable
and yes i pressed enter when it asks to press a key, when i press enter it shuts down.
https://streamable.com/9ds7a
can you run it again on another path/location other than userdata folders like 'desktop'
e.g
create folder on your hdd/ssd
c:/data/musicvideofiles/