[Download] Movie renamer
#16
Montellese Wrote:Check this post from fekker:

http://forum.xbmc.org/showthread.php?tid=47842

He somehow puts it in the <credits> or <votes> tags. Don't ask me why maybe these are almost never used and he didn't wanna add new ones.

But what mYre provides looks much better.

i used MIP and it does it like i posted <channels>...</channels> and so on
in the new version he doesn't take the credits or votes if i saw it correctly.

cheers

Montellese Wrote:Btw mYre where did you get that XML structure from?
Is this an official suggestion how it will be intregrated in XBMC as a whole?

Because as far as I understand what fekker proposed is just some special way to do it for Aeon atm because it isn't supported by XBMC yet.

out of MIP just tested a file and it gave me the .nfo code like that Smile reloaded library on xbmc and voooila it works Smile

cheers

*EDIT*: Ok i tested it again and didn't work, but this xml code just came from the MIP generated .nfo, i guess / hope djh implements it in the new release/build

by now it just works (like i saw) if you rename the file to for example: hero.2002.720p.bluray.mkv

so it worked for me :S
Reply
#17
Can you check your <credits> tag? Coz the one posted by Hitcher had both tags used.
http://forum.xbmc.org/showpost.php?p=305856&postcount=2

Code:
<credits>Universal_Pictures - 720p DTS 6ch eng eng rum cze</credits>
Reply
#18
Montellese Wrote:Can you check your <credits> tag? Coz the one posted by Hitcher had both tags used.
http://forum.xbmc.org/showpost.php?p=305856&postcount=2

Code:
<credits>Universal_Pictures - 720p DTS 6ch eng eng rum cze</credits>

Here's the whole .nfo i got

Quote:<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<fileinfo>
<lastupdate>2009-03-31T11:27:41.890625+02:00</lastupdate>
<version>1.2</version>
<streamdetails>
<video>
<width>1280</width>
<height>544</height>
<codec>h264</codec>
<formatinfo>AVC</formatinfo>
<duration>1mn 1s 166ms</duration>
<bitrate>7 231 Kbps</bitrate>
<bitratemode />
<bitratemax />
<container>.mkv</container>
<codecid>V_MPEG4/ISO/AVC</codecid>
<codecidinfo />
<scantype>Progressive</scantype>
</video>
<audio>
<language />
<codec>DTS</codec>
<channels>6</channels>
<bitrate>1 536 Kbps</bitrate>
</audio>
</streamdetails>
</fileinfo>
<title>Ying xiong </title>
<rating>8.0</rating>
<year>2002</year>
<top250 />
<votes>66,800</votes>
<outline>A series of Rashomon-like flashback accounts shape the story of how one man defeated three assassins who sought to murder the most powerful warlord in pre-unified China. </outline>
<plot>In ancient China, before the reign of the first emperor, warring factions throughout the Six Kingdoms plot to assassinate the most powerful ruler, Qin. When a minor official defeats Qin's three principal enemies, he is summoned to the palace to tell Qin the story of his surprising victory.</plot>
<tagline>Kono kuni wa mada, hont no hero wo shiranai [Japan] (This land doesn't know a real hero. Yet.) </tagline>
<runtime>99 min | Turkey:89 min (TV version) | China:107 min (extended version) | China:93 min </runtime>
<thumb />
<fanart url="http://www.themoviedb.org/">
<thumb preview="image/backdrops/4289/tt0299977_thumb.jpg">image/backdrops/4289/tt0299977.jpg</thumb>
<thumb preview="image/backdrops/6113/tt0299977_thumb.jpg">image/backdrops/6113/tt0299977.jpg</thumb>
</fanart>
<mpaa> Rated PG-13 for stylized martial arts violence and a scene of sensuality.</mpaa>
<playcount />
<File />
<Path />
<filenameandpath />
<id>tt0299977</id>
<genre>Action / Adventure / History</genre>
<credits />
<director>Yimou Zhang</director>
<premiered />
<status />
<studio>Beijing New Picture Film Co.</studio>
<album />
<trailer />
<watched>no</watched>
<actor>
<name>Jet Li</name>
<role>Nameless</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTI4MjcxMzYwM15BMl5BanBnXkFtZTcwOTAyOTYyMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Tony Leung Chiu Wai</name>
<role>Broken Sword</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjA2Nzk5OTA0N15BMl5BanBnXkFtZTcwMTgzMDcyMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Maggie Cheung</name>
<role>Flying Snow</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BNzQ0MDU0MTg1MF5BMl5BanBnXkFtZTcwMTM0NDEyMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Ziyi Zhang</name>
<role>Moon</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTc3NDM1MDA4OF5BMl5BanBnXkFtZTcwMzE0NzEzMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Daoming Chen</name>
<role>King of Qin</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Donnie Yen</name>
<role>Sky</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjA5NDQxNDE1OV5BMl5BanBnXkFtZTcwNDczNTAyMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Liu Zhong Yuan</name>
<role>Scholar</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Zheng Tia Yong</name>
<role>Old Servant</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Yan Qin</name>
<role>Prime Minister</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Chang Xiao Yang</name>
<role>General</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Yakun Zhang</name>
<role>Commander</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Ma Wen Hua</name>
<role>Head Eunuch</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Jin Ming</name>
<role>Eunuch</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Xu Kuang Hua</name>
<role>Pianist</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Wang Shou Xin</name>
<role>Musician</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
</movie>

i can't see anything in credits oO?
Reply
#19
Well I don't know if fekker already released a version of MIP with the flags in the <credits> tag.
Reply
#20
Is it really such a good idea to rely on info added to the nfos? Everytime I export library to separate files, these gets overwritten.

Too bad I can't use either MIP och Media Companion since they aren't nearly as good scrapers as xbmc itself. MIP is the one that gets closest but not all the way. It can read on a folder name basis but when the renaming starts it all goes wrong. It renames the files based on the folder name.. not based on the filename and the current nfo/fanart/tbh that xbmc has created.
Reply
#21
mindweaver Wrote:Is it really such a good idea to rely on info added to the nfos? Everytime I export library to separate files, these gets overwritten.

Too bad I can't use either MIP och Media Companion since they aren't nearly as good scrapers as xbmc itself. MIP is the one that gets closest but not all the way. It can read on a folder name bases but when the renaming starts it all goes wrong. It renames the files based on the folder name.. not based on the filename and the current nfo/fanart/tbh that xbmc has created.

At weekend, there will be a new release for non english movies, for all outstanding people in here (german, french and so on)

Just be patient we try our best.
Reply
#22
Which programming language are you using? Is it possible to have a look at the source code?
Reply
#23
mindweaver Wrote:Which programmling language are you using? Is it possible to have a look at the source code?

By now it's not possible to have a look at the code Smile

it's mostly developed in c#
Reply
#24
mYre Wrote:By now it's not possible to have a look at the code Smile

it's mostly developed in c#

Ok. Just let me know if you need assistance, I know c#.

Would be nice to extend it's functionality now that Aeon Stark doesn't read filenames no more (as of update v0.91) to have it read the .nfo (if it has mediainfo in it or else add it).

Do you have any guide for using the MediaInfo.dll or have you figured it all out on your own? I would like to try and build something for myself Smile
Reply
#25
mindweaver Wrote:Ok. Just let me know if you need assistance, I know c#.

Would be nice to extend it's functionality now that Aeon Stark doesn't read filenames no more (as of update v0.91) to have it read the .nfo (if it has mediainfo in it or else add it).

Do you have any guide for using the MediaInfo.dll or have you figured it all out on your own? I would like to try and build something for myself Smile

Scrapers are included, the tags are added in the studio section by now.

Help we dont need by now.

MediaInfo is not my Project, we figured it out ourselves, for questions belonging to Media Info please contact Fekker.
Reply
#26
Ok thanks for your answers Smile


One thing annoys me. It keeps finding "Thumb" as a movie. I don't know why? Maybe it is finding the hidden Thumb.db file that exists in all folders in windows. Maybe you should ignore it Smile
Reply
#27
Using MediaInfo is quite simple and straight forward. I used it in a C++ project I wrote about 1-2 years ago.

If you want I could provide you with the files I wrote back then. They sure aren't up-to-date with the newest version but it should be enough to give you an idea on how to use it.

EDIT: Or just go to the MediaInfo website, download the DLL package for your OS and check the "Developers" folder. There's a Doxygen documentation along with example source code for C++, C#, Java, Python and VB. That's what I used to get started with it.
Reply
#28
Montellese Wrote:Using MediaInfo is quite simple and straight forward. I used it in a C++ project I wrote about 1-2 years ago.

If you want I could provide you with the files I wrote back then. They sure aren't up-to-date with the newest version but it should be enough to give you an idea on how to use it.

EDIT: Or just go to the MediaInfo website, download the DLL package for your OS and check the "Developers" folder. There's a Doxygen documentation along with example source code for C++, C#, Java, Python and VB. That's what I used to get started with it.

Yeah I figured it out on my own. But thank you for your post! I had to get the dll and examples elsewhere though, all sourceforge links are broken for windows source/dll.

Started my project now Smile
Reply
#29
mindweaver Wrote:Yeah I figured it out on my own. But thank you for your post! I had to get the dll and examples elsewhere though, all sourceforge links are broken for windows source/dll.

Started my project now Smile

thats just what we need Big Grin Big Grin 1000s of movie apps that all do the same^^
Reply
#30
Well everyone can write his own app if he wants. He doesn't have to distribute it to anyone Wink

Most of the people started coding something that already exists to learn no programming languages or to get into some stuff he didn't know before.

I for my part most often prefer to write my own programs as well because it will do exactly what I want, look exactly the way I want and if something doesn't work I know the guy responsible for it very well ;-)
I also considered writing my own software to do all that tagging and stuff (until I found XBMC I used a self written Media Center and Media Database software) as both Media Companion and MIP don't always do what I want them to do but it's just too much work to get it done quickly Wink
Reply

Logout Mark Read Team Forum Stats Members Help
[Download] Movie renamer0