Skip to content

Commit

Permalink
[Pictures] Move metadata extraction to metadata folder
Browse files Browse the repository at this point in the history
  • Loading branch information
enen92 committed Jun 22, 2024
1 parent 0c1d7e8 commit 430afbf
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions cmake/treedata/common/subdirs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ xbmc/imagefiles imagefiles
xbmc/messaging messaging
xbmc/messaging/helpers messagingHelpers
xbmc/pictures pictures
xbmc/pictures/metadata pictures_metadata
xbmc/platform platform
xbmc/playlists playlists
xbmc/powermanagement powermanagement
Expand Down
5 changes: 0 additions & 5 deletions xbmc/pictures/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ set(SOURCES GUIDialogPictureInfo.cpp
GUIViewStatePictures.cpp
GUIWindowPictures.cpp
GUIWindowSlideShow.cpp
ImageMetadataParser.cpp
Picture.cpp
PictureFolderImageFileLoader.cpp
PictureInfoLoader.cpp
Expand All @@ -13,14 +12,10 @@ set(SOURCES GUIDialogPictureInfo.cpp
SlideShowPicture.cpp)

set(HEADERS interfaces/ISlideShowDelegate.h
Exif.h
GUIDialogPictureInfo.h
GUIViewStatePictures.h
GUIWindowPictures.h
GUIWindowSlideShow.h
ImageMetadata.h
ImageMetadataParser.h
Iptc.h
Picture.h
PictureFolderImageFileLoader.h
PictureInfoLoader.h
Expand Down
2 changes: 1 addition & 1 deletion xbmc/pictures/PictureInfoTag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

#include "PictureInfoTag.h"

#include "ImageMetadataParser.h"
#include "ServiceBroker.h"
#include "addons/ExtsMimeSupportList.h"
#include "addons/ImageDecoder.h"
#include "addons/addoninfo/AddonType.h"
#include "guilib/guiinfo/GUIInfoLabels.h"
#include "pictures/metadata/ImageMetadataParser.h"
#include "utils/Archive.h"
#include "utils/CharsetConverter.h"
#include "utils/StringUtils.h"
Expand Down
2 changes: 1 addition & 1 deletion xbmc/pictures/PictureInfoTag.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

#pragma once

#include "ImageMetadata.h"
#include "XBDateTime.h"
#include "pictures/metadata/ImageMetadata.h"
#include "utils/IArchivable.h"
#include "utils/ISerializable.h"
#include "utils/ISortable.h"
Expand Down
8 changes: 8 additions & 0 deletions xbmc/pictures/metadata/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
set(SOURCES ImageMetadataParser.cpp)

set(HEADERS Exif.h
ImageMetadata.h
ImageMetadataParser.h
Iptc.h)

core_add_library(pictures_metadata)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 430afbf

Please sign in to comment.