TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > Developers Corner
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 03-19-2013, 07:53 PM   #121
jbernardis
Registered User
 
Join Date: Oct 2003
Location: Princeton NJ
Posts: 1,059
If anybody has any clues to what can be done to solve this issue, I'd appreciate some clues. My biggest difficulty is that I don't have a test platform since my TiVos are Series 3 OLED models, but I'd guess that jcthorne would be a willing tester if I had something I could try.
__________________
2 Series 3
1 HDTivo
1 Series 1 (Lifetime)
1 Win7 HTPC with Ceton Quad Tuner


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jbernardis is offline   Reply With Quote
Old 03-20-2013, 03:46 AM   #122
jcthorne
Registered User
 
Join Date: Jan 2002
Location: Houston
Posts: 1,829
Absolutely. It has to be something around the HDMI connection. If I connect directly to the tivo using analog audio cables it works fine, not with the rest of the system but you get the stereo audio. Wish I could be more help.
__________________
Current : Roamio Base with 2TB drive and 2 Premieres, OTA. kmttg, pyTivo, running with a Synology 1511 NAS....serving up the world.

Setup help for pytivo under windows:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jcthorne is offline   Reply With Quote
Old 03-20-2013, 11:22 AM   #123
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,763
Try toggling the "Dolby Digital to PCM" setting. (Of course this has other problems.)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 03-22-2013, 05:19 PM   #124
jcthorne
Registered User
 
Join Date: Jan 2002
Location: Houston
Posts: 1,829
Quote:
Originally Posted by wmcbrine View Post
Try toggling the "Dolby Digital to PCM" setting. (Of course this has other problems.)
OK, data point I suppose. Changing the setting from Dolby Digital to PCM jukebox works normally. Change it back to dolby and Jukebox is silent. No reboot, I can toggle back and forth and its repeatable.

These are stereo mp3 files its playing. I noticed its not just the music that is silent. The menu bloops are gone when sound is set for dolby as well.
__________________
Current : Roamio Base with 2TB drive and 2 Premieres, OTA. kmttg, pyTivo, running with a Synology 1511 NAS....serving up the world.

Setup help for pytivo under windows:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jcthorne is offline   Reply With Quote
Old 03-24-2013, 02:29 PM   #125
cassiusdrow
Registered User
 
Join Date: May 2003
Location: NJ
Posts: 129
I am using the Jukebox with both a Series 3 OLED (using component/optical) and a Premiere XL (using HDMI). I have not had audio problems with the jukebox. Both are NOT set to convert "Dolby Digital to PCM".

I am seeing a different issue. When the TiVo button is used to exit the Jukebox while music is playing, the music file is not closed. I have to stop the HME for Python process to release the file.

Edit: Turns out I have to stop both the pyTiVo and HME for Python processes to release the music file. I also tried just using the pyTiVo music directly and had the same issue, so maybe this is really a pyTiVo issue.

Edit 2: Tried exiting with the left arrow and thumbs up while music is playing, same issue.
__________________
Premiere XL, 1TB, Moto M-Card
2x S3 OLED, 1TB/320GB, Moto S-Cards
S2 DVR-810H, 500GB
S2 240, 500GB
All Lifetime
Cable:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

NAS:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by cassiusdrow : 03-26-2013 at 03:50 PM.
cassiusdrow is offline   Reply With Quote
Old 04-12-2013, 01:37 PM   #126
xekester
Registered User
 
Join Date: Nov 2005
Posts: 40
Jukebox Not Starting?

I've installed and configured python27, pyTivo, HME for Python, the Python Image Library and Jukebox. I copied the pyTivo mutagen directory to the jukebox directory, I ran the BuildCache for Jukebox successfully. I started pyTivo in a console window, and in a separate console window I run start.py but I only get to Server Starts. Can someone point me to what's wrong? Config files below.

C:\Python27\Lib\site-packages\HME-Python>start.py
HME Server for Python 0.20
Not using Zeroconf:
Fri Apr 12 14:23:07 2013 JukeBox version 1.1a module initializing
Fri Apr 12 14:23:07 2013 Starting cache file load
Fri Apr 12 14:23:10 2013 Starting sort
Fri Apr 12 14:23:10 2013 Finished - 8169 music files, 1160 albums, 702 album artists, 1066 track artists
Fri Apr 12 14:23:10 2013Cache watcher thread starting - watch interval = 600
Server Starts

No further output and the apps don't appear. Is the issue with HME or is it the app?

Thanks,
xekester

HME-Python config.ini
[hmeserver]
port=9032
address=192.168.1.128
zeroconf=False
basepath=C:\Python27\Lib\site-packages\HME-Python
datapath=C:\Python27\Lib\site-packages\HME-Python

apps=picture clock jukebox

[picture]
path=C:\Python27\Lib\site-packages\HME-Python\picture
delay=2
exts=.jpg .png

[jukebox]
path=C:\Python27\Lib\site-packages\HME-Python\jukebox

pyTivo.conf
[Server]
port = 9032
ts = on
ffmpeg = C:\pytivo\bin\ffmpeg.exe
tivo_mak = XXXXXXX
tivo_username = XXXXXXXXX
togo_path = \\DiskStation\video\Tivo
tivodecode = C:\pytivo\bin\tivodecode\tivodecode.exe
beacon = 192.168.1.153
tivo_mind = symind.tivo.com:8181
debug = True
tdcat = C:\pytivo\bin\tivodecode\tdcat.exe
tivo_password = XXXXXXX
zeroconf = False

[_tivo_SD]

[_tivo_HD]

[MyPhotos]
type = photo
path = E:\Data\Photos

[MyMusic]
type = music
path = \\Diskstation\Music\iTunes\Music

[MyVideos]
path = \\Diskstation\video\Movies
type = video
force_alpha = True

[MyTVSeries]
path = \\Diskstation\video\TVShows
type = video
force_alpha = True
xekester is offline   Reply With Quote
Old 04-12-2013, 02:35 PM   #127
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,763
Why did you disable Zeroconf? start.py has no other way to announce (unless you configure old-style beacons, which you haven't, and that's only available in the git version anyway). The only other way you'll see it is if you run it on port 80 and use the TiVo's "Add an App" function.

Oh, you also have them both trying to run on port 9032. That won't work (and you should've seen an error about it from whichever one launched second). They need separate ports. (Which they would have, by default -- there's really no need to specify these.)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 04-12-2013, 05:06 PM   #128
xekester
Registered User
 
Join Date: Nov 2005
Posts: 40
Now just an issue with my Jukebox configuration?

Ignorance on my part (still learning). I've changed Zeroconf in HME-Python config.ini and pyTivo.config to True. Or should I just remove Zeroconf from both (default to True?)

I've removed the port from the HME-Python config file. I kept the port=9032 in pyTivo.conf.

Now when I run start.py, jukebox runs, displays all menus, I am able to interact with the app, but when I go to play songs, they don't play. Note to jbernardis: When this happens, the playing screen is displayed, but the progress indicator does not move.

wmcbrine, Can I assume getting this far means I am past pyTivo and HME-Python issues at this point?

Now my issues are with how I set up my jukebox configuration.
The only odd things I see in the trace are references to Server address and port IDs (see bolded trace below).
My Tivo is at 192.168.1.153.

Thank you wmcbrine for your help (and patience ) in both threads today.

Xekester

C:\Python27\Lib\site-packages\HME-Python>start.py
HME Server for Python 0.20
Fri Apr 12 17:49:34 2013 JukeBox version 1.1a module initializing
Fri Apr 12 17:49:34 2013 Starting cache file load
Fri Apr 12 17:49:36 2013 Starting sort
Fri Apr 12 17:49:36 2013 Finished - 8169 music files, 1160 albums, 702 album artists, 1066 track artists
Fri Apr 12 17:49:36 2013Cache watcher thread starting - watch interval = 600
Server Starts
Registering: jukebox
192.168.1.153:55297 - - [12/Apr/2013 17:51:15] "GET /jukebox/icon.png HTTP/1.0" 200 -
192.168.1.153:55298 - - [12/Apr/2013 17:51:24] "GET /jukebox/ HTTP/1.1" 200 -
192.168.1.153:55298 - - [12/Apr/2013 17:51:24] Starting HME: jukebox
Jukebox thread entering startup
Jukebox thread activating
Server address = 128.96.11.243:9032
192.168.1.153:55298 - - [12/Apr/2013 17:52:48] Ending HME: jukebox
192.168.1.153:55335 - - [12/Apr/2013 17:52:49] "GET /jukebox/icon.png HTTP/1.0" 200 -

Last edited by xekester : 04-12-2013 at 05:43 PM.
xekester is offline   Reply With Quote
Old 04-12-2013, 06:51 PM   #129
jbernardis
Registered User
 
Join Date: Oct 2003
Location: Princeton NJ
Posts: 1,059
Quote:
Originally Posted by xekester View Post
Now when I run start.py, jukebox runs, displays all menus, I am able to interact with the app, but when I go to play songs, they don't play. Note to jbernardis: When this happens, the playing screen is displayed, but the progress indicator does not move.
Does your pytivo log show anything unordinary? Jukebox passes the URL of your PyTIvo server to the Tivo, and the TiVo actually gets the file from PyTivo. Jukebox has no actual interaction with the playing file - it just reacts to status messages that the TiVo sends as IT (the TiVo) is playing the stream. The status messages are simply used to update the display. Make sure you specify the correct IP address and port of your PyTivo server.
__________________
2 Series 3
1 HDTivo
1 Series 1 (Lifetime)
1 Win7 HTPC with Ceton Quad Tuner


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jbernardis is offline   Reply With Quote
Old 04-12-2013, 07:59 PM   #130
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,763
Quote:
Originally Posted by xekester View Post
Ignorance on my part (still learning).
When I ask "Why did you disable Zeroconf", it's not a rebuke. I'm trying to find out why you thought it was a good idea to do that, so that perhaps I can correct whatever bit of documentation gave you that impression, so the next person doesn't do that.

Quote:
wmcbrine, Can I assume getting this far means I am past pyTivo and HME-Python issues at this point?
Too early to say that. Can you play music through the TiVo's built-in MP3 player?

Quote:
Server address = 128.96.11.243:9032
This doesn't look like the right address.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 04-12-2013, 09:41 PM   #131
lrhorer
Registered User
 
Join Date: Aug 2003
Location: San Antonio, Texas, USA
Posts: 6,849
Quote:
Originally Posted by wmcbrine View Post
This doesn't look like the right address.
Indeed, it does not. That is a routable address, and exceedingly few people would want their pyTivo server on a routable port. The other IP addresses he displays are all on 192.168.1/24, which is a very common nonroutable subnet. One would ordinarily expect all the hosts to be on the same (nonroutable) subnet.
lrhorer is offline   Reply With Quote
Old 04-12-2013, 10:24 PM   #132
xekester
Registered User
 
Join Date: Nov 2005
Posts: 40
jbernardis, I don't have logging enabled for pyTivo or HME-Python. I don't know how to enable logging yet.
However, I disabled the pyTivo service and then ran it on a console window. When I run start.py in another console window and go to play a song I got:
on start.py console:

Server Starts
Registering: jukebox
192.168.1.153:48025 - - [12/Apr/2013 23:06:23] "GET /jukebox/icon.png HTTP/1.0" 200 -
192.168.1.153:48026 - - [12/Apr/2013 23:06:39] "GET /jukebox/ HTTP/1.1" 200 -
192.168.1.153:48026 - - [12/Apr/2013 23:06:39] Starting HME: jukebox
Jukebox thread entering startup
Jukebox thread activating
Server address = 128.96.11.243:9032

on pyTivo console
no new output at this point.

wmcbrine, No, no offense taken or meant. I am just grateful that you guys
are taking the time to support these projects. For me, the hardest part has been to try and pull all of the
pieces together.

If by built-in MP3 player you mean just using pyTivo-->MyMusic share, then yes the same songs play correctly. Harmonium also works for the same songs.

I am still trying to figure out where that stray Server IP address came from, as well as the strange port IDs (e.g. 48025 or is that a thread ID?, or ????).

Thanks Guys,
Xekester
xekester is offline   Reply With Quote
Old 04-12-2013, 10:51 PM   #133
xekester
Registered User
 
Join Date: Nov 2005
Posts: 40
Update: Found It

The problem was that I needed to specify in jukebox.ini:

serverip=192.168.1.128
serverport=9032

As specified in jbernadis's jukebox readme (DOH!)

Music is playing fine now.

Thank you all for your support.

Onwards and upwards!

Xekester
xekester is offline   Reply With Quote
Old 04-20-2013, 08:10 AM   #134
fxsknr
Registered User
 
Join Date: Feb 2010
Posts: 3
Can't get specific mp3 to play in Jukebox

I have a specific mp3 file that won't play in jukebox. The slider stays at 0:00 and doesn't move. No sound comes out and from that moment on and I'm unable to play any other song with any music player on the tivo (including Pandora) until I reboot the tivo. The same track plays just fine with pytivo by itself. Other mp3 tracks play ok, so jukebox seems to be configured right.

I'm running into this issue on a Tivo HD with the latest software available. I'm also using the latest versions of pytivo, pyhme, and jukebox.

Here is my configuration for pytivo:

[Server]
port = 9032
ffmpeg = C:\pytivo\bin\ffmpeg.exe
tivodecode = C:\pytivo\bin\tivodecode.exe

[_tivo_SD]

[_tivo_HD]

[MyMusic]
path = C:\Users\Corey\Music\iTunes\iTunes Music
type = music


Here is my configuration for pyhme:

[hmeserver]
apps=jukebox


Here is my configuration for jukebox:

[jukebox]
serverip = 192.168.1.6
serverport = 9032
pytivo = C:\pytivo\pyTivo.conf
preloadcache = False
cachewatchinterval = 600
autoswitchnp = 120
ignoreidle = False
ignorearticles = False
lyricindent = -1
usefolderimage = False
folderartfiles = ['folder.jpg']
screensaver = 600
ignorecase = True
skin = None
albumshuffle = False
albumloop = False
artistshuffle = False
artistloop = False
playlistshuffle = False
playlistloop = False
trackshuffle = True
trackloop = False
fxsknr is offline   Reply With Quote
Old 04-20-2013, 09:51 AM   #135
jbernardis
Registered User
 
Join Date: Oct 2003
Location: Princeton NJ
Posts: 1,059
It's I possible to say. I sent you a pm with my email address. Could you send me the file?
__________________
2 Series 3
1 HDTivo
1 Series 1 (Lifetime)
1 Win7 HTPC with Ceton Quad Tuner


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jbernardis is offline   Reply With Quote
Old 04-20-2013, 10:05 AM   #136
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,763
Given how easily the TiVo gets into that state (i.e., where it won't play any more MP3s), it might be coincidence rather than that specific file. But, try adding "force_ffmpeg = True" to the "MyMusic" section of your pyTivo.conf.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 04-20-2013, 06:12 PM   #137
xekester
Registered User
 
Join Date: Nov 2005
Posts: 40
Jukebox Request

JBernardis,

It would be nice if Jukebox could use exported iTunes playlists (.m3u).
Here's a sample of two songs from an m3u playlist file (the first line in the sample is the first line from the file):

#EXTM3U
#EXTINF:335,The Crosswords & The Safety Pins - Battered Ornaments
\\DiskStation\Music\iTunes\Music\Battered Ornaments\Mantle-Piece\11-04 The Crosswords & The Safety Pins.mp3
#EXTINF:248,Staggered - Battered Ornaments
\\DiskStation\Music\iTunes\Music\Battered Ornaments\Mantle-Piece\1-05 Staggered.mp3

And, it would be nice to able to specify the Playlist's folder location (other than in the jukebox directory.
-Not have to maintain multiple playlist directories for different devices/apps.

I really like the improvements you've made over the Harmonium app.

Thanks for your consideration,
Xekester
xekester is offline   Reply With Quote
Old 04-20-2013, 08:40 PM   #138
jbernardis
Registered User
 
Join Date: Oct 2003
Location: Princeton NJ
Posts: 1,059
So far as I know, jukebox DOES read m3u files directly. I've not done extensive testing on it, so if you have a specific issue let me know. The only caveat I would have is the following: If jukebox reads in an M3U playlist, and you edit it in any way, it will be saved as an equivalent JPL file - the M3U file will remain unchanged, but it will no longer be loaded on startup (actually at present, the M3U file will be deleted - more on this below)

Regarding the playlist directory, I have modified the code to support this. A new ini file option allows you to specify a location, and the default location will remain what it is today. While making this change, I also made the above mentioned modification whereby it will no longer delete an M3U file if it is edited - it will just ignore it in the future.

I have put this up on GIT as version 1.1b.
__________________
2 Series 3
1 HDTivo
1 Series 1 (Lifetime)
1 Win7 HTPC with Ceton Quad Tuner


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jbernardis is offline   Reply With Quote
Old 04-21-2013, 11:00 AM   #139
xekester
Registered User
 
Join Date: Nov 2005
Posts: 40
Jukebox Request

jbernardis,

Wow, that was quick! Thanks.

I will give it a try later today after my houseguest leaves.

Xekester
xekester is offline   Reply With Quote
Old 04-23-2013, 06:37 PM   #140
jbernardis
Registered User
 
Join Date: Oct 2003
Location: Princeton NJ
Posts: 1,059
Regarding the bjork file that wouldn't play in Jukebox. The issue IS with the directory name. In the short term, the problem can be solved by changing the name of the directory to "bjork" and then rebuilding the cache.

Now the issue: The path of the file is formed into a URL that is passed to the TiVo. The URL is as follows:
Code:
http://192.168.1.201:9032/My%20Music/Bj%C3%B6rk/01%20Hunter.mp3
When pytivo gets this URL, the following appears in its log:

Code:
2013-04-23 19:24:34,589 ERROR pyTivo: Exception during request from ('192.168.1.103', 1561)
Traceback (most recent call last):
  File "SocketServer.py", line 463, in process_request_thread
    self.finish_request(request, client_address)
  File "SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/pytivo/httpserver.py", line 64, in __init__
    client_address, server)
  File "SocketServer.py", line 521, in __init__
    self.handle()
  File "BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "/usr/local/pytivo/httpserver.py", line 95, in do_GET
    self.handle_file(query, splitpath)
  File "/usr/local/pytivo/httpserver.py", line 165, in handle_file
    plugin.send_file(self, path, query)
  File "/usr/local/pytivo/plugins/music/music.py", line 102, in send_file
    fsize = os.path.getsize(fname)
  File "posixpath.py", line 139, in getsize
    return os.stat(filename).st_size
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 15: ordinal not in range(128)
The line of code I use to form the URL is as follows:
Code:
url = "http://%s:%s/%s" % (self.server_host, self.server_port, quote(fn))
where quote is an alias for urllib.quote.
__________________
2 Series 3
1 HDTivo
1 Series 1 (Lifetime)
1 Win7 HTPC with Ceton Quad Tuner


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jbernardis is offline   Reply With Quote
Old 04-23-2013, 08:36 PM   #141
fxsknr
Registered User
 
Join Date: Feb 2010
Posts: 3
Thanks. I appreciate you finding a work around.
fxsknr is offline   Reply With Quote
Old 04-24-2013, 12:21 AM   #142
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,763
Quote:
Originally Posted by jbernardis View Post
When pytivo gets this URL, the following appears in its log:
Makes no sense, especially since fxsknr said it works from the pyTivo share. Can you send me a more complete log?

Edit: Oh, before that -- can you confirm that it works for you from the pyTivo share? If not, then you have a different issue from fxsknr. (You're using different OSes, I note, that handle Unicode differently. He's got Windows; you've got some kind of Unix. Which kind would be good to know... I pass Unicode names to os.path.getsize(), and they work in OS X and Ubuntu.)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by wmcbrine : 04-24-2013 at 05:26 AM.
wmcbrine is offline   Reply With Quote
Old 04-24-2013, 05:21 PM   #143
jbernardis
Registered User
 
Join Date: Oct 2003
Location: Princeton NJ
Posts: 1,059
I'm not sure what happened, but it now plays fine for me both in pytivo and in jukebox. Here is what I did.

1) I had left the directory with an ascii name, so I renamed it back to the original name
2) just to clear out memory, I stopped and then restart pytivo, emptying the debug.log file in between.
3) I rebuilt the jukebox cache since the old cache pointed to a file with the ascii name
4) I played the file directly with pytivo, and it played fine.
5) I then moved into jukebox and selected the file for playing thinking that it would fail, but in fact it played.
6) I stopped everything, pytivo AND pyhme, and then restarted them, I went back into jukebox, and now it plays.

I have no idea why this happened!!


oh - BTW - I run both the HME app and pytivo on my netgear NAS which, I believe, is a debian-based linux.
__________________
2 Series 3
1 HDTivo
1 Series 1 (Lifetime)
1 Win7 HTPC with Ceton Quad Tuner


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jbernardis is offline   Reply With Quote
Old 04-24-2013, 08:43 PM   #144
fxsknr
Registered User
 
Join Date: Feb 2010
Posts: 3
jbernardis,

I tried your suggestion and it didn't work for me. I am indeed running Windows with Python 2.7 32 bit on Windows 8 64 bit. I am finding that jukebox quite frequently hangs up my tivo forcing me to reboot. It happens on many songs, not just the one I sent you. This problem doesn't seem to have with pytivo alone. Is there a way to log whats happening so I can send it to you for analysis?

fxsknr
fxsknr is offline   Reply With Quote
Old 04-24-2013, 10:22 PM   #145
jbernardis
Registered User
 
Join Date: Oct 2003
Location: Princeton NJ
Posts: 1,059
jukebox standard output goes to the same place as the hme standard output - so however you started hme (start.py) wherever you redirect your output to - that's the logging information that would be available to you.

The pytivo log is also of interest. Jukebox is not involved in the playing of the song at all. It passes the URL of the song to the TiVo, and TiVo retrieves the song using that URL. The URL happens to point to pytivo, and pytivo serves up the file. As the song is being played, tivo sends update messages to jukebox which jukebox uses to update its display.

If your tivo is getting hung up, I doubt there's going to be anything of interest in the log, but it doesn't hurt to look. What model tivo do you use? There have been reported issues with the premier series. I don't own a premier - my tivos are both the original series 3, and I have not noticed any issues.
__________________
2 Series 3
1 HDTivo
1 Series 1 (Lifetime)
1 Win7 HTPC with Ceton Quad Tuner


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jbernardis is offline   Reply With Quote
Old 05-26-2013, 07:25 PM   #146
cassiusdrow
Registered User
 
Join Date: May 2003
Location: NJ
Posts: 129
It looks like the lyrics feature is no longer working when it tries to retrieve lyrics from azlyrics (local files still work). Any ideas?
__________________
Premiere XL, 1TB, Moto M-Card
2x S3 OLED, 1TB/320GB, Moto S-Cards
S2 DVR-810H, 500GB
S2 240, 500GB
All Lifetime
Cable:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

NAS:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
cassiusdrow is offline   Reply With Quote
Old 05-26-2013, 09:48 PM   #147
jbernardis
Registered User
 
Join Date: Oct 2003
Location: Princeton NJ
Posts: 1,059
That's a feature whose code I haven't touched for months if not longer. Last time I used it it was working fine. It was never able to work 100% of the time. If there's a specific artist/song that it can't find lyrics for let me know the exact artist and song name and I'll see if I can improve the search algorithm.
__________________
2 Series 3
1 HDTivo
1 Series 1 (Lifetime)
1 Win7 HTPC with Ceton Quad Tuner


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jbernardis is offline   Reply With Quote
Old 05-26-2013, 11:49 PM   #148
cassiusdrow
Registered User
 
Join Date: May 2003
Location: NJ
Posts: 129
I haven't been able to get it to retrieve anything in months. I have also verified that azlyrics actually has the lyrics for the songs I was trying and it did. I was thinking maybe either something changed on azlyrics or they are blocking it. Is it working for you?
__________________
Premiere XL, 1TB, Moto M-Card
2x S3 OLED, 1TB/320GB, Moto S-Cards
S2 DVR-810H, 500GB
S2 240, 500GB
All Lifetime
Cable:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

NAS:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
cassiusdrow is offline   Reply With Quote
Old 06-15-2013, 10:38 AM   #149
jbernardis
Registered User
 
Join Date: Oct 2003
Location: Princeton NJ
Posts: 1,059
It IS working for me - although I only verified for 4 or 5 songs. If you edit the file GetLyrics.py, on about line 119, there is an assignment "verbose=False". Change that to "verbose=True" restart everything, and try to retrieve lyrics. Check and see if the log gives you any important information. You might post it here or send it to me with PM
__________________
2 Series 3
1 HDTivo
1 Series 1 (Lifetime)
1 Win7 HTPC with Ceton Quad Tuner


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jbernardis is offline   Reply With Quote
Old 06-25-2013, 06:54 PM   #150
jbernardis
Registered User
 
Join Date: Oct 2003
Location: Princeton NJ
Posts: 1,059
Actually I should apologize to CassiusDrow for not paying attention to this sooner, but apparently azlyrics.com changed the format of their search HTML so my screen scraping logic broke down. I "fixed" it and it seems to be retrieving lyrics again, but whenever something is reverse-engineered like this, there is always the real possibility that something was missed.

Try it out - git has been updated. If you are having trouble retrieving lyrics, it would help me to know the exact artist and song title you are looking for. And remember - I never represented that this would work 100% of the time. There are going to be songs, especially those with strange characters and/or punctuation, that my logic will fail on.
__________________
2 Series 3
1 HDTivo
1 Series 1 (Lifetime)
1 Win7 HTPC with Ceton Quad Tuner


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
jbernardis is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 02:56 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |