MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2008-06-04, 14:55   #21 (permalink)
Portal Member
 
Join Date: Oct 2006
Age: 40
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

rtv,

This app should save in the imges in \thumbs\music\folder and not \thumbs\music\artist ??

If the image should go in thumbs\music\folder because the image represents only a folder and not the "full" directory, what would be the use then of thumbs\music\artist ?

I am using the classic Music\Atist\Album\Tracks; perhaps for someone using a different format ???

Tx again for your help.

----------

UPDATE:

rtv,

So far I haven't go it to work.

Is there any reboot / rescan involved in the process ?

Everything seams to be working as you plan except for the "Paste rename with F2". If I select the pic once copied in the thumbs\music\folder F2 will not paste anything.The copying part with the clic does work since I can paste the file name (number) to notepad. I've tried different approch: rename + F2 and rename + paste with context menu (or ctrl + v). The "rename and paste" works. I then remove the .jpg manually from the file name, but the image still does not show in a Artist View (only see icons).

Is the F2 renaming just a straight forward paste or will it add info to the db ?

There is probably something I am not doing right but can't figure what:

folder choice ?? rescan ?? pasting / renaming / ?? F2 ??

I don't mind doing a sreencast (with/without audio) so you can see my workflow.

I'll give it another shot tonight.

Regards.

Last edited by PC_Pal68; 2008-06-04 at 22:27. Reason: Automerged Doublepost
PC_Pal68 is offline   Reply With Quote
Old 2008-06-07, 02:08   #22 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,666
Thanks: 116
Thanked 124 Times in 85 Posts

Country:

My System

Default

Quote:
Originally Posted by PC_Pal68 View Post
So what you are saying is that MP right now, cannot add images if their isn't any media file in that folder?

Is that something that can be change/corrected?
This has been the purpose of the tool...
However I am "fixing" the way MP creates those thumbnails which are mainly used for shares view.
You can test my progress with next SVN. This should already detect all folder.jpg files in your directories configured for scanning.

Needs some tweaking still to detect other image types without decreasing performance, etc but in general it should work now.

Btw: for database views I kindly repeat myself - either:
- live with the 4 pic album preview collection thumbs
- put your own <artist>.jpg files into the thumbs\artist dir
- use the audioscrobbler artist art downloader to do that automatically
__________________
rtv is offline   Reply With Quote
Old 2008-06-07, 15:53   #23 (permalink)
Portal Member
 
Join Date: Oct 2006
Age: 40
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Btw: for database views I kindly repeat myself - either:
- live with the 4 pic album preview collection thumbs
- put your own <artist>.jpg files into the thumbs\artist dir
- use the audioscrobbler artist art downloader to do that automatically
I think I understand. The small programme and the SVN are not going to help me. I've install the latest svn and it does scan the folder.jpg that are alone in a folder. These images are add to \thumbs\music\folder but do not show in db view to represent an artist. To do so, I need to place all the artist images (called folder.jpg) in thumbs\music\artist and rename the image file: artistname.jpg

Right ?

rtv,

Tell me what is the advantage of adding the lone folder.jpg files to the db (in \thumbs\music\folder). If the images do not show in db view, and they already appeared in share view, what is the purpose of all this? Perhaps I've missed something or maybe you have something in mind further down the road that I can't/don't understand.

Meanwhile, I will try to find a batch renaming software that would rename a file with the same name as it's own folder + file extension filter (.jpg) ?!?!?!?!? Seams like a long shot.
PC_Pal68 is offline   Reply With Quote
Old 2008-06-08, 04:53   #24 (permalink)
Portal Member
 
Join Date: Oct 2006
Age: 40
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

I've downloaded a free prog: Advance Renamer. It seamed "powerfull" enough to do the renaming job I need. It does parent renaming. Good thing. Il be able to batch rename all my artist's folder.jpg to artistname.jpg and them save the image files to \thumbs\music\artist.

I just thought of one thing. I actually might not want to directly rename the files.Perhaps I should keep a copy of folder.jpg. It works fine in shares and who knows if MP will use those "artist folder.jpg" in db view correctly in the futur.

What I really want is to copy + rename to new location. So I need the <NameDir> fonction but I also need the fonction that would enable me to copy and specify the new dir or path. It doesn't look like Advance Renamer will enable me to copy and rename or to change the dir of the "newly named files".

So bassically I want:

- foler.jpg to stay where they are
- rename <NameDir> and copy/save the "newly named files" in thumbs\music\artist.

I'm not sure I'll find a "all in one" solution that will enable me to do all of this. Can someone think of a process or workflow (involving perhaps multiple prog) that would result in what I am looking for?

Regards.
PC_Pal68 is offline   Reply With Quote
Old 2008-06-15, 05:49   #25 (permalink)
Portal Member
 
coopers's Avatar
 
Join Date: Nov 2005
Location: Adelaide
Posts: 150
Thanks: 3
Thanked 2 Times in 2 Posts

Country:

My System

Default

Hey, I wrote a script that maybe will help you.

The script is not nearly as fancy as rtv's application - I suggest running the .bat file I have put with it on the dos cmd window, so that if it complains you can see the errors.

Basically the script takes two argumenst - the path to your music folder top level, and the path to your MP thumbs dir. So, you will need to edit the .bat file if the paths I have in there don't match yours.

Then the script just runs, it copies any FOLDER.jpg files it finds inside the "1st level" of directories (which should be your artist directories) to the mp thumbs folder, and renames them the right thing. So, when you view the db artists, hopefully the jpgs will appear correctly for you in MP.

The source code of the script is in the .py file, if you're interested in looking at what it really does.

hope it helps, it seems to have worked for me!
The rar is attached.
Attached Files
File Type: rar folderjpgtoartist.rar (1.31 MB, 3 views)
coopers is offline   Reply With Quote
Old 2008-06-15, 07:54   #26 (permalink)
Portal Member
 
Join Date: Oct 2006
Age: 40
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Coopers,

This sounds like a perfect fit. I was holding on the rename fonction. This script sounds much better. I will give it a try in a few days and report back.

Thank you for your help.
PC_Pal68 is offline   Reply With Quote
Old 2008-06-15, 19:44   #27 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,666
Thanks: 116
Thanked 124 Times in 85 Posts

Country:

My System

Default

Sorry coopers - this is already working in the latest SVN build

As long as you've got the option to use all (*.png / *.jpg) covers enabled MP will use them when importing shares. In addition it will not only use images for the first level but ALL levels where covers are found.

Example:
.\Music\Rock\AC/DC\AC/DC - 1992 - Live\01 - Ac-Dc - Thunderstruck.mp3

You can have a genre image like this:
.\Music\Rock\Rock.png or .\Music\Rock\folder.jpg

You can have an artist level image like this:
.\Music\Rock\AC/DC\AC-DC band image.png or .\Music\Rock\AC/DC\folder.jpg

etc...
__________________
rtv is offline   Reply With Quote
Old 2008-06-16, 02:59   #28 (permalink)
Portal Member
 
coopers's Avatar
 
Join Date: Nov 2005
Location: Adelaide
Posts: 150
Thanks: 3
Thanked 2 Times in 2 Posts

Country:

My System

Default

Cool... so how does MP know what format your directories are?

I mean, when you set it up like:
music/genre/artist/album

vs music/artist/album

vs music/genre

vs music/album

etc?

Can you tell MP what your directory format is?


edit: And that's fine, the script is short, and I've been wanting to learn python.
coopers is offline   Reply With Quote
Old 2008-06-16, 10:28   #29 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,666
Thanks: 116
Thanked 124 Times in 85 Posts

Country:

My System

Default

Quote:
Originally Posted by coopers View Post
Can you tell MP what your directory format is?
No - MP assumes that cover art is placed there on purpose - if you put a Britney Spears image in your "Hard Rock" directory it will still trust you
__________________
rtv is offline   Reply With Quote
Old 2008-06-16, 11:49   #30 (permalink)
Portal Member
 
coopers's Avatar
 
Join Date: Nov 2005
Location: Adelaide
Posts: 150
Thanks: 3
Thanked 2 Times in 2 Posts

Country:

My System

Default

Yeah sure.

But what I really mean, is that people have different ways to organize the music dir. So when MP is populating it's database, how does MP tell the difference between a structure like:
music/artist/album, and
music/genre/album?
coopers is offline   Reply With Quote
Reply

Bookmarks

Tags
database, folderjpg, shares

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bug with folder.jpg does not display properly when it is a root movie folder vinder 1.0 RC1 and SVN Builds 2 2008-06-17 12:20
Folder.jpg again frank75 MediaPortal 1 Talk 2 2008-03-28 12:24
Use All Files in folder as one with folder.jpg GAMe watch/edit Videos 3 2007-08-14 04:06
Folder.jpg in my videos juandionis General Support 6 2007-01-04 22:02
MYPictures and Folder.jpg krl69 General Support 7 2006-11-10 15:07


All times are GMT +1. The time now is 20:48.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden