Jump to content

Multiple camera upload folders in library


jbird32275
Go to solution Solved by Happy2Play,

Recommended Posts

Hello jbird32275,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Link to comment
Share on other sites

Hi ,we are looking into this. Thanks.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
Happy2Play
On 3/14/2024 at 9:55 PM, Luke said:

Hi ,we are looking into this. Thanks.

May have to retest on a clean new portable though.

image.png.ec5e99ee0eca01dca7249f2ae1839ab7.png

Got sql errors in log attached below.

But removed each Library from Library setup without issue.

Shutdown Emby and deleted the cameraupload.json

Started Emby and launch app and got worse but no sql error. Just more libraries.

image.thumb.png.e464c4622229600f8954da099279f99d.png

2024-03-26 14:56:33.657 Info App: Creating folder in database camerauploads - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.662 Info App: Creating folder in database camerauploads - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.662 Info App: Creating folder in database camerauploads - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.666 Info App: Created folder in database camerauploads 154921 - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.669 Info App: Created folder in database camerauploads 154922 - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.670 Info App: Skipping creating folder C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads because it already exists 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.670 Info App: Created folder in database camerauploads 154920 - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.675 Info App: Skipping creating folder C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads because it already exists 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.676 Info TaskManager: Queueing task RefreshMediaLibraryTask
2024-03-26 14:56:33.676 Info TaskManager: Executing Scan media library
2024-03-26 14:56:33.677 Info TaskManager: Attempting to cancel Scheduled Task Scan media library
2024-03-26 14:56:33.677 Info TaskManager: Queueing task RefreshMediaLibraryTask
2024-03-26 14:56:33.678 Info App: Skipping creating folder C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads because it already exists 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.678 Info TaskManager: Scan media library Cancelled after 0 minute(s) and 0 seconds
2024-03-26 14:56:33.678 Info App: Rebasing 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads to be underneath 154922 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.679 Info App: Rebasing 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads to be underneath 154921 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.680 Info TaskManager: Executing Scan media library
2024-03-26 14:56:33.681 Info TaskManager: Attempting to cancel Scheduled Task Scan media library
2024-03-26 14:56:33.681 Info TaskManager: Queueing task RefreshMediaLibraryTask
2024-03-26 14:56:33.681 Info App: Rebasing 154921 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads to be underneath 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.684 Info App: Rebasing 154921 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads to be underneath 154922 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.686 Info App: Rebasing 154922 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads to be underneath 154921 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.687 Info TaskManager: Scan media library Cancelled after 0 minute(s) and 0 seconds
2024-03-26 14:56:33.688 Info TaskManager: Queueing task RefreshMediaLibraryTask
2024-03-26 14:56:33.688 Info TaskManager: Executing Scan media library

image.thumb.png.1c679469044c1a7bca93b91d43433feb.png

image.thumb.png.8b621ae794e62f4250dd5aa5489870ad.png

image.png.71f40fb9119595afd0c701d9890398cb.png

image.png.d77deea2bb38520b14a560a3ac6eb6f7.png

image.png.3859371304ff791b19b865b934abdf6a.png

embyserver (3262024).txt

Edited by Happy2Play
Link to comment
Share on other sites

  • 2 weeks later...
On 3/26/2024 at 6:08 PM, Happy2Play said:

May have to retest on a clean new portable though.

image.png.ec5e99ee0eca01dca7249f2ae1839ab7.png

Got sql errors in log attached below.

But removed each Library from Library setup without issue.

Shutdown Emby and deleted the cameraupload.json

Started Emby and launch app and got worse but no sql error. Just more libraries.

image.thumb.png.e464c4622229600f8954da099279f99d.png

2024-03-26 14:56:33.657 Info App: Creating folder in database camerauploads - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.662 Info App: Creating folder in database camerauploads - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.662 Info App: Creating folder in database camerauploads - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.666 Info App: Created folder in database camerauploads 154921 - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.669 Info App: Created folder in database camerauploads 154922 - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.670 Info App: Skipping creating folder C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads because it already exists 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.670 Info App: Created folder in database camerauploads 154920 - C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.675 Info App: Skipping creating folder C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads because it already exists 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.676 Info TaskManager: Queueing task RefreshMediaLibraryTask
2024-03-26 14:56:33.676 Info TaskManager: Executing Scan media library
2024-03-26 14:56:33.677 Info TaskManager: Attempting to cancel Scheduled Task Scan media library
2024-03-26 14:56:33.677 Info TaskManager: Queueing task RefreshMediaLibraryTask
2024-03-26 14:56:33.678 Info App: Skipping creating folder C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads because it already exists 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.678 Info TaskManager: Scan media library Cancelled after 0 minute(s) and 0 seconds
2024-03-26 14:56:33.678 Info App: Rebasing 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads to be underneath 154922 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.679 Info App: Rebasing 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads to be underneath 154921 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.680 Info TaskManager: Executing Scan media library
2024-03-26 14:56:33.681 Info TaskManager: Attempting to cancel Scheduled Task Scan media library
2024-03-26 14:56:33.681 Info TaskManager: Queueing task RefreshMediaLibraryTask
2024-03-26 14:56:33.681 Info App: Rebasing 154921 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads to be underneath 154920 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.684 Info App: Rebasing 154921 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads to be underneath 154922 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.686 Info App: Rebasing 154922 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads to be underneath 154921 C:\Users\Media\AppData\Roaming\Emby-Server\programdata\data\camerauploads
2024-03-26 14:56:33.687 Info TaskManager: Scan media library Cancelled after 0 minute(s) and 0 seconds
2024-03-26 14:56:33.688 Info TaskManager: Queueing task RefreshMediaLibraryTask
2024-03-26 14:56:33.688 Info TaskManager: Executing Scan media library

image.thumb.png.1c679469044c1a7bca93b91d43433feb.png

image.thumb.png.8b621ae794e62f4250dd5aa5489870ad.png

image.png.71f40fb9119595afd0c701d9890398cb.png

image.png.d77deea2bb38520b14a560a3ac6eb6f7.png

image.png.3859371304ff791b19b865b934abdf6a.png

embyserver (3262024).txt 1.17 MB · 1 download

Do you mind trying that? I'm having trouble reproducing for some reason. Thanks !

Link to comment
Share on other sites

Happy2Play
57 minutes ago, Luke said:

Do you mind trying that? I'm having trouble reproducing for some reason. Thanks !

New system nothing but camera upload.

image.thumb.png.2105a82dd0598d5888e794905c8f5a33.png

 

image.thumb.png.a38fc50341867db1b687bfee14f09b39.png

image.thumb.png.d6f9c123a781a742151c90f6a5ec0bad.png

embyserver.txt

Link to comment
Share on other sites

Happy2Play

The above deletes just fine from the UI.

But deleting libraries and upload json and toggling different folder options on the device eventually broke the created libraries and cannot remove.  Just get spinning circle as mentioned in other topics.  I believe it was Recent as that is the only one that appear to actually do anything. 

With just iphone or just hidden I never got upload to trigger.

image.thumb.png.47be08023937479187764534c40b7022.png

Will keep testing on this portable as it has nothing on it.

But from what I have noticed if a camera library exists it does not go crazy creating others.  But I am only testing with one device if that makes a difference.

embyserver-63847903777.txt

Link to comment
Share on other sites

Happy2Play

I can consistently get 6 libraries with one functional one starting from scratch.

5 with no content and 1 with content.

iPhone and Hidden folder do not appear to do anything and can only get upload to trigger with Recents folder checked.

 

Only testing was done with a iPhone.  Clean/New 4.9.0.12 portable with no other data.

Now deleting the cameraupload.json and restarting server and relaunching app did not create any additional libraries.

Deleting the broken libraries from UI and leaving good library did not present any issues with future uploads.  The issue appears to be with the first upload with nonexisting library.

 

Tested creating the Camerauploads library via api then launching app and everything worked as expected.

Spoiler

    {
      "Name": "Camera Uploads",
      "CollectionType": "homevideos",
      "LibraryOptions": {
        "EnableArchiveMediaFiles": false,
        "EnablePhotos": true,
        "EnableRealtimeMonitor": false,
        "EnableMarkerDetection": false,
        "EnableMarkerDetectionDuringLibraryScan": false,
        "IntroDetectionFingerprintLength": 10,
        "EnableChapterImageExtraction": false,
        "ExtractChapterImagesDuringLibraryScan": false,
        "DownloadImagesInAdvance": false,
        "CacheImages": false,
        "PathInfos": [
          {
            "Path": "C:\\Users\\Media\\Desktop\\New\\programdata\\data\\camerauploads"
          }
        ],
        "IgnoreHiddenFiles": false,
        "IgnoreFileExtensions": [],
        "SaveLocalMetadata": true,
        "SaveMetadataHidden": false,
        "SaveLocalThumbnailSets": false,
        "ImportPlaylists": true,
        "EnableAutomaticSeriesGrouping": true,
        "ShareEmbeddedMusicAlbumImages": true,
        "EnableEmbeddedTitles": false,
        "EnableAudioResume": false,
        "AutoGenerateChapters": true,
        "AutomaticRefreshIntervalDays": 0,
        "PlaceholderMetadataRefreshIntervalDays": 0,
        "ContentType": "homevideos",
        "MetadataSavers": [],
        "DisabledLocalMetadataReaders": [],
        "DisabledLyricsFetchers": [],
        "SaveLyricsWithMedia": true,
        "LyricsDownloadMaxAgeDays": 180,
        "LyricsFetcherOrder": [],
        "LyricsDownloadLanguages": [],
        "DisabledSubtitleFetchers": [],
        "SubtitleFetcherOrder": [],
        "SkipSubtitlesIfEmbeddedSubtitlesPresent": false,
        "SkipSubtitlesIfAudioTrackMatches": false,
        "SubtitleDownloadLanguages": [],
        "SubtitleDownloadMaxAgeDays": 180,
        "RequirePerfectSubtitleMatch": true,
        "SaveSubtitlesWithMedia": true,
        "ForcedSubtitlesOnly": false,
        "HearingImpairedSubtitlesOnly": false,
        "TypeOptions": [],
        "CollapseSingleItemFolders": false,
        "EnableAdultMetadata": false,
        "ImportCollections": false,
        "MinCollectionItems": 2,
        "MinResumePct": 2,
        "MaxResumePct": 90,
        "MinResumeDurationSeconds": 120,
        "ThumbnailImagesIntervalSeconds": -1,
        "SampleIgnoreSize": 314572800
      }
    }

 

So there is a issue somewhere with initial creations for the CameraUpload library.

 

Edited by Happy2Play
Link to comment
Share on other sites

  • 2 weeks later...
On 4/5/2024 at 12:14 PM, Happy2Play said:

The above deletes just fine from the UI.

But deleting libraries and upload json and toggling different folder options on the device eventually broke the created libraries and cannot remove.  Just get spinning circle as mentioned in other topics.  I believe it was Recent as that is the only one that appear to actually do anything. 

With just iphone or just hidden I never got upload to trigger.

image.thumb.png.47be08023937479187764534c40b7022.png

Will keep testing on this portable as it has nothing on it.

But from what I have noticed if a camera library exists it does not go crazy creating others.  But I am only testing with one device if that makes a difference.

embyserver-63847903777.txt 71.92 kB · 0 downloads

OK I think I see something here to help prevent it from happening.

@jbird32275workaround for now is simply to delete the extra libraries.

Thanks.

Link to comment
Share on other sites

  • Solution
Happy2Play
On 4/14/2024 at 2:55 PM, Luke said:

OK I think I see something here to help prevent it from happening.

Testing on a clean beta 4.9.0.14 it only created one library in my test where previously it created at least 6 libraries.

  • Thanks 1
Link to comment
Share on other sites

Happy2Play

Now the real issue of how to help users that cannot delete from the UI. @Luke

Is there an easy sql command to assist here?

Edited by Happy2Play
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...