•   
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 176
  •   
  Thread Closed
WIP Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread
(2016-04-14, 20:36)zonly1 Wrote: I encountered a bug where Ember crashes if I try to manually scrape a locked movie. Can you verify that?
The message I get is: Object reference not set to an instance of an object.
Thanks Dan.
Thank you, has been fixed: Commit & Commit
(2016-04-12, 13:35)DanCooper Wrote: Please upload the full log file.

Sorry, I forgot about this.

https://dl.dropboxusercontent.com/u/5030...-04-11.csv
(2016-04-15, 13:58)ss4johnny Wrote:
(2016-04-12, 13:35)DanCooper Wrote: Please upload the full log file.

Sorry, I forgot about this.

https://dl.dropboxusercontent.com/u/5030...-04-11.csv

That looks like you try to sync an episode that has an NFO, but season and/or episode number is unknown (also the episode has no title):
Code:
[APIKodi] [Kodi Host] UpdateTVEpisodeInfo: "" | Start syncing process...    
[APIKodi] [Kodi Host] SearchTVShow: "\\FREENAS\HallNasShare\Media\Video\TV\Cartoons-Anime\Afro Samurai" | OK; found in host database! [ID:489]    
ERROR    "EXCEPTION OCCURRED:System.Exception: {
  ""code"": -32602;
  ""data"": {
    ""method"": ""VideoLibrary.GetEpisodes"";
    ""stack"": {
      ""message"": ""Value between 0 (inclusive) and 2147483647 (inclusive) expected but -1 received"";
      ""name"": ""season"";
      ""type"": ""integer""
    }
  };
  ""message"": ""Invalid params.""
}
[APIKodi] [Kodi Host] UpdateTVEpisodeInfo: "" | NOT found in database; scan directory on host...    
[APIKodi] [Kodi Host] ScanVideoPath: "smb://FREENAS/HallNasShare/Media/Video/TV/Cartoons-Anime/Afro Samurai/" | Start scanning process...    
[APIKodi] [Kodi Host] IsScanningVideo: False    
[APIKodi] [Kodi Host] SearchTVShow: "\\FREENAS\HallNasShare\Media\Video\TV\Cartoons-Anime\Afro Samurai" | OK; found in host database! [ID:489]    
ERROR "EXCEPTION OCCURRED:System.Exception: {
  ""code"": -32602;
  ""data"": {
    ""method"": ""VideoLibrary.GetEpisodes"";
    ""stack"": {
      ""message"": ""Value between 0 (inclusive) and 2147483647 (inclusive) expected but -1 received"";
      ""name"": ""season"";
      ""type"": ""integer""
    }
  };
  ""message"": ""Invalid params.""
}
[APIKodi] [Kodi Host] UpdateTVEpisodeInfo: "" | NOT found on host! Abort!

In the line
Code:
[APIKodi] [Kodi Host] UpdateTVEpisodeInfo: "" | NOT found in database; scan directory on host...
the episode title should be between the "" characters. So i think there is a problem with your NFO file for some "Afro Samurai" episodes.
(2016-04-15, 01:59)pfp-az Wrote: Is it possible for Ember to connect to the media sources using it's own credentials rather than those of the logged on user? I'm looking to minimize the chance of ransomware getting to my NAS and removing write access from the shares for general users seems like a good way to do this. Ember however needs write access in order to save posters, fanart and NFO files. I'm wondering if these is a way to give it this access without the logged on windows user having it too.

You could create a shortcut and use runas.exe. Should look like
Code:
runas /user:ComputerName\User /savecred “C:\Path\To\ember.exe“

Replace ComputerName with the local machine name and User with the desired account
(2016-04-15, 14:46)DanCooper Wrote: So i think there is a problem with your NFO file for some "Afro Samurai" episodes.

Thanks. I'll try re-scraping them.
(2016-04-12, 10:48)DanCooper Wrote: We plan to improve the source editing and sorting.
But it's not possible to change the folder/file system for tv shows. For movies we always can use the parent folder of a file to use it as "movie folder". But for tv show can't: one use save all episodes inside the tv show root folder, another use season folder, next user use season and episode folders, another user use episode folders inside the tv show root folder and next user use tv show folders inside genre folders. As you see, there is no way to proper identify the tv show root folder. So we have to strictly use .\SOURCE\TVShowRootFolder to assign episodes to a tv show.

I found this to be an interesting problem. I get that it's probably not the biggest priority for you guys since there is an easy workaround (just add more sources) and I wouldn't criticize you in any way for focusing on more pressing priorities with the latest alpha.

However, this issue is not unique Ember. Whatever approach that resolves this for Ember could also be used in Kodi, or vice-versa. Moreover, I reject the idea that it is impossible. Complicated, yes. Impossible, no. I've thought up a way to resolve it. My explanation is a bit long, so I hope you'll bear with me.

I'm less worried about different users doing different things than I am about one user doing different things. The more consistent the folder structure in each root that gets added to sources, the easier it is to infer information.

For instance, suppose that the structure is consistent throughout the entire file structure. It always goes something like
./root/subfolders/shows/seasons/episodes
If you walk through the file structure, find an episode, then you immediately know how to find each show's directory. You can use that information to figure out what the shows are.

That's probably too easy. Suppose that in the above, there are mixed in folders like
./root/subfolder1/subfolder2/shows/seasons/episodes
Note that in this case the show's folder structure is unchanged. So long as you maintain
./shows/seasons/episodes
throughout all of root, then you know that no matter how far down you go, you can get back to the show folder by moving up directories twice. Again, this means you should have all the information needed to identify the names of shows if you're walking through the ./ directory.

Complexity would increase if users use different show folder structures. For instance, suppose some shows have folder structures like
./shows/episodes
for absolute ordering in anime shows. This might raise some complications. The most obvious resolution is to re-organize them as
./root/Default/subfolder1/shows/seasons/episodes
./root/Default/subfolder2/subfolder3/shows/seasons/episodes
./root/Absolute/subfolder4/shows/episodes
and then instead put the ./root/Default/ and ./root/Absolute/ folders in there separately. Then you can use built-in Ember functionality to mark the directories as absolute ordering or season ordering and the above logic should resolve everything.

The downside would be that it requires moving a bunch of files around and making sure everything is working in Kodi again. My ideal resolution would be to introduce a new nfo file (I'll call it ShowFolderStructure.nfo for simplicity) that could provide some information to Kodi/Ember. The information could be as simple as the number of directories you would have to move to get from the episodes folder to the shows folder. (The implication is that the show folder structure always must conform to this number.) This file would provide information on the show folder structure for all subfolders, unless overwritten by another another ShowFolderStructure.nfo file below. Ember could assume that the default is used if ShowFolderStructure.nfo is missing. This would only require the creation of one file in the example above at
./root/subfolder4/ShowFolderStructure.nfo
and then every show folder in subfolder4 would be recognized as having a shows/episodes file structure. Any individual show could also have a similar nfo file, which would allow additional customization.
(2016-04-15, 22:32)ss4johnny Wrote:
(2016-04-12, 10:48)DanCooper Wrote: We plan to improve the source editing and sorting.
But it's not possible to change the folder/file system for tv shows. For movies we always can use the parent folder of a file to use it as "movie folder". But for tv show can't: one use save all episodes inside the tv show root folder, another use season folder, next user use season and episode folders, another user use episode folders inside the tv show root folder and next user use tv show folders inside genre folders. As you see, there is no way to proper identify the tv show root folder. So we have to strictly use .\SOURCE\TVShowRootFolder to assign episodes to a tv show.

I found this to be an interesting problem........
Why complicate things
Ember use the same rules as KODI, so if it works for one program it's the same for the other
Alpha 14 Changes:

fixed: Mark new Movies/MovieSets/TVShows/Episodes

Source: https://github.com/DanCooper/Ember-MM-Ne...4d64858d99
When scraping images for movie Krampus, EMM is not returning any results from fanart.tv (have checked over on their site which has images for this movie)

Code:
2016-04-16 19:28:25.7928,EmberAPI.ModulesManager,EmberAPI.ModulesManager.ScrapeImage_Movie,1,TRACE,[ModulesManager] [ScrapeImage_Movie] [Start] Z:\movies hdrip\Krampus (2015) 480p.HDRip\Krampus (2015) 480p.HDRip.XviD.AC3.avi,
2016-04-16 19:28:25.7928,EmberAPI.ModulesManager,EmberAPI.ModulesManager.ScrapeImage_Movie,1,TRACE,[ModulesManager] [ScrapeImage_Movie] [Using] FanartTV_Image,
2016-04-16 19:28:25.7928,ScraperModule.FanartTV_Image,ScraperModule.FanartTV_Image.Scraper_Movie,1,TRACE,[FanartTV_Image] [Scraper_Movie] [Start],
2016-04-16 19:28:25.9260,ScraperModule.FanartTVs.Scraper,ScraperModule.FanartTVs.Scraper.GetImages_Movie_MovieSet,1,ERROR,The remote server returned an error: (404) Not Found.,
2016-04-16 19:28:25.9260,ScraperModule.FanartTV_Image,ScraperModule.FanartTV_Image.Scraper_Movie,1,TRACE,[FanartTV_Image] [Scraper_Movie] [Done],

Here is my nfo file

Code:
<?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">
  <id TMDB="287903">tt3850590</id>
  <title>Krampus</title>
  <originaltitle>Krampus</originaltitle>
  <language>en</language>
  <year>2015</year>
  <releasedate>2015-12-04</releasedate>
  <country>United States of America</country>
  <country>New Zealand</country>
  <rating>6.4</rating>
  <votes>19943</votes>
  <mpaa>Rated PG-13 for sequences of horror violence/terror, language and some drug material</mpaa>
  <certification>UK:15</certification>
  <genre>Comedy</genre>
  <genre>Fantasy</genre>
  <genre>Horror</genre>
  <studio>Legendary Pictures</studio>
  <director>Michael Dougherty</director>
  <credits>Todd Casey</credits>
  <credits>Michael Dougherty</credits>
  <tagline>You don't want to be on his list.</tagline>
  <outline>A boy who has a bad Christmas ends up accidentally summoning a Christmas demon to his family home.</outline>
  <plot>When his dysfunctional family clashes over the holidays, young Max (Emjay Anthony) is disillusioned and turns his back on Christmas. Little does he know, this lack of festive spirit has unleashed the wrath of Krampus: a demonic force of ancient evil intent on punishing non-believers. All hell breaks loose as beloved holiday icons take on a monstrous life of their own, laying siege to the fractured family's home and forcing them to fight for each other if they hope to survive.</plot>
  <runtime>1h 37m</runtime>
  <trailer>http://video-http.media-imdb.com/MV5BODExNTczNjktYTlhNC00NGVl[email protected].mp4?Expires=1460862862&amp;Signature=rIglO8AP69kRA2ky1Ep8DlMV0bb7bw~yxsXDlTKKAOPMoBqThjALm-FuqvB5Bpl1LbYiFDpmMLiQE054OKsLzUj-cehVr3HZm8OtPOmKXA6RgxcxmJIT~MYli~N0-yyc4wjcFZZ7O7PN20C3bYZQL6kM1qzBV7Hvf5OaCGHR174_&amp;Key-Pair-Id=APKAILW5I44IHKUN2DYA</trailer>
  <dateadded>2016-04-16 18:13:26</dateadded>
  <datemodified>2016-04-16 19:14:44</datemodified>
  <actor>
    <name>Emjay Anthony</name>
    <order>0</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Adam Scott</name>
    <order>1</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Toni Collette</name>
    <order>2</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Stefania LaVie Owen</name>
    <order>3</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Krista Stadler</name>
    <order>4</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Conchata Ferrell</name>
    <order>5</order>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTkzNjUzMDk0OF5BMl5BanBnXkFtZTYwNTU3OTU3._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Allison Tolman</name>
    <order>6</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>David Koechner</name>
    <order>7</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Maverick Flack</name>
    <order>8</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Leith Towers</name>
    <order>9</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Luke Hawker</name>
    <role>Krampus</role>
    <order>10</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Seth Green</name>
    <order>11</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Justin Roiland</name>
    <order>12</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Mark Atkin</name>
    <order>13</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Ravi Narayan</name>
    <order>14</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Sophie Gannon</name>
    <order>15</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Gareth Ruck</name>
    <order>16</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Ivy George</name>
    <order>17</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Adam McArthur</name>
    <order>18</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Jon Bailey</name>
    <order>19</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>David W. Collins</name>
    <order>20</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Gideon Emery</name>
    <role>Krampus</role>
    <order>21</order>
    <thumb>http://ia.media-imdb.com/images/M/[email protected]_V1._SY275_SX400_.jpg</thumb>
  </actor>
  <fileinfo>
    <streamdetails>
      <audio>
        <bitrate>384</bitrate>
        <channels>6</channels>
        <codec>ac3</codec>
      </audio>
      <video>
        <aspect>2.368</aspect>
        <bitrate>1649</bitrate>
        <codec>XVID</codec>
        <durationinseconds>5860</durationinseconds>
        <height>304</height>
        <scantype>Progressive</scantype>
        <width>720</width>
        <filesize>1496581412</filesize>
      </video>
    </streamdetails>
  </fileinfo>
  <videosource>hdtv</videosource>
</movie>

This doesn't happen for other movies which are all scraping fine.

Any ideas?
Raspberry PI3 - LibreELEC 8.2.2 - Kodi 17.6 - Aeon MQ7 Krypton Mod 1.4.0.10
When I re-scrape TV shows individually, after it is over the Show list doesn't come back up. It has the seasons listed and the episodes, for that individual show. If I click on them, then the images show up, but not until then.
Hey DanCooper,

I updated to the alpha and first off, great job. most things are just running fine.

one question however: is there a specific reason why the kodi sync will delete and re-add entries when modifying elements?

currently, this causes the watched state to get wiped. of course, this is normally solved by the additional watch state functionality.
(2016-04-17, 15:06)MKHR Wrote: Hey DanCooper,

I updated to the alpha and first off, great job. most things are just running fine.

one question however: is there a specific reason why the kodi sync will delete and re-add entries when modifying elements?

currently, this causes the watched state to get wiped. of course, this is normally solved by the additional watch state functionality.

The KI does not remove the elements in Kodi while syncing, but if you don't have enabled "get playcount from host...", Ember use the value that is set in Ember.
Playcount syncing is a little bit crappy atm, but i'm working on a better solution.
(2016-04-15, 18:42)Monk Wrote:
(2016-04-15, 01:59)pfp-az Wrote: Is it possible for Ember to connect to the media sources using it's own credentials rather than those of the logged on user? I'm looking to minimize the chance of ransomware getting to my NAS and removing write access from the shares for general users seems like a good way to do this. Ember however needs write access in order to save posters, fanart and NFO files. I'm wondering if these is a way to give it this access without the logged on windows user having it too.

You could create a shortcut and use runas.exe. Should look like
Code:
runas /user:ComputerName\User /savecred “C:\Path\To\ember.exe“

Replace ComputerName with the local machine name and User with the desired account

Thank you. This should work.
(2016-04-15, 22:08)ss4johnny Wrote:
(2016-04-15, 14:46)DanCooper Wrote: So i think there is a problem with your NFO file for some "Afro Samurai" episodes.

Thanks. I'll try re-scraping them.

So I had tried removing them from Kodi, re-scraping, and putting them back in and the episodes weren't showing up in Kodi, which I found weird. I recently just tried adding a completely new show and the only episodes that showed up were the ones in the Season 0 folder. On the second one, I noticed I was getting a lot of Sync failures.

I downloaded the latest alpha and I tried re-scraping just the nfo files. Same issues. Sync failures on both shows. It's kind of weird in that if I close out of Ember and just try to update the library as I normally would, these shows don't show up.
In the filters section under Specific->Data Field you have the option to filter TMDBCollID. Any way we can add or change that to include ANY collection? Right now you cannot filter any self created sets.
  •   
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 176
  •   
  Thread Closed
 
Thread Rating:
  • 2 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
Ember Media Manager 1.4.8.0 ALPHA - Discussion Thread52
This forum uses Lukasz Tkacz MyBB addons.