MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » View Pictures


View Pictures General talk, support, improvement suggestions and tips & tricks

Reply
 
LinkBack Thread Tools Display Modes
Old 2007-10-28, 15:56   #1 (permalink)
Portal Member
 
Join Date: Sep 2007
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post


Default modified Slideshow plugin

I modified the slideshow function of media portal, since it seemed to already have most of the features I need

R3
----
Changes:
lots of changes, here are the most important ones:
- Adds/changes JPEG comment marker
- if "c:\dontKeepBackups.txt" exists, backups of images are not kept when editing comment
- Date format fixed (was previously using wrong ExifExtractor.cs.)
- Added "edit comment"-string to strings_en.xml
- new class "MediaPortal.GUI.Pictures.JPEGCommentHandler"
- Slideshow first tries to show JPEG comment as comment, then EXIF comment, then filename(without extension)
- "Edit Comment" added to slideshow context menu
- Added new action ACTION_EDIT_JPEG_COMMENT=9991

Known bugs:
- If the comment is too long, it's not shown.
- Multiline comments don't work well (for example the shorter row is not centered).
- The current cursor is not perfect

See readme.txt in .zip for older changes.

The OSD shows exif info depending on what controls exist in the skin's slideshow.xml file. See the readme.txt for more info.

Comments / suggestions welcome.

Here is the .zip, installation instructions in readme.txt:
current version:
(attachment)

older versions:
slideshowMod-R2.1.ZIP
slideshowMod-R2.ZIP

Screenshot taken with sleepycol's slideshow.xml:
Attached Thumbnails
modified-slideshow-plugin-scrshot.jpg  
Attached Files
File Type: zip R3.ZIP (3.72 MB, 81 views)

Last edited by RaveDude; 2007-11-04 at 10:18.
RaveDude is offline   Reply With Quote
This User Say Thank You:
Old 2007-10-28, 17:12   #2 (permalink)
Portal Member
 
rekenaar's Avatar
 
Join Date: Dec 2006
Age: 36
Posts: 562
Thanks: 14
Thanked 18 Times in 17 Posts

Country:

My System

Default

Sounds great. I was looking for exif comments osd for a long time. I will try it out later.

Thank you.
__________________
Ondersteun Afrikaans!
******************
Most wanted feature:
playlist-on-steroids
******************

Rekenaar
rekenaar is offline   Reply With Quote
Old 2007-10-28, 18:45   #3 (permalink)
Portal Member
 
Join Date: Jun 2006
Posts: 247
Thanks: 0
Thanked 3 Times in 3 Posts

Country:


Default

Hi,

This sounds great. Is it possible to use this with the 4:3 skin? Ie could I copy the modified files to the 4:3 bluetwo skin folder? If so, which files are modified?


Cheers,

Colin
sleepycol is offline   Reply With Quote
Old 2007-10-29, 06:05   #4 (permalink)
Portal Member
 
Join Date: Sep 2007
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post


Default

I quickly edited this slideshow.xml for 4:3 users. Create a copy of the original BlueTwo skin and replace slideshow.xml with this one.
Attached Files
File Type: xml slideshow.xml (4.8 KB, 15 views)
RaveDude is offline   Reply With Quote
Old 2007-10-29, 19:27   #5 (permalink)
Portal Member
 
Join Date: Jun 2006
Posts: 247
Thanks: 0
Thanked 3 Times in 3 Posts

Country:


Default

Hi,

Replaced the bluetwo slideshow.xml file with the one you provided above. When I press the info button (F3) when viewing a picture an OSD is displayed. However, only the file number was displayed. I looked inside the xml file and removed the rem'd comments <!-- but this still didnt allow any exif info to be displayed. The pictures definitely have exif info as i can see it in the info of windows explorer.

Any ideas?

Cheers,
Colin
sleepycol is offline   Reply With Quote
Old 2007-10-29, 21:52   #6 (permalink)
Portal Member
 
Join Date: Sep 2007
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post


Default

Can you see any info if you choose "properties" from the context menu?
RaveDude is offline   Reply With Quote
Old 2007-10-29, 21:55   #7 (permalink)
Portal Member
 
Join Date: Jun 2006
Posts: 247
Thanks: 0
Thanked 3 Times in 3 Posts

Country:


Default

no, i tried that too and its the same view as pressing the info button
sleepycol is offline   Reply With Quote
Old 2007-10-29, 22:20   #8 (permalink)
Portal Member
 
Join Date: Sep 2007
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post


Default

Can you try with the image "IMG_0650.jpg" from this .zip.
The "F3.jpg" and "properties.jpg" show what it should look like.

images.ZIP
RaveDude is offline   Reply With Quote
Old 2007-10-30, 17:25   #9 (permalink)
Portal Member
 
Join Date: Jun 2006
Posts: 247
Thanks: 0
Thanked 3 Times in 3 Posts

Country:


Default

Hi Rave,

Still nothing displayed even with the file you provided. The OSD is empty. Maybe I need to change another file apart from the slideshow.xml?

Should it display exif info with the slideshow.xml file as you provided? or do i need to edit it to get something displayed?

Cheers,
Colin
sleepycol is offline   Reply With Quote
Old 2007-10-30, 18:43   #10 (permalink)
Portal Member
 
Join Date: Sep 2007
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post


Default

The only edited file in the "BlueTwo Wide RD" skin is slideshow.xml, otherwise the skin is identical to the original "BlueTwo Wide".

The slideshow.xml I provided in the later post is basically the same but the positions and sizes of the controls have been modified for 4:3.

Did you copy the contents of the "bin" folder from slideshowMod-R2.ZIP to the mediaportal directory? Mainly the <mediaportal directory>\plugins\Windows\WindowPlugins.dll must be overwritten from the one from this .zip.

I am using an svn version from about a week ago and it works on that at least.

But the weird thing is that you don't see any info even when you choose properties from the context menu. That should work even without my mod. My mod only shows the same info on the osd..

I just realized my first post is a bit unclear... Someone might get the impression that the modified plugin is in the SVN.. I'll edit it a bit to make it more clear how to install the mod etc.. sorry about that.

Last edited by RaveDude; 2007-10-30 at 19:06.
RaveDude is offline   Reply With Quote
Reply

Bookmarks

Tags
modified, plugin, slideshow

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slideshow as visualization ggt-labz Support 5 2007-07-31 18:00
MCE Remote Driver (modified) Raice General 0 2007-06-15 05:41
upload modified pluginfile to website Vulture Website/Forum/Wiki Feedback 2 2006-10-18 01:05
Modified XBOX DVD remote support. BEan Improvement Suggestions 3 2005-07-07 16:54
[PATCH] Modified cdlabel management for imported video DB Mecmago General Development (no feature request here!) 1 2005-04-26 14:01


All times are GMT +1. The time now is 16:51.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress