Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: WSH Panel Mod script discussion/help (Read 1375485 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

WSH Panel Mod script discussion/help

Reply #1501
DEBUG: list.total=4094/list.item.length=1/list.tocut=1/from=refresh_spv
Error: WSH Panel Mod (WSH Playlist Viewer v2 beta 7 v0.0.7.20120424.2339 by Br3tt aka Falstaff >> http://br3tt.deviantart.com): Microsoft JScript runtime error:
'list.item[...].id' is null or not an object
File: <main>
Ln: 1819, Col: 3
<source text only available at compile time>

WSH Panel Mod script discussion/help

Reply #1502
I use last DEBUG version:

DEBUG: list.total=82/list.item.length=1/list.tocut=1/from=refresh_spv
Error: WSH Panel Mod (WSH Playlist Viewer v2 beta 7 v0.0.7.20120424.2339 by Br3tt aka Falstaff >> http://br3tt.deviantart.com): Ошибка выполнения Microsoft JScript:
'list.item[...].id' -  есть null или не является объектом
File: <main>
Ln: 1819, Col: 3
<source text only available at compile time>

This error appears only if foobar  (when it start) open  autoplaylist.


WSH Panel Mod script discussion/help

Reply #1504
Falstaff
In v. 7.1  foobar  started with autoplaylist selected -  WSH Playlist Viewer  not crash more.

Thanx  for new version.


WSH Panel Mod script discussion/help

Reply #1506
Br3tt, regarding the RemoveAccents function:

-- Why does "Æ" translate to "A" and not "Ae"?
-- Why does "Õ" translate to "0" (zero) and not an "O"?
-- Why does "ß" translate to a single "S" instead of double "Ss" (as it is in German)?

By the way, I really, really like this, and I think that you should continue working on this (and other WSH) scripts instead of configurations that utilize ELPlaylist and that Panel Stack thingy (which have been left without updates for quite some time).

WSH Panel Mod script discussion/help

Reply #1507
Falstaff, confirmed 7.1 starts without errors. Good work.   
(I always wondered how to fix bugs you cant reproduce, I imagine it has something to do with skills & magical wizardry ^^)

WSH Panel Mod script discussion/help

Reply #1508
Damn. 
On track change i get that bug again:

Startup was okee, first track played fine,
then a track was skipped (no error),
the third track opens with an error:

Error: WSH Panel Mod (WSH Playlist Viewer v2 beta 7.1 v0.0.7.20120426.0820 by Br3tt aka Falstaff >> http://br3tt.deviantart.com): Microsoft JScript runtime error:
'list.item[...].id' is null or not an object
File: <main>
Ln: 1674, Col: 3
<source text only available at compile time>

Crashing on startup was 'somehow' better...

WSH Panel Mod script discussion/help

Reply #1509
ok, the fix was just a workaround and this new bug is close from the previous one, but NOW i may have found the source of the problem

beta 7.2 this evening, should fix these crash issues


WSH Panel Mod script discussion/help

Reply #1511
Error: WSH Panel Mod (WSH Playlist Viewer v2 beta 7.2 v0.0.7.20120426.1300 by Br3tt aka Falstaff >> http://br3tt.deviantart.com): Microsoft JScript runtime error:
'list.item[...].id' is null or not an object
File: <main> Ln: 1675, Col: 3 <source text only available at compile time>


Same circumstance. Startup OK, 1st track OK, skipping a second track, and ERROR at third track.

WSH Panel Mod script discussion/help

Reply #1512
@Mod-Ular

#@!  ... you have a special thing or do a special thing that i don't, now i'd like to find what ...

is queue list empty or not when it crashes? what are the components installed on your system, and what panels are used in your config (is there other wsh panel mod?)

thank you

WSH Panel Mod script discussion/help

Reply #1513
@Mod-Ular / Falstaff

for reproducing or understanding what someone does a picture is worth more than thousand words ... even better: i prefer a short video.
Perfect for my recent needs is a neat little tool named Jing ... uploads pictures or short (flv) videos (5 mins), no special player for viewing req.
http://www.techsmith.com/jing.html

No advertising intended ... there are other similar tools, just wanna help u guys

WSH Panel Mod script discussion/help

Reply #1514
This is going to be a long reply.

Code: [Select]
Core (2012-02-04 13:05:48 UTC)
    foobar2000 core 1.1.11
foo_albumlist.dll (2012-02-04 13:04:12 UTC)
    Album List 4.5
foo_audioscrobbler.dll (2012-02-18 20:01:21 UTC)
    Audioscrobbler 1.4.7
foo_cdda.dll (2012-02-04 13:03:52 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2012-02-04 13:04:00 UTC)
    Converter 1.5
foo_discogs 1.30.dll (2012-02-18 20:01:21 UTC)
    Discogs Tagger 1.30
foo_dsp_std.dll (2012-02-04 13:04:14 UTC)
    Standard DSP Array 1.0
foo_dsp_xgeq.dll (2012-04-05 19:13:11 UTC)
    Graphic Equalizer 0.3.7
foo_fileops.dll (2012-02-04 13:03:02 UTC)
    File Operations 2.1.3
foo_freedb2.dll (2012-02-04 13:03:02 UTC)
    freedb Tagger 0.6.4
foo_input_monkey.dll (2012-02-18 20:01:21 UTC)
    Monkey's Audio Decoder 2.1.5
foo_input_shorten.dll (2012-02-18 20:01:21 UTC)
    Shorten decoder 0.4.2.2
foo_input_std.dll (2012-02-04 13:05:10 UTC)
    Standard Input Array 1.0
foo_keep_queue.dll (2012-03-02 03:55:28 UTC)
    Keep Queue 0.3.5
foo_masstag.dll (2012-02-18 20:01:21 UTC)
    Masstagger 1.8.4
foo_musicbrainz.dll (2012-03-02 03:55:37 UTC)
    MusicBrainz Tagger 0.3 beta 2
foo_playcount.dll (2012-02-18 20:01:21 UTC)
    Playback Statistics 3.0.2
foo_queuecontents.dll (2012-03-14 20:09:57 UTC)
    Queue Contents Editor 0.5.1
foo_quicksearch.dll (2012-02-18 20:01:21 UTC)
    Quick Search Toolbar 3.2
foo_rgscan.dll (2012-02-04 13:03:48 UTC)
    ReplayGain Scanner 2.1.2
foo_run.dll (2012-02-18 20:01:21 UTC)
    Run services 0.3.7
foo_runcmd.dll (2012-02-18 20:01:21 UTC)
    Run Command 1.1
foo_skip.dll (2012-02-18 20:01:21 UTC)
    Skip Track 1.7.4
foo_ui_columns.dll (2012-02-18 20:01:21 UTC)
    Columns UI 0.3.8.8
foo_ui_std.dll (2012-02-04 13:04:08 UTC)
    Default User Interface 0.9.5
foo_uie_albumlist.dll (2012-02-18 20:01:21 UTC)
    Album list panel 0.3.5
foo_uie_biography.dll (2012-02-18 20:01:38 UTC)
    Biography View 0.4.2.4
foo_uie_console.dll (2012-02-18 20:01:21 UTC)
    Console panel 0.4
foo_uie_elplaylist.dll (2012-02-18 20:01:38 UTC)
    ELPlaylist 0.6.9.1.2(beta)
foo_uie_esplaylist.dll (2012-02-18 20:01:38 UTC)
    EsPlaylist 0.1.3.9
foo_uie_library_tree.dll (2012-02-18 20:01:38 UTC)
    Library Tree 0.3.4.6
foo_uie_lyrics3.dll (2012-04-24 20:32:23 UTC)
    Lyric Show Panel 3 0.3.2
foo_uie_panel_splitter.dll (2012-02-18 20:01:38 UTC)
    Panel Stack Splitter 0.3.8.3(alpha)
foo_uie_playlists_dropdown.dll (2012-02-18 20:01:21 UTC)
    Playlists Dropdown 0.7.6
foo_uie_wsh_panel_mod.dll (2012-04-24 08:36:03 UTC)
    WSH Panel Mod 1.5.3.1
foo_utils.dll (2012-02-18 20:01:38 UTC)
    Playlist Tools 0.6.2 beta 6
foo_vis_shpeck.dll (2012-02-18 20:01:38 UTC)
    Shpeck - Winamp vis plugins wrapper 0.3.7
foo_whatsnew.dll (2012-02-18 20:01:21 UTC)
    Feature Watcher 1.0.7

I have build myself a nice but HUMONGOUS pss CUI. Over 200 splitters in it. 

WSH MODs:
In this i am using some of marc2003's samples (Autoplaylist, his LastFM-Scripts and Thumbs) your own Coverflow & this nice new Playlist, all without major adjustments on my side,
and i modded a sample Seekbar + your own (old) Round-Volume Knob. I only made visual changes, no real codehacks.
(+ i have different themed versions of each panel, so a lot of WSH panels. Some have 6 versions, nite/day x3 automatic color-accent modes.)
I've tempered a bit with marc's preproccessor, but only some custom path and again appearance stuff, never expierenced any problems with it. My foobar runs 12-16h-a-day, and has been flawwless for ages.

PROBLEMATIC COMPONENTS: (see component list in codebox to see them all)
Furthermore on the side of 'not recommended' components, aside from the Panel Stacker Splitters I am also using a bunch of Es-playlists. Ssenna also provides me with Library Tree and the Biography panel.
I know these have to name to be unstable but they don't give me any problems if i take account of stuff that make them unstable (like handling my large library)
You can also see EL, but this config isn't using it at this moment.
LIBRARY:
As mentioned before I also have a rather big Media Library +/-2TB atm. Thx to Marc's WSH-Autoplaylists i recently been able to reduce my playlistfolder from 1gig+ to roundabout 200MB, wich is very reasonable imo. In total i have 70 playlists (has been +350), all autosorted, most by %path_sort%.

PLAYBACK:
I use foobar as a private inhouse radiostation. So playback order is always on Random.
The autoplaylist give me the right mood by filtering by category, genre and style. The right tracks come by rating, playcount and lastplay filters.
On top of that there is a skip script running for additional filtering.

TESTING:
I have no real testsetup where i can test what is goin' wrong. Been to much absorbed by my own config and all kind of side-configs that i kind of lost control.
Restarting foobar can be a real pain. It takes 10-15mins before my library is completetly initialized.
I've been struggling with my mammoth library and should configure myself a lighter library for this purpose... to begin with...
I really like your scripts so i don't mind putting a little effort in it myself, glad to be able to help a bit by testing.

Okee, i hope this provides you with some useable info, i am goin to provide my with some fresh coffee..

/edit, forgot about the queue. No tracks queued.

WSH Panel Mod script discussion/help

Reply #1515
thank you for the reply

you told previously "skipping track #2 .... then crash on track #3" ==> i see you have foo_skip component, is it this kind of skip you're talking about ? it's a clue for me, i'll test track skipping with this foo_skip component to check if my script handle well this kind of feature...

more news asap ... i'm going to prepare more coffee

WSH Panel Mod script discussion/help

Reply #1516
Yup, foo_skip. Can't live without it. As addicting as coffee. ^^
Atm i use:
(%rating% LESS 3) OR (((%rating% LESS 4) AND (((%play_count% GREATER 5) AND (%last_played% DURING LAST 39 WEEKS)) OR ((%play_count% GREATER 4) AND (%last_played% DURING LAST 26 WEEKS)) OR ((%play_count% GREATER 3) AND (%last_played% DURING LAST 13 WEEKS)))) OR ((%rating% LESS 5) AND (((%play_count% GREATER 14) AND (%last_played% DURING LAST 13 WEEKS)) OR ((%play_count% GREATER 11) AND (%last_played% DURING LAST 8 WEEKS)) OR ((%play_count% GREATER 9) AND (%last_played% DURING LAST 4 WEEKS)))) OR ((%rating% IS 5) AND (((%play_count% GREATER 19) AND (%last_played% DURING LAST 4 WEEKS)) OR ((%play_count% GREATER 15) AND (%last_played% DURING LAST 2 WEEKS)) OR ((%play_count% GREATER 11) AND (%last_played% DURING LAST 7 DAYS)))))

as skip setting.

WSH Panel Mod script discussion/help

Reply #1517
samples updated: http://dl.dropbox.com/u/22801321/samples.zip

autoplaylists
now you can specify "force sort" on a per playlist basis (the old version had a global setting which affected all playlists)

IMPORTANT NOTE FOR EXISTING USERS WITH MULTIPLE PANELS/SAVE FILES
there are now 8 slots which you can choose from the context menu. this has nothing do with how many autoplaylist queries that can be saved per panel - i'm sure it can far exceed any number you can think of.
you need to take some steps to rename the files. with foobar not running, browse your foobar2000 profile and then the wsh_settings folder. all files begin with "autoplaylists". number these between 1 and 8 with no spaces like this.

Code: [Select]
autoplaylists1
...
autoplaylists8

 

WSH Panel Mod script discussion/help

Reply #1518
@Mod-Ular or someone who encoutered such crash ...

beta 7.3 uploaded, it's a version based on beta6 that do not include the playlist queue content feature, could you test it please, that could help me... thanx

http://pastebin.com/u/Br3tt

EDIT: if problem still present, a cool thing from you would be to test the playlist in your config without any other WSH panel script, this wouls assure me that the problem is not due to a memory overflow caused by another wsh script, so if you could make a copy of your config, and for each wsh panel mod (except playlist), reset it to the default or just clear its script... Would be great to do because i've already encoutered a such issue in the past with another wsh panel mod that has nothing to do with playlist, but has a bad handle of timers or using old methods outdated....

WSH Panel Mod script discussion/help

Reply #1519
Hmm, Falstaff okee.

I loaded last version. Let it play for 15 mins while i did the dishes. No errors so far
Gonna restart foobar after a few more songs, btw skipping goes fine, always did before the error surfaced.

If i get the error i'll save my config as is and start removing the WSH-mod panels (most supicious 1st, my own seekbar and volumeknob hacks, i updated the timing methods myself, so they are very prown for errors..  You might be right with you're intuition on the issue.
I 'll remove them all if needed but gonna do it step by step so it might take some time.
I'll report back as soon as i get some results.


WSH Panel Mod script discussion/help

Reply #1521
list.item[...].id' is null or not an object File: <main> Ln: 1678, Col: 3
Gonna start dumping all other WSH-panels

WSH Panel Mod script discussion/help

Reply #1522
@Mod-Ular: sorry about that, i hope it will help ... something specific to your config is in fault ... another option is that you zip me your config, that could help me if i could reproduce the crash to find the source of the problem. as you want.

@everyone: WSH CoverFlow View v1.1 released, minor changes but better version than v1.0 >>> http://pastebin.com/u/Br3tt

WSH Panel Mod script discussion/help

Reply #1523
It is very possible that my seekbar or volumeknob have some problem.
Somehow i hope the problems can be eliminated be removing my WSH stuff.

Zipping my config ain't gonna be a simple solution as i never coded it to be useable elsewhere. (Read my config probably is heavily gonna search paths it cannot find and criple foobars efficiency)
It's a standalone setup so that part is easy. But nevertheless gonna be one big file due to all my images (backgrounds 200+, and loads of selfmade icons, for almost everything) I can prepare it a bit, but hope we can avoid that. (All my slick graphics in your hands can be dangerous for the foobar community ^^)

Removed my seekbar and still get the same error, same situation, startup ok, 1st playback okee, 2nd playback ERROR (no skip this time)
WSH Removal Stage 1 complete. It was not my seekbar.
Removing the old volumeknob is next.

WSH Panel Mod script discussion/help

Reply #1524
not sure that images à required, just the components and the configuration folder should be enough for me, shouldn't be so big ...