Notices


Reply
Thread Tools
silvermountain's Avatar
Posts: 1,359 | Thanked: 717 times | Joined on May 2009 @ ...standing right behind you...
#181
How do I get the program to associate an image with the audio book?
I got a jpg in the same folder as the audio book but am still getting 'no image'.

(Note: I'm not using '~/MyDocs/Audiobooks" but rather have the files on my internal memory card in a diff library. Is that the issue?).
__________________
.N810 experience: Since 6/2009
My Twenty Favorite OS2008 Applications:
AutoScan, Diablo5 Theme, Dialcentral, DragLock, EmelFM2, FlipClock, gPodder, Headphoned, Knots 2, Maemo Mapper, mPlayer, openNTPD, OpenSSH, Panucci, Personal Launcher, QuickNote, Seqretary, SlideLock, Telescope, YellowNotes

Last edited by silvermountain; 2010-09-05 at 01:02.
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#182
Originally Posted by silvermountain View Post
How do I get the program to associate an image with the audio book?
I got a jpg in the same folder as the audio book but am still getting 'no image'.

(Note: I'm not using '~/MyDocs/Audiobooks" but rather have the files on my internal memory card in a diff library. Is that the issue?).
Cover images are not set for play lists or individual files but for when you have a directory for an audio book. It has to have one of the following extensions: ["png", "gif", "jpg", "jpeg"]

Other then that it should work. I just validated it real quick on my system with a custom audio book path.

If you want to play with what is going wrong, inside if /opt/Nqa-Audiobook-player/Audiobook.py is a function _scan_dir. That function grabs the audio files and the cover image. Printing out some of what is going on could help.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 

The Following User Says Thank You to epage For This Useful Post:
silvermountain's Avatar
Posts: 1,359 | Thanked: 717 times | Joined on May 2009 @ ...standing right behind you...
#183
Originally Posted by epage View Post
Cover images are not set for play lists or individual files but for when you have a directory for an audio book. It has to have one of the following extensions: ["png", "gif", "jpg", "jpeg"]

Other then that it should work. I just validated it real quick on my system with a custom audio book path.

If you want to play with what is going wrong, inside if /opt/Nqa-Audiobook-player/Audiobook.py is a function _scan_dir. That function grabs the audio files and the cover image. Printing out some of what is going on could help.
Yeah it's odd I've never gotten an image to show in nQa.

I created a folder /media/mmc2/stuff/books/hunger/
where I have three files;
- hungergamesupart1.mp3,
- hungergamesupart2, mp3, and
- hungergames.jpg

The audio plays well - but no image is shows.
I get the 'No Cover' image.

I'll play with it some more.

(Edit: I put a .png file in the directory as well but no joy).

I also can't really see anything helpful in the log file:

INFO:SimpleOSSOPlayer:State: stopped
INFO:SimpleOSSOPlayer:State: stopped
INFO:__main__:nQa Audiobook Player 0.7.2-1-0
INFO:__main__:OS: Linux
INFO:__main__:Kernel: 2.6.21-omap1 (#2 Sun Aug 15 18:47:57 BST 2010) for armv6l
INFO:__main__:Hostname: Nokia-N810-43-7
INFO:Gui:Starting GUI
INFO:FileStorage:init filestorage
INFO:Player:Loading books /media/mmc2/stuff/Books
DEBUG:Gui:new books
INFO:Player:continuing book: TheHungerGamesUPart1
ERROR:Player:Audiobook was not found
Traceback (most recent call last):
File "/opt/Nqa-Audiobook-player/Player.py", line 54, in load_books_path
bookPath = self._bookPaths[lastBookName]
KeyError: 'TheHungerGamesUPart1'
ERROR:Gui:Handling as if user cancelled
Traceback (most recent call last):
File "/opt/Nqa-Audiobook-player/Gui.py", line 314, in _on_select_sleep
self._sleepSelectionIndex if 0 <= self._sleepSelectionIndex else 0,
File "/opt/Nqa-Audiobook-player/hildonize.py", line 545, in _null_touch_selector
raise RuntimeError("User cancelled request")
RuntimeError: User cancelled request
INFO:Player:Loading books /media/mmc2/stuff/Books/Hunger
DEBUG:Gui:new books
INFO:Player:continuing book: TheHungerGamesUPart1
DEBUG:FileStorage:getting time from: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:Gui:setting chapters
INFO:Player:set chapter:/media/mmc2/stuff/Books/Hunger/TheHungerGamesUPart1.mp3 : Continuing: True
INFO:SimpleOSSOPlayer:set file: /media/mmc2/stuff/Books/Hunger/TheHungerGamesUPart1.mp3
INFO:SimpleOSSOPlayer:Started playing
DEBUG:FileStorage:getting time from: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:SimpleOSSOPlayer:Seeking to: 30850
DEBUG:SimpleOSSOPlayer:Seeking to: 0
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:SimpleOSSOPlayer:Seeking to: 0
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:SimpleOSSOPlayer:Seeking to: 0
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:SimpleOSSOPlayer:Seeking to: 0
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:SimpleOSSOPlayer:Seeking to: 0
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:SimpleOSSOPlayer:Seeking to: 0
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:SimpleOSSOPlayer:Seeking to: 0
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
INFO:SimpleOSSOPlayer:Stopped playing
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
INFO:SimpleOSSOPlayer:State: stopped
INFO:SimpleOSSOPlayer:Started playing
DEBUG:FileStorage:getting time from: /home/user/.nqaap/books/TheHungerGamesUPart1
INFO:SimpleOSSOPlayer:State: playing
INFO:Gui:Shutting down
INFO:SimpleOSSOPlayer:Stopped playing
DEBUG:FileStorage:writing time (0, 206654) to: /home/user/.nqaap/books/TheHungerGamesUPart1
INFO:__main__:nQa Audiobook Player 0.7.2-1-0
INFO:__main__:OS: Linux
INFO:__main__:Kernel: 2.6.21-omap1 (#2 Sun Aug 15 18:47:57 BST 2010) for armv6l
INFO:__main__:Hostname: Nokia-N810-43-7
INFO:Gui:Starting GUI
INFO:FileStorage:init filestorage
INFO:Player:Loading books /media/mmc2/stuff/Books/Hunger
DEBUG:Gui:new books
INFO:Player:continuing book: TheHungerGamesUPart1
DEBUG:FileStorage:getting time from: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:Gui:setting chapters
INFO:Player:set chapter:/media/mmc2/stuff/Books/Hunger/TheHungerGamesUPart1.mp3 : Continuing: True
INFO:SimpleOSSOPlayer:set file: /media/mmc2/stuff/Books/Hunger/TheHungerGamesUPart1.mp3
INFO:SimpleOSSOPlayer:State: stopped
ERROR:Gui:_on_select_audiobook
Traceback (most recent call last):
File "/opt/Nqa-Audiobook-player/gtk_toolbox.py", line 294, in wrapper
return func(*args, **kwds)
File "/opt/Nqa-Audiobook-player/Gui.py", line 284, in _on_select_audiobook
self._bookSelectionIndex if 0 <= self._bookSelectionIndex else 0,
File "/opt/Nqa-Audiobook-player/hildonize.py", line 545, in _null_touch_selector
raise RuntimeError("User cancelled request")
RuntimeError: User cancelled request
INFO:SimpleOSSOPlayer:Started playing
DEBUG:FileStorage:getting time from: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:SimpleOSSOPlayer:Seeking to: 206654
INFO:SimpleOSSOPlayer:State: playing
INFO:SimpleOSSOPlayer:Stopped playing
DEBUG:FileStorage:writing time (0, 208221) to: /home/user/.nqaap/books/TheHungerGamesUPart1
INFO:SimpleOSSOPlayer:State: stopped
INFO:Gui:Shutting down
INFO:SimpleOSSOPlayer:Stopped playing
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
INFO:__main__:nQa Audiobook Player 0.7.2-1-0
INFO:__main__:OS: Linux
INFO:__main__:Kernel: 2.6.21-omap1 (#2 Sun Aug 15 18:47:57 BST 2010) for armv6l
INFO:__main__:Hostname: Nokia-N810-43-7
INFO:Gui:Starting GUI
INFO:FileStorage:init filestorage
INFO:Player:Loading books /media/mmc2/stuff/Books/Hunger
DEBUG:Gui:new books
INFO:Player:continuing book: TheHungerGamesUPart1
DEBUG:FileStorage:getting time from: /home/user/.nqaap/books/TheHungerGamesUPart1
DEBUG:Gui:setting chapters
INFO:Player:set chapter:/media/mmc2/stuff/Books/Hunger/TheHungerGamesUPart1.mp3 : Continuing: True
INFO:SimpleOSSOPlayer:set file: /media/mmc2/stuff/Books/Hunger/TheHungerGamesUPart1.mp3
INFO:SimpleOSSOPlayer:State: stopped
INFO:SimpleOSSOPlayer:Started playing
DEBUG:FileStorage:getting time from: /home/user/.nqaap/books/TheHungerGamesUPart1
INFO:SimpleOSSOPlayer:State: playing
INFO:Player:Going back a chapter
INFO:SimpleOSSOPlayer:Stopped playing
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
INFO:SimpleOSSOPlayer:State: stopped
INFO:Player:Going back a chapter
INFO:SimpleOSSOPlayer:Stopped playing
DEBUG:FileStorage:writing time (0, 0) to: /home/user/.nqaap/books/TheHungerGamesUPart1
INFO:SimpleOSSOPlayer:State: stopped
__________________
.N810 experience: Since 6/2009
My Twenty Favorite OS2008 Applications:
AutoScan, Diablo5 Theme, Dialcentral, DragLock, EmelFM2, FlipClock, gPodder, Headphoned, Knots 2, Maemo Mapper, mPlayer, openNTPD, OpenSSH, Panucci, Personal Launcher, QuickNote, Seqretary, SlideLock, Telescope, YellowNotes

Last edited by silvermountain; 2010-09-05 at 03:00.
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#184
Hi Ed!

Hey, I just reflashed and installed version 0.8.6-0.

I'm trying to edit the icon for this in personal launcher but I can't since the graphic for this is utterly huge and it won't let me reach the select icon button. *lol*

Any tip on what to do?
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#185
Originally Posted by Addison View Post
Hi Ed!

Hey, I just reflashed and installed version 0.8.6-0.

I'm trying to edit the icon for this in personal launcher but I can't since the graphic for this is utterly huge and it won't let me reach the select icon button. *lol*

Any tip on what to do?
I've not been using that so not too sure. I could look into releasing smaller icons (or maybe I'm already releasing multiple sizes, unsure).
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 

The Following User Says Thank You to epage For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#186
Thanks! And yeah, the icon is something like 512x512. Nice! *lol*

Oh hey, I'm using 0.8.6-0 and it's not working at all for me.

I change the Settings but it's not finding any books. I've tried every known way possible and when I go back again to settings, it just crashes.

Do I have an outdated version or something?
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#187
Originally Posted by Addison View Post
Thanks! And yeah, the icon is something like 512x512. Nice! *lol*

Oh hey, I'm using 0.8.6-0 and it's not working at all for me.

I change the Settings but it's not finding any books. I've tried every known way possible and when I go back again to settings, it just crashes.

Do I have an outdated version or something?
Oops, I wonder when that happened. There still seem to be some server issues so I have to wait a bit before uploading.

EDIT: the package should also be including a 26x26 and 48x48 versions, unsure why you only get the 512x512 version.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog

Last edited by epage; 2010-12-28 at 00:55.
 

The Following User Says Thank You to epage For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#188
Yeup. I was just kidding about the 512x512 icon though, unless I was being serious, which I was. Boom. *lol*

Honestly, I don't know what size it is, but it's far too huge to edit anything under personal launcher with it.



And yeah, the version I have isn't allowing me to properly change directories to where my books are.

Thank you Ed!
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#189
Okay, I installed version 0.8.7-0 that was newly updated today.

Thank you, thank you!

It's back to working again!

Ooh, and I checked the size of your icon for this, and yeah, you're actually using a 1,000x1,000 graphic.

Whoa. Intense.

I can change this myself, but again, thank you for the fix Ed!
 
Posts: 17 | Thanked: 6 times | Joined on Jan 2010
#190
Does anybody has my problem: after upgrading recently, nQaap won't startup?
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:49.