Kodi Community Forum
Release Aeon Nox: SiLVO - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Aeon Nox: Silvo (https://forum.kodi.tv/forumdisplay.php?fid=142)
+---- Thread: Release Aeon Nox: SiLVO (/showthread.php?tid=210069)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759


RE: Aeon Nox: SiLVO - mikeSiLVO - 2019-09-27

(2019-09-27, 00:27)BobCratchett Wrote: It should be a valid path - it's a library node, so won't be listed on the relevant wiki page because they're editable, and so may not be on all users systems (though the script loads the nodes directly, so knows which ones are there). It's a strange one - you've not been messing with custom library nodes have you...? (I'm guessing not, the log says the script only found the default nodes that ship with Kodi, but some messed up nodes somewhere could explain it)

The problem will be in the explorer function - for some reason the files.getdirectory json call isn't able to get the directory...  Confused

Correct just the standard library nodes. I try to have as little as possible get all wacka doo on me so I'm mister plain jane Tongue

Anything I can do to test/reset my library nodes?


RE: Aeon Nox: SiLVO - BobCratchett - 2019-09-27

Not really - as long as you don't have any in your user data folder you're fine. On a Mac, at least, the default nodes are part of the Kodi package. The obvious things to test, does it work if you select the TV Shows node rather than movies? Do the music nodes work, as ultimately they're the exact same code? If you add extra logging, what exactly is being returned by the json call? Worst case, does it work on another system, or a clean install?

edit: For the record, it's working fine here on an in-use box.


RE: Aeon Nox: SiLVO - mikeSiLVO - 2019-09-27

(2019-09-27, 00:37)BobCratchett Wrote: Not really - as long as you don't have any in your user data folder you're fine. On a Mac, at least, the default nodes are part of the Kodi package. The obvious things to test, does it work if you select the TV Shows node rather than movies? Do the music nodes work, as ultimately they're the exact same code? If you add extra logging, what exactly is being returned by the json call? Worst case, does it work on another system, or a clean install?

This folder right?
Image

Same error for TV Shows:
Code:

ERROR: XFILE::CDirectory::GetDirectory - Error getting library://video/tvshows/

Is the following code the bit in explorer you are talking about?
python:

if json_response.has_key('result') and json_response['result'].has_key('files') and json_response['result']['files']:
json_result = json_response['result']['files']

for item in json_result:
# Handle numeric labels
altLabel = item[ "label" ]
if item[ "label" ].isnumeric():
altLabel = "$NUMBER[" + item[ "label" ] + "]"
if location.startswith( "library://" ):
# Process this as a library node
isLibrary = True
if widgetType is None:
widgetType = NODE.get_mediaType( location )

if itemType == "32014":
# Video node
windowID = "Videos"
if widgetType == "unknown":
widgetType = "video"
widgetTarget = "videos"

EDIT: The only clickable entry in music was top 100 and same error:
Code:

ERROR: XFILE::CDirectory::GetDirectory - Error getting library://music/top100/



RE: Aeon Nox: SiLVO - BobCratchett - 2019-09-27

If that's your userdata folder, then you have a library/video folder, but no actual nodes in it? Or is that the one that comes with Kodi...? Sorry, don't know how these things are managed on Windows. I'm going to assume it's the former, and suggest removing the library folder entirely. It's not impossible that when the script is querying the node contents, Kodi is trying to load it from that folder where it doesn't exist... (if it's the later, somethings majorly wrong with your install!)

That's the code that processes the nodes, but the problem is actually grabbing them - the following isn't getting the response that's expected...

Code:
        json_query = xbmc.executeJSONRPC('{ "jsonrpc": "2.0", "id": 0, "method": "Files.GetDirectory", "params": { "properties": ["title", "file", "thumbnail", "episode", "showtitle", "season", "album", "artist", "imdbnumber", "firstaired", "mpaa", "trailer", "studio", "art"], "directory": "' + location + '", "media": "files" } }')
        json_query = unicode(json_query, 'utf-8', errors='ignore')
        json_response = simplejson.loads(json_query)



RE: Aeon Nox: SiLVO - shedrock - 2019-09-27

@mikeSiLVO - Hi Mike,

I am not sure if this is a bug or what but I just wanted to bring it to your attention. In Music Videos > Shift view, the InfoPanel just says "off" and is not selectable. Also, would it be possible to have this skin be saved via Skinhelper Backup? If not, is there another way I can save my settings. I thought if I saved the both folders in the addons, as well as the userdata folder that it would do the trick, but it didn't.

Thanks,

Shedrock


RE: Aeon Nox: SiLVO - mikeSiLVO - 2019-09-27

@BobCratchett Deleting those empty folders fixed it. I never added those though.
I did run the library nodes editor once and play around but deleted the added nodes after I couldn't get what I wanted done.

Can't be the only one who would do that. Maybe some code can be added to check if empty then fallback to default?


RE: Aeon Nox: SiLVO - BobCratchett - 2019-09-27

Not something that could easily be done in the script - it's just telling Kodi what node it wants (library://video/movies), it's up to Kodi where it loads it from. So any fix would probably have to be in core. If it helps, the node editor script has a reset function whose only function is to delete the custom node folders from the userdata. (Though I remember early versions would then copy them all across from the Kodi defaults again straight away, so you'd actually still have them in your userdata but they would be back to the defaults - I know I never fixed that, but it's possible someone else has done since!)


RE: Aeon Nox: SiLVO - mikeSiLVO - 2019-09-27

(2019-09-27, 01:03)BobCratchett Wrote: Not something that could easily be done in the script - it's just telling Kodi what node it wants (library://video/movies), it's up to Kodi where it loads it from. So any fix would probably have to be in core. If it helps, the node editor script has a reset function whose only function is to delete the custom node folders from the userdata. (Though I remember early versions would then copy them all across from the Kodi defaults again straight away, so you'd actually still have them in your userdata but they would be back to the defaults - I know I never fixed that, but it's possible someone else has done since!)

Ok second idea Smile

What about an added function like:

python:

if path.startswith("||BROWSEPATH||"):
returnVal =


But for browsing library like ||BROWSEPATH||videodb://movies/genres/ so I can use custom groupings but add my own browse able paths.

Stupid idea or maybe that's already possible cause ||SOURCE|| almost does that, just the popup and shortcut are wrong cause it's library not files... Huh


RE: Aeon Nox: SiLVO - BobCratchett - 2019-09-27

The one you're looking for is

Code:
||VIDEO||library://video/movies

(or whatever path you want - note that if you use nodes and the user has deleted that node, than it won't work. And the only way to get all user custom nodes that I know of is with <content>video</content>. There's also an equivalent ||AUDIO||)


RE: Aeon Nox: SiLVO - mikeSiLVO - 2019-09-27

(2019-09-27, 01:19)BobCratchett Wrote: The one you're looking for is

Code:
||VIDEO||library://video/movies

(or whatever path you want - note that if you use nodes and the user has deleted that node, than it won't work. And the only way to get all user custom nodes that I know of is with <content>video</content>. There's also an equivalent ||AUDIO||)

So ignoring the nodes and using the path wont work?
Code:
videodb://movies/genres/


I was thinking the path would always be available regardless of altered library nodes.
Does that even make sense?

EDIT: You said whatever path so I'm gonna chalk it up to my reading comprehension skills failing me Confused

EDIT 2: Maybe adding the content video/music as a new Nodes label would cover all bases and keep my custom groupings in the order i want... Huh


RE: Aeon Nox: SiLVO - BobCratchett - 2019-09-27

It does make sense and I can't think of any reason it won't work - one of those things you'll have to try to be sure Wink

As regards the nodes, just pointing out that without the <content/> tag, any custom nodes aren't available. So if the user has set up a kids node and a parents node, for example, with their own genres, going to the videodb:// path will display all the genres. and all movies.


RE: Aeon Nox: SiLVO - Karellen - 2019-09-27

(2019-09-26, 14:07)mikeSiLVO Wrote: Not sure what's best so I will just add independent settings for Movie Sets concerning mediaflags, floor, and poster visibility. Discart hiding will count for both movies and sets though since I don't think that kind of customization is necessary.
Will be on Git in a few-ish minutes...
Thank you mikeSiLVO, that fixed the overlapping movie set overview issue Smile


RE: Aeon Nox: SiLVO - mikeSiLVO - 2019-09-27

@BobCratchett Not sure if you saw my second edit but:
Maybe adding the content video/music as a new Nodes label called Library Nodes or whatever would cover all bases and keep my custom groupings in the order I want...


RE: Aeon Nox: SiLVO - brazen1 - 2019-09-27

(2019-09-24, 18:15)mikeSiLVO Wrote: Added OpenCase mod to Music ShowCase view.

If you're interested in that feature please test it out.
Try your best to break it Wink

ImageImage

You can have the sliding disc without the top case if you prefer.

ImageImage
I've just installed the latest GIT.  I chose the 'Showcase' view in my music library.  I went to adjust settings for 'Showcase' and all I have is Top bar, Fixed, and Cases.  There is no Open Case Mod?  Fwiw, in Movies library all this is present and working.  Nothing in Music.

In the GIT I had installed from about a week ago, I was using 'Shift' and I had sliding disc art options if I remember correctly.  There are no options other than 'Top bar' now in that view.

Using Matrix if that matters.


RE: Aeon Nox: SiLVO - BobCratchett - 2019-09-27

Sounds like something you could do easily in your overrides if you want...

Code:
...
<node label="Library Nodes">
    <node label="Video Library">
        <content>video</content>
    </node>
    <node label="Music Library">
        <content>music</content>
    </node>
</node>
...