Re: [SlimDevices: Plugins] Announce: CDplayer plugin

2021-01-03 Thread pratt733


Thanks.  Figured it out on my own.  The device couldn't be seen in
-scanbus, but could still be accessed via the plugin.  Anyway, found
that custom-convert.conf needed this:

-I cooked_ioctl

>From the command line, it was creating silent wavs.  This resolved
that.

Hope this helps someone else.

bpa wrote: 
> Provide full info (processor, OS, platform, LMS version, CDplayer
> version)  about YOUR system - if it is same as the post you quoted -
> first update processor, OS & LMS.
> 
> Provide the output from cdda2wav showing whether devices on your system
> can be "seen" by cdda2wav.
> 
> If you have a weird device like the Samsung Optical Smarthub - I suspect
> it is too old to be supported.
> 
> Please give reference to the post as I don't have time to find the old
> post so I can check if it is relevant by getting its context .


----
pratt733's Profile: http://forums.slimdevices.com/member.php?userid=64824
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: CDplayer plugin

2021-01-01 Thread pratt733
ot;
  > # iSCSI management for Samsung SE-208BW
  > IADM="/usr/bin/iscsiadm"
  > MINFO="/usr/bin/dvd+rw-mediainfo"
  > ODEV="/dev/cdrom"
  > TARGET="iqn.2011-12.com.tsstk:storage.odd.sys"
  > LOGIN="root"
  > PASSWD="somepassword"
  > 
  > # Discover remote IP. Could hardcode that.
  > NODEIP=$($IADM -m node | grep $TARGET)
  > NODEIP=${NODEIP%%:*}
  > # If the DVD player is gone, don't block and get killed by watchdog...
  > ping -c 1 -s 1 -W 1 "$NODEIP" >/dev/null 2>&1
  > if (( $? )); then
  > (( $DEBUG )) && $LOGGER $LOGGEROPTS "Can't ping host [$NODEIP]! Exit."
  > # Shortcut
  > exit 0
  > fi
  > # Check iscsi session for local or remote operation
  > "$IADM" -m session 2>/dev/null | grep -q "$TARGET"
  > if (( $? )); then
  > # No session, remote media query is required
  > (( $DEBUG )) && $LOGGER $LOGGEROPTS "No session with [$TARGET]: remote 
media query"
  > (echo "$LOGIN"; echo "$PASSWD"; echo "$MINFO $ODEV >/dev/null 2>&1";echo 
'echo RETVAL=$?'; echo exit) | nc -t "$NODEIP" 23 | grep -q "RETVAL=252"
  > if (( $? )); then
  > # Any non-null value on the grep for code 252 means we have a DVD inserted, 
or something, including an error :-(
  > (( $DEBUG )) && $LOGGER $LOGGEROPTS "Media type in host [$NODEIP] is not 
CD, nothing to do"
  > # Shortcut
  > exit 0
  > else
  > # A CD is inserted, login iscsi. It's not a DVD but is it an audio CD, 
really??
  > (( $DEBUG )) && $LOGGER $LOGGEROPTS "Media type in host [$NODEIP] is CD: 
open session to [$TARGET]"
  > "$IADM" -m node -T "$TARGET" -l >/dev/null 2>&1
  > (( $? )) && (( $DEBUG )) && $LOGGER $LOGGEROPTS "Login failed! [$?]"
  > fi
  > else
  > # Current session, work locally to avoid the netcat stuff
  > (( $DEBUG )) && $LOGGER $LOGGEROPTS "In session with [$TARGET]: local media 
query"
  > "$MINFO" "$ODEV" >/dev/null 2>&1
  > if (( $? )); then
  > # Any non-null value, including read error :-( means we don't have a DVD 
inserted
  > (( $DEBUG )) && $LOGGER $LOGGEROPTS "Media type is not DVD, nothing to do"
  > # Shortcut
  > exit 0
  > else
  > # A DVD is inserted, log out iscsi. Unfortunately data DVDs are seen same 
as video DVDs...
  > (( $DEBUG )) && $LOGGER $LOGGEROPTS "Media type is DVD, close session to 
[$TARGET]"
  > "$IADM" -m node -T "$TARGET" -u >/dev/null 2>&1
  > (( $? )) && (( $DEBUG )) && $LOGGER $LOGGEROPTS "Logout failed! [$?]"
  > fi
  > fi
  > # Keep watchdog happy
  > exit 0
  > 

> > 
> 
> UPDATE 3. I tried playing different tracks of the same CD on different
> players. Usually the CD goes mad but can serve 2 players in parallel.
> But over iSCSI the player tends to serve only one queue of requests,
> then at end of song goes to the next, etc. So players take long, long
> pauses buffering. Might be related to the Samsung software/hardware
> but no matter of tweaking on either the target or the initiator did
> provide any noticeable improvement. I have modified the script above,
> as the local media detection operation would block in this case (and
> the machine restart...) Always querying via telnet solves this issue,
> since it bypasses the scsi tcp queue.



pratt733's Profile: http://forums.slimdevices.com/member.php?userid=64824
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] EXPERIMENTAL: "reliable" plugin for HTTP(S) streaming

2020-09-11 Thread pratt733


This is AWESOME!!!  Thank you, SO MUCH.  Please let me know if I can
help, in the future, with testing/whatever.  You've contributed SO MUCH
to this community.



pratt733's Profile: http://forums.slimdevices.com/member.php?userid=64824
View this thread: http://forums.slimdevices.com/showthread.php?t=112518

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: LMS Controls - Google Home / Google Assistant Voice Control of LMS Players

2020-08-21 Thread pratt733


ynot1234567890 wrote: 
> Glad it worked out.  As for the Favorite and Random mix, I've never
> really made use of those features in LMS, I use a similar feature with
> Spotify via LMS.  
> 
> I will consider the implementation of these LMS features in my Winter
> upgrade (should have some free time).  There are a few other items on
> the to do list as well.
> 
> Stay Tuned.  Ynot

At the risk of being a pest, would there be any chance you'd implement
this anytime soon?



pratt733's Profile: http://forums.slimdevices.com/member.php?userid=64824
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Itunes Update Time Problem

2015-10-05 Thread pratt733

Same deal here.  I think it has to do with the ItunesUpdate.pl using
some form of GMT instead of localtime, but I'm not sure where this
should be changed in the script.  Hard to test since I'd have to update
both the txt file and the test copy of my iTunes library each time.


vain4 wrote: 
> This has been going on for at least a year for me, maybe longer. The PC
> running the server has the correct time and time zone. If I look in the
> logs for the server all the time stamps are correct. In itunes the last
> played time is about 5hrs behind the actual time.
> 
> anyone ever solve this?


----
pratt733's Profile: http://forums.slimdevices.com/member.php?userid=64824
View this thread: http://forums.slimdevices.com/showthread.php?t=94886

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins