Skip to content

Commit e4b5140

Browse files
committed
fix: resolve goimports formatting and remaining shadow errors
- Add blank line between external and internal imports per goimports rules - Fix shadow errors in config_test.go (writeErr, readErr)
1 parent 4488208 commit e4b5140

23 files changed

Lines changed: 470 additions & 10 deletions
Lines changed: 395 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,395 @@
1+
{
2+
"embedding": [
3+
-0.05682123452425003,
4+
-0.038394227623939514,
5+
-0.009786723181605339,
6+
-0.08699411898851395,
7+
0.04130799323320389,
8+
0.012245832942426205,
9+
0.00943319033831358,
10+
0.03796319290995598,
11+
0.0036875505466014147,
12+
-0.013407365418970585,
13+
0.007126171607524157,
14+
-0.04234147444367409,
15+
0.035405829548835754,
16+
0.03033638931810856,
17+
-0.012975858524441719,
18+
-0.001464851782657206,
19+
-0.05678480863571167,
20+
0.03049452044069767,
21+
0.010270042344927788,
22+
-0.05862520635128021,
23+
0.05009718984365463,
24+
0.015991300344467163,
25+
0.06404812633991241,
26+
-0.008237811736762524,
27+
-0.05074385181069374,
28+
0.036642469465732574,
29+
-0.030519764870405197,
30+
-0.007271944545209408,
31+
-0.08136572688817978,
32+
-0.007496890611946583,
33+
0.04888451099395752,
34+
0.1075853705406189,
35+
0.013876964338123798,
36+
0.012488887645304203,
37+
0.03299618139863014,
38+
0.02691183052957058,
39+
0.017255941405892372,
40+
-0.08373472839593887,
41+
-0.08092498779296875,
42+
-0.06289893388748169,
43+
0.02861657366156578,
44+
0.07357281446456909,
45+
-0.02025352045893669,
46+
-0.04668450355529785,
47+
-0.07955172657966614,
48+
-0.0800686851143837,
49+
-0.016831358894705772,
50+
-0.09301383793354034,
51+
-0.04072335734963417,
52+
0.02493167109787464,
53+
-0.05764337629079819,
54+
-0.06822466105222702,
55+
-0.030923975631594658,
56+
0.03218600153923035,
57+
0.14616835117340088,
58+
0.0011039890814572573,
59+
-0.04313482344150543,
60+
0.02007327787578106,
61+
0.03787441551685333,
62+
-0.07457047700881958,
63+
-0.023380903527140617,
64+
-0.06972144544124603,
65+
-0.053008269518613815,
66+
-0.023453839123249054,
67+
-0.023302244022488594,
68+
-0.0026814022567123175,
69+
-0.016668017953634262,
70+
0.008931634947657585,
71+
0.04779120534658432,
72+
-0.048083074390888214,
73+
-0.07679378241300583,
74+
0.06546096503734589,
75+
-0.05842864140868187,
76+
0.020279288291931152,
77+
-0.06817200034856796,
78+
0.03713870421051979,
79+
0.037791211158037186,
80+
0.0032489162404090166,
81+
-0.07233007997274399,
82+
-0.1481887698173523,
83+
-0.06828143447637558,
84+
-0.05558517947793007,
85+
-0.014572067186236382,
86+
0.05951349437236786,
87+
0.006634715013206005,
88+
0.023045644164085388,
89+
0.06270239502191544,
90+
-0.05006403848528862,
91+
0.056266672909259796,
92+
-0.0125378193333745,
93+
-0.00856421422213316,
94+
-0.061950016766786575,
95+
0.036239996552467346,
96+
-0.03900282084941864,
97+
0.028282251209020615,
98+
0.11643198132514954,
99+
-0.03620166331529617,
100+
0.03929763659834862,
101+
0.031323518604040146,
102+
0.08636407554149628,
103+
0.0019788178615272045,
104+
-0.0009870928479358554,
105+
0.02410178631544113,
106+
-0.06069118529558182,
107+
-0.03028339333832264,
108+
0.0025854504201561213,
109+
-0.005389622412621975,
110+
0.10212245583534241,
111+
-0.07028407603502274,
112+
-0.04979557916522026,
113+
-0.046074025332927704,
114+
0.016337493434548378,
115+
-0.010487718507647514,
116+
0.006397653371095657,
117+
0.025809818878769875,
118+
0.06242591515183449,
119+
0.045113615691661835,
120+
0.007897373288869858,
121+
-0.013681959360837936,
122+
0.09669758379459381,
123+
0.07166355848312378,
124+
-0.010161861777305603,
125+
-0.06516440212726593,
126+
0.046681106090545654,
127+
0.016560986638069153,
128+
-0.028190622106194496,
129+
0.02396785095334053,
130+
6.084827120886566e-33,
131+
0.04885156825184822,
132+
-0.08674930036067963,
133+
-0.01762332208454609,
134+
-0.012056627310812473,
135+
0.06132816523313522,
136+
-0.012131870724260807,
137+
0.03828492760658264,
138+
0.029912326484918594,
139+
-0.07575299590826035,
140+
0.0005128822522237897,
141+
0.04080929979681969,
142+
0.08612605929374695,
143+
-0.09181332588195801,
144+
-0.047202080488204956,
145+
0.03032936155796051,
146+
-0.10646270960569382,
147+
0.024256067350506783,
148+
0.056708794087171555,
149+
-0.01642516814172268,
150+
0.00027233813307248056,
151+
0.053364913910627365,
152+
-0.012928617186844349,
153+
-0.02645278163254261,
154+
-0.039703063666820526,
155+
0.02807418815791607,
156+
0.0010502254590392113,
157+
0.02590998262166977,
158+
-0.061860933899879456,
159+
0.12069883942604065,
160+
-0.0068303258158266544,
161+
0.00650259992107749,
162+
-0.0330212339758873,
163+
0.02409474551677704,
164+
-0.011969068087637424,
165+
-0.01947115547955036,
166+
-0.009857541881501675,
167+
-0.10455454885959625,
168+
-0.00448200898244977,
169+
-0.08753179758787155,
170+
-0.022084949538111687,
171+
-0.014193177223205566,
172+
-0.013938733376562595,
173+
-0.17009182274341583,
174+
-0.07752293348312378,
175+
0.04795942083001137,
176+
-0.07244649529457092,
177+
-0.07138466089963913,
178+
0.052596449851989746,
179+
0.06759290397167206,
180+
0.033798012882471085,
181+
0.0480598583817482,
182+
0.051248468458652496,
183+
0.0078054154291749,
184+
-0.034937433898448944,
185+
-0.002765163080766797,
186+
0.018821392208337784,
187+
-0.00537524651736021,
188+
0.013180842623114586,
189+
0.011854183860123158,
190+
-0.010210658423602581,
191+
0.03181116655468941,
192+
0.06475725769996643,
193+
0.04039941728115082,
194+
-0.013293197378516197,
195+
0.08070635795593262,
196+
0.04594077542424202,
197+
0.05829793959856033,
198+
0.04564422741532326,
199+
0.0712173581123352,
200+
0.06486251950263977,
201+
-0.053784001618623734,
202+
0.022794803604483604,
203+
0.046058207750320435,
204+
-0.024623464792966843,
205+
0.09063903987407684,
206+
-0.09436288475990295,
207+
-0.047051526606082916,
208+
-0.009340970776975155,
209+
-0.017038486897945404,
210+
-0.0205376073718071,
211+
-0.004784677177667618,
212+
-0.022676721215248108,
213+
-0.03184796869754791,
214+
-0.011464874260127544,
215+
-0.006030656397342682,
216+
-0.006676923017948866,
217+
0.005278796888887882,
218+
-0.011584661900997162,
219+
-0.07653001695871353,
220+
-0.041722290217876434,
221+
0.05785524472594261,
222+
-0.0015403340803459287,
223+
0.009387977421283722,
224+
-0.045847803354263306,
225+
-0.05202135816216469,
226+
-6.009217487531753e-33,
227+
0.05218076705932617,
228+
-0.08097109198570251,
229+
0.10094891488552094,
230+
-0.028997942805290222,
231+
0.02914207987487316,
232+
-0.055144745856523514,
233+
-0.09596926718950272,
234+
0.03146173059940338,
235+
0.035929251462221146,
236+
-0.016679391264915466,
237+
-0.03936006501317024,
238+
-0.058676041662693024,
239+
-0.018618738278746605,
240+
-0.06693725287914276,
241+
0.005731637589633465,
242+
0.06773023307323456,
243+
-0.027587775141000748,
244+
-0.08286746591329575,
245+
-0.030883977189660072,
246+
0.014691159129142761,
247+
-0.07168669998645782,
248+
0.12446098774671555,
249+
0.04138045385479927,
250+
0.07485837489366531,
251+
0.02286648564040661,
252+
0.015390277840197086,
253+
0.04665396362543106,
254+
0.10325171053409576,
255+
0.01965785212814808,
256+
-0.0849621444940567,
257+
0.016177644953131676,
258+
-0.01756415329873562,
259+
-0.1613941341638565,
260+
-0.024034682661294937,
261+
0.008645616471767426,
262+
-0.07047340273857117,
263+
0.05732022970914841,
264+
0.11403237283229828,
265+
-0.02298196405172348,
266+
0.07572983205318451,
267+
0.05135458707809448,
268+
0.019784800708293915,
269+
-0.03788813576102257,
270+
-0.005393819883465767,
271+
0.005339852999895811,
272+
-0.016609666869044304,
273+
-0.01761326938867569,
274+
0.0585227869451046,
275+
-0.02867843583226204,
276+
-0.0711170956492424,
277+
-0.0032531947363168,
278+
-0.0718851312994957,
279+
-0.011512686498463154,
280+
-0.06381493806838989,
281+
0.05359692871570587,
282+
0.016190892085433006,
283+
0.04510568454861641,
284+
-0.010627508163452148,
285+
-0.059458956122398376,
286+
-0.06565187126398087,
287+
0.03014253079891205,
288+
-0.058348629623651505,
289+
-0.07119263708591461,
290+
0.06997835636138916,
291+
0.009622493758797646,
292+
-0.01642809435725212,
293+
-0.03615032136440277,
294+
-0.03064098209142685,
295+
-0.06965389102697372,
296+
0.0016671951161697507,
297+
-0.010399702936410904,
298+
-0.015986399725079536,
299+
-0.027801379561424255,
300+
-0.05290592834353447,
301+
0.05032913759350777,
302+
0.062103163450956345,
303+
-0.015358014963567257,
304+
-0.08048966526985168,
305+
0.015516635961830616,
306+
0.06585124135017395,
307+
-0.10959203541278839,
308+
0.07405857741832733,
309+
0.009172877296805382,
310+
0.0004355755227152258,
311+
-0.004033838864415884,
312+
0.04351070523262024,
313+
-0.04092809930443764,
314+
0.10464692115783691,
315+
0.04580090194940567,
316+
-0.030903765931725502,
317+
-0.03270499035716057,
318+
-0.019980883225798607,
319+
0.05618951842188835,
320+
0.022930581122636795,
321+
0.044651105999946594,
322+
-5.880476550146341e-8,
323+
-0.05001428350806236,
324+
-0.013231975957751274,
325+
-0.09450477361679077,
326+
0.11445353925228119,
327+
0.02721557579934597,
328+
0.02457049861550331,
329+
-0.016505111008882523,
330+
0.024898255243897438,
331+
0.01413806527853012,
332+
-0.04517505690455437,
333+
0.05150020122528076,
334+
-0.04723619297146797,
335+
-0.015761809423565865,
336+
0.009870893321931362,
337+
0.024350104853510857,
338+
-0.06806011497974396,
339+
0.059927333146333694,
340+
0.053628914058208466,
341+
-0.06589895486831665,
342+
-0.012736073695123196,
343+
0.018508367240428925,
344+
-0.007171763572841883,
345+
0.06687331199645996,
346+
0.04318027198314667,
347+
0.00332706980407238,
348+
-0.009089010767638683,
349+
0.0534045547246933,
350+
0.021956492215394974,
351+
-0.04559831693768501,
352+
0.045301537960767746,
353+
0.05341564118862152,
354+
0.008604219183325768,
355+
0.020929647609591484,
356+
-0.0563729852437973,
357+
0.06327422708272934,
358+
-0.011595525778830051,
359+
0.07783065736293793,
360+
0.040500327944755554,
361+
-0.030061449855566025,
362+
0.07407015562057495,
363+
0.06477713584899902,
364+
0.026267101988196373,
365+
0.04057043418288231,
366+
0.0007189100724644959,
367+
0.012873872183263302,
368+
-0.04868239536881447,
369+
0.008359288796782494,
370+
0.003311493434011936,
371+
0.07248826324939728,
372+
-0.05335081368684769,
373+
-0.035887714475393295,
374+
0.0021093005780130625,
375+
-0.035412341356277466,
376+
0.02255883999168873,
377+
0.06987422704696655,
378+
0.07418191432952881,
379+
0.052301593124866486,
380+
-0.02330903150141239,
381+
0.0013554414035752416,
382+
-0.005919374525547028,
383+
0.11757738888263702,
384+
-0.02300317771732807,
385+
0.049354810267686844,
386+
0.06961176544427872
387+
],
388+
"text": "### What We Built\nA comprehensive CLI for Plex Media Server management. Key commands:\n- `match search/apply` - Fix metadata matches (like Plex's \"Fix Match\" UI)\n- `editions` - List movies with editions, diagnose format issues with specific fix suggestions\n- `streams list/set` - Manage audio/subtitle tracks for entire seasons at once\n- `watch now/history/stats` - View activity, history, most watched by user/show/title\n- Added section column to `recently-added` and `file-paths` to identify duplicates across libraries\n\n### Technical Decisions\n- Module path: `github.com/dogbertdev/plexcli`\n- Uses published plexgo v0.27.0 SDK (had to fix many API compatibility issues - types changed to `any`, pointers everywhere)\n- Created `anyToString()` helper that properly dereferences pointers via reflection\n- Direct HTTP calls for auth (SDK removed Authentication API) and watch/streams features\n- XML parsing for Plex API responses (sessions, history, accounts, streams, matches)\n\n### Plex API Endpoints Discovered\n- `/status/sessions` - Active playback sessions\n- `/status/sessions/history/all` - Watch history\n- `/accounts` - User accounts\n- `/library/metadata/{id}/matches?manual=1` - Search for metadata matches\n- PUT `/library/metadata/{id}/match?guid=...` - Apply a match\n- PUT `/library/parts/{id}?audioStreamID=...&subtitleStreamID=...` - Set default streams\n- `/library/metadata/{id}/children` - Get seasons/episodes\n\n### Edition Tag Format\nPlex expects: `{edition-Name}` (lowercase, dash separator)\nCommon issues: `{Edition Name}` (capital E, space) - won't be recognized\n\n### CI/CD Setup\n- GitHub Actions for CI (Go 1.21/1.22 matrix, golangci-lint)\n- goreleaser for cross-platform builds (linux/darwin/windows, amd64/arm64)\n- Release workflow triggers on tags\n\n### Git History Cleanup\nUsed `git filter-repo --invert-paths --path plex --path cmd.test` to remove ~28MB of binaries from history before release.",
389+
"sections": [
390+
"Project Notes",
391+
"plexcli - Production Release Session"
392+
],
393+
"timestamp": 1771291690521,
394+
"path": "/Users/paulmansfield/projects/plex-cli/.private-journal/2026-02-17/12-28-10-521188.md"
395+
}

0 commit comments

Comments
 (0)